On 17 October 2013 07:49, Fathi Boudra fathi.boudra@linaro.org wrote:
On 17 October 2013 17:37, Arun Thomas arun.thomas@gmail.com wrote:
Thanks a lot, Fathi. And thanks to Andrey who also sent a response.
I was able to check out the repo and create the config. Unfortunately, the uImage build fails with an error about a missing LOADADDR. Which LOADADDR should I use for the Pandaboard? I believe LOADADDR=0x80008000 is what's recommended for the Beagleboard.
see below
Is the KernelDeploy page still accurate? Here's the recipe outlined in the page:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage
zImage instead of uImage
Last time I tried bootz with pandaboard u-boot from Linaro hwpacks, it did not understand this command so zImage did not work for it I had to pull u-boot source tree and enable bootz configs (CONFIG_CMD_BOOTZ), only after that I was able to use zImage with Pandaboard.
For Pandaboard uImage personally I use LOADADDR=0x80008000
make LOADADDR=0x80008000 uImage
Thanks, Victor
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules make ARCH=arm INSTALL_MOD_PATH=/media/rootfs/ modules_install make ARCH=arm INSTALL_FW_PATH=/media/rootfs/lib/firmware/ firmware_install cp arch/arm/boot/uImage /media/boot/ update-initramfs -c -k `uname -r` mkimage -A arm -T ramdisk -C none -n "MY RAMDISK" -d /boot/initrd.img-`uname -r` /mnt/uInitrd
I'll have to change the `uname -r` invocations to the appropriate kernel version.
I'm assuming I'll also have to build the device tree blob?
make dtbs
Thanks again for all your help.
Best, Arun
I built the modules, modules_install, firmware_install targets. Then, I call update-initramfs and mkimage to create the ramdisk? Is there a separate step to build the FDT blob?
Thanks again for the help, Andrey. I really appreciate it. I'd be happy to update the KernelDeploy wiki page based on the info you've provided, so you don't have to keep answering questions.
[1] https://wiki.linaro.org/Resources/HowTo/KernelDeploy
Best, Arun
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev