-
Notifications
You must be signed in to change notification settings - Fork 44
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
Update kernel to 4.1.x #8
Comments
/cc @aolofsson |
Lucas, Nice project! Yes, that should be possible. There should be a headless kernel that works with mainline and even has a basic device tree for parallella up-streamed. http://comments.gmane.org/gmane.linux.ports.arm.kernel/392855 @olajep can comment further |
Lucas, The kernelci.org project tests the parallella with all the upstream kernels, and basic functionality is working fine in mainline and other development trees upstream. |
Whaaat? How come i didnt know about this?:-) Very cool!
|
Thanks for the information! Doesn't the generic |
You'll need the following binaries: http://storage.kernelci.org/stable/v4.2.3/arm-multi_v7_defconfig/zImage First I wrap the zImage with a u-boot header using the following command: mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -d zImage uImage Then in u-boot I load the bitstream from the mmc card (whatever came with the image when I installed it to the mmc) fatload mmc 0 0x4000000 parallella.bin Now load the kernel, dtb, set the boot args and boot. setenv bootargs 'console=ttyPS0,115200 root=/dev/sdaX ip=dhcp' |
Ok, in which file I should put this content?
And should /boot and / (rootfs) have different partitions for this to work? |
I tried to boot kernel 4.4.3 on Parallella following your instructions and have some questions: I used (1) (2) During OS boot I receive the following messages:
After pressing Skip:
Even though it seems that DHCP is not working - eventually I do have IP address received from DHCP. The boot completes successfully with bash prompt in UART. I documented my steps here Thanks! |
Hi @cloud-rocket, To answer (1), you unpack the modules.tar.xz to / on the target's rootfs. If you look into the tarball you'll see it has a structure of /lib/modules/kernelversion, so it won't effect modules for other kernels you may use. I typically deploy all the modules in the tarball. As far as (2) goes, you can try to add When you specify Hope that helps, and thanks for writing up those steps! Cheers, Tyler |
@EmbeddedAndroid - Thanks for a kind help! (2) (1)
Original rootfs does not contain any loadable modules, so I am not sure why do I need it..... Which modules do you think are important? Except Epiphany co-processor, everything else is more or less standard and I didn't noticed anything related to Epiphany there.... Am I right? Thanks again! |
BTW |
@cloud-rocket It would be a relief if a the |
Read "Automatic boot" section BTW - I'd be changing the title to 4.4.3 (SOLVED) :) |
What about |
It's FPGA bit file (mine has a name parallella.bit.bin) - I don't see any reason to touch it (yet, I didn't checked Epiphany functionality)... |
Hello everyone!
Is it possible to upgrade to v4.1.x linux kernel?
So one could use it with docker and overlay?
I'm probably going to use Arch Linux ARM, but the first step is the kernel compilation
See my project
The text was updated successfully, but these errors were encountered: