-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run dcurl on armhf based Linux distribution for DE10-Nano Kit #178
Comments
I cross compiled the However, there are something I need to mention:
I have not investigated these weird behaviour yet. |
@tylerw1369, can you comment for the customized image? |
By the way, there is another armhf based Debian GNU/Linux image for de10-nano: https://github.com/ikwzm/FPGA-SoC-Linux/blob/master/doc/install/de10-nano.md |
I followed the instructions of meta-de10-nano to build Angstrom-v2018.06 derived minimal image. Tested on $ ls /tmp/de10-nano-build/deploy/glibc/images/de10-nano
Angstrom-de10-nano-image-minimal-glibc-ipk-v2018.06-de10-nano.rootfs.cpio
Angstrom-de10-nano-image-minimal-glibc-ipk-v2018.06-de10-nano.rootfs.ext3
Angstrom-de10-nano-image-minimal-glibc-ipk-v2018.06-de10-nano.rootfs.manifest
Angstrom-de10-nano-image-minimal-glibc-ipk-v2018.06-de10-nano.rootfs.tar.gz
Angstrom-de10-nano-image-minimal-glibc-ipk-v2018.06-de10-nano.rootfs.tar.xz
Angstrom-de10-nano-image-minimal-glibc-ipk-v2018.06-de10-nano.rootfs.wic
... rootfs compressed with gzip is of size 191MB. |
Ya I believe the difference is logging in as root on lampas image file vs a usr with sudo privileges on mine. I am going to try and make an image with a standard root login and that should take care of having to always sudo. I'll get on it and let you know when finished. |
I'm also going to see if I can get the kernel mod to load automatically at boot as well |
@tylerw1369 I think maybe we should change the file privilege of
I forgot to use |
Once @marktwtn repackages armhf-based Linux image file (into node0 or similar servers for hosting), we can close this issue first and then think about further improvements and FPGA-specific CI plans. |
I have tried three different image files and only the one from @tylerw1369 can work.
I have not tried the method offered by Linux on ARM DE10-Nano Kit. |
I will lower the size of my image file to suite your needs. It will be easy and then you can fit it on your cards. It doesnt need to be that big in the first place as i only am running dcurl on it as a pow node. Im at work today but ill get it done tomorrow when I am off. |
Here is the smaller image file. Its 2.1 gigs. |
Thank @tylerw1369 for this work. Is it based on Ubuntu Minimal? |
It's been a while since I made it but yes if I remember correctly it was based off ubuntu minimal. It pretty much has everything to run a dcurl pow node via node js and your dcurl software and nothing more. I didn't add anything to it to bog it down. I believe it runs 4.14.73 ltsi for the kernel. Also going with armhf really helped me get rid of the errors and problems I had with the image from lampa. It runs 100 percent better. |
@tylerw1369 the partition seems weird. I ran the
I have not figured out how to solve the problem. |
@marktwtn Ok I hope it works for you this time. This image should be perfect to work for an 8gb card. |
@marktwtn Also I got dcurl to install and compile correctly even with the BUILD_REMOTE=1 on my image file. I cloned openssl github and compiled it on my nano then ran dcurl and it finished making with no errors. I havent followed to closely the remote worker part so Im not sure how I would test it to see if it indeed functions correctly. |
Thanks for the testing. I'll keep checking the functionality of the remote worker. I tried the new image and I can not boot correctly.
Did boot loader have something wrong? I burned the image with the command |
Odd I'll check when I get home from work and see if something is wrong with the image |
It still has the same error. |
yes i can boot from it on my sd card. let me try uploading it via google |
Its not your card for some reason the image file wont load please hold |
@marktwtn Ok for some reason i cant get partition 1 to copy correctly. Download this partition and restore this image to partition 1 and it will work. I dont know why it wont work work with the 8gb image file but this should fix it so it boots correctly. |
@tylerw1369 it works now. Thanks~ |
The Thanks for the help of @tylerw1369 again. Once we decide what software to be included in the Linux distribution, I will create another image file for deploying. |
Base on the discussion of #174 (comment),
the old image file from LampaLab/iota_fpga should not be used since it is out-of-date and does not support
armhf
.On
de10-nano
board, the dcurl should be run with the compiler flag-mfloat-abi=hard
to avoid performance impact and hence we need anarmhf
image file.An
armhf
image is offer by @tylerw1369 in this github repository.After the dcurl is successfully running with the new image file, we should merge the pull request #174 and change the image file of the other
de10-nano
boards as well.The text was updated successfully, but these errors were encountered: