All Boards LTIB Creating Uimage Uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

All Boards LTIB Creating Uimage Uboot

All Boards LTIB Creating Uimage Uboot

U-boot expects uImage format for the kernel image.

In order for LTIB to generate a uImage file:

$ export SYSCFG_KTARG=uImage
$ ./ltib -p kernel

Setup in U-Boot the kernel bootargs:

u-boot> setenv bootargs noinitrd console=ttymxc0,115200 init=/linuxrc root=/dev/nfs nfsroot=10.29.244.27:/tftpboot/rootfs ip=dhcp

Change 10.29.244.27 to your host IP.

The procedure above is needed when default bootloader used by ltib was redboot.
In some ltib releases (before 2010) default bootloader is u-boot. In this case, ltib will create uImage by default

Tags (2)
%3CLINGO-SUB%20id%3D%22lingo-sub-1106529%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAll%20Boards%20LTIB%20Creating%20Uimage%20Uboot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1106529%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EU-boot%20expects%20uImage%20format%20for%20the%20kernel%20image.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20order%20for%20LTIB%20to%20generate%20a%20uImage%20file%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%24%20export%20SYSCFG_KTARG%3DuImage%0A%24%20.%2Fltib%20-p%20kernel%0A%3C%2FPRE%3E%3CP%3ESetup%20in%20U-Boot%20the%20kernel%20bootargs%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Eu-boot%26gt%3B%20setenv%20bootargs%20noinitrd%20console%3Dttymxc0%2C115200%20init%3D%2Flinuxrc%20root%3D%2Fdev%2Fnfs%20nfsroot%3D10.29.244.27%3A%2Ftftpboot%2Frootfs%20ip%3Ddhcp%0A%3C%2FPRE%3E%3CP%3EChange%2010.29.244.27%20to%20your%20host%20IP.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThe%20procedure%20above%20is%20needed%20when%20default%20bootloader%20used%20by%20ltib%20was%20redboot.%3CBR%20%2F%3E%20In%20some%20ltib%20releases%20(before%202010)%20default%20bootloader%20is%20u-boot.%20In%20this%20case%2C%20ltib%20will%20create%20uImage%20by%20default%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎09-10-2020 01:59 AM
Updated by: