Yep, the approach and files to change would be the same, all the partitioning is done in one place, that u-boot script.
The /boot partition vfat filesystem is not created correctly by the Yocto packages. The edison-image-edison.hddimg is about 6MB, but the partition is 32MB, with the vfat partition only created the same size as the hddimg rather than the size of the partition. So to fix this (from memory, not near my Edisons)
- uncomment the line in /etc/fstab for partition 7 (/boot)
- mount /boot
- mkdir /tmp/boot
- mv /boot/* /tmp/boot
- umount /boot
- mkfs.vfat /dev/mmcblk0p7
- mount /boot
- cp /tmp/boot/* /boot
You should now have a 32MB /boot partition, plenty big enough for larger kernels
Thanks Dave. That did the trick. I was a bit confused by the previous suggestions, as the uboot edison.env was already specifying a 32MB partition size for /boot, but I was only able to access 5+MB.
My image now fits! on to re-booting and seeing how badly I messed up the kernel :-)
Indeed, I haven't looked that far as I didn't need to Thanks for the information.
Can you make available your Xenomai patched image or sharing your steps to recompile the kernel? Can it be done on the Edison itself?
I am looking into running linuxcnc/machinekit on Edison, which require the Xenomai real time.
Thanks for your help.
Certainly! When I can get it to work.
Currently, the compile is successful, but the kernel hangs without comment. Really hard to debug.