AnsweredAssumed Answered

Need help about uboot boot arguments for micro sd card slot change

Question asked by deepakbhagat on Jun 27, 2015
Latest reply on Jul 6, 2015 by Rita Wang

Hi,

     In our custom which is similar to sabresdp imx6 quad core. In our custom board we have used imx6 solo instead of quad and also change the sd card slot from SD3 which is in sabresd to SD1 in our custom board. there is no eMMC card on our custom board. I am using LTIB build system. I would like to know what changes are require in uboot to fetch the kernel properly and in which file I need to set the defualt configuration. I have used make mx6solo_sabresd_config to build the uboot. I was able to run the uboot from SD card from sd1 but not able to load the kernel from sd1 following are the printenv log

 

bootdelay=3

baudrate=115200

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=(0x1300000)

netdev=eth0

ethprime=FEC0

uboot=u-boot.bin

kernel=uImage

nfsroot=/opt/eldk/arm

bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm

bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp root=/dev/mmcblk0p1 rootwait

bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2000; bootm

ethact=FEC0

bootargs_base=console=ttymxc0,115200

bootcmd_msd=run bootargs_msd; mmc dev 2; fatload mmc 2 ${loadaddr} ${kernel}; bootm

bootargs_msd=setenv bootargs ${bootargs_base} root=/dev/mmcblk1p2 rootfstype=ext4 rw rootwait

bootcmd=run bootcmd_msd

stdin=serial

stdout=serial

stderr=serial

bootargs=console=ttymxc0,115200 root=/dev/mmcblk1p2 rootfstype=ext4 rw rootwait

 

please help me where I am going wrong.

 

 

Regards,

Deepak Bhagat

Outcomes