uboot 2015.04 - boot from sd card

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

uboot 2015.04 - boot from sd card

705 Views
adi1525
Contributor III

Hello, I created on sd card two partition, one EXT4 with root filesytem and secound FAT32 with devicetree and kernel. When I run Your img from ftp-image it's works. But when I try build my own image I got error: 

sh: cannot set terminal process group(-1): Inappropriate ioctl for device

sg: no job control in this shell

sh-4.4#

I try run:

su - -c bash

bash: cannot set terminal process group(1): Inappropriate ioctl for device

bash: no job control in this shell

bash-4.4#

my settings are:

setenv mmcroot /dev/mmcblk1p5 rw 

setenv bootargs console=${console},${baudrate} ${bootargs_linux}  root=${mmcroot} ${bootargs_once} ${extra_bootargs} 

setenv load_kernel_mmc fatload mmc 0:6 ${loadaddr} /image.bin 

setenv load_fdt_mmc fatload mmc 0:6 ${fdt_addr} /image.dtb 

setenv bootcmd 'mmc rescan; run load_kernel_mmc; run load_fdt_mmc; bootz ${loadaddr} - ${fdt_addr}' 

saveenv

I have image.bin and image.dtb on sixth partition

If I must make some change in kernel configuration ??

Regards

Adrian

Labels (1)
Tags (4)
0 Kudos
2 Replies

554 Views
adi1525
Contributor III

Thanks for answer. But I don't think that is problem with creating image on sd card because when I try use nfs it also don't work.

Regards

Adrian

Ok I removed all my build files and try build image without any package, so now it's work. :smileywink:

Regards

Adrian 

0 Kudos

554 Views
igorpadykov
NXP Employee
NXP Employee

Hi Adrian

one can try to follow procedure described in Linux Guide included in

nxp official linux documentation on below link

i.MX Software|NXP 

Use mfg tool from that link for flashing sd image.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos