LTIB Creating Uimage Uboot

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

LTIB Creating Uimage Uboot

LTIB Creating Uimage Uboot

U-boot expects uImage format for the kernel image.

In order to LTIB 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 (3)
%3CLINGO-SUB%20id%3D%22lingo-sub-1123803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELTIB%20Creating%20Uimage%20Uboot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3E%3CP%3EU-boot%20expects%20uImage%20format%20for%20the%20kernel%20image.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20order%20to%20LTIB%20generate%20a%20uImage%20file%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%24%20export%20SYSCFG_KTARG%3DuImage%20%24%20.%2Fltib%20-p%20kernel%20%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%20%3C%2FPRE%3E%3CP%3EChange%2010.29.244.27%20to%20your%20host%20IP.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23eeeeff%3B%20padding-left%3A%2030px%3B%20width%3A%2070%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%3EThe%20procedure%20above%20is%20needed%20when%20default%20bootloader%20used%20by%20ltib%20was%20redboot.%3C%2FP%3E%3CP%3EIn%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%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎09-10-2020 02:59 AM
Updated by: