boot MX6Q SABRESD

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

boot MX6Q SABRESD

2,043 Views
xiaoqiangyang
Contributor III

Hi everyone,

I am working on MX6Q SABRESD board,and I have copied u-boot,uImage(use dd command) and rootfs to a SD card and started successfully.

Now I've rebuilt the linux kernel and copyed new image to my SD card(dd if=uImage of=/dev/sdb bs=512 seek=2048 conv=fsync),

but after I started linux,I found the kernel is the old(uname -a).Why?

Besides, I can run the Image both from MMC/SD and NFS. How can I boot use tftpboot(kernel on tftp server) and rootfs on MMC/SD?

Thanks in advance!

Xiaoqiang

0 Kudos
Reply
3 Replies

1,764 Views
VladanJovanovic
NXP Employee
NXP Employee

Have you verified you've used updated version of uImage (and that it was really rebuilt?)?

You can boot kernel from tftp and rootfs on MMC/SD. Just configure U-Boot to use TFTP to load kernel (check boot script) and, using bootargs variable in U-Boot make sure root filesystem is mounted from SD card, not from NFS.

0 Kudos
Reply

1,764 Views
leiwang111
Contributor I

Hi Valadan,

As you mentioned in your post, what need to be done to boot kernel from tftp and using the rootfs on MMC/SD.

It seems that all the instructions are pointing to using tftp for the uImage and NFS for the Android filesystem. I am working on developing driver for the Kernel. It is less efficient to load the rootfs from the NFS. I only need to work with the uImage.

FYI, my configuration is:

1. MCIMX6Q-SDB (Sabre SD board)

2. HDMI display

3. Freescale pre-build JB4.3

4. Mouse thru a USB hub to the OTG/Host port.

Thanks,

Lei

0 Kudos
Reply

1,764 Views
xiaoqiangyang
Contributor III

Hi Vladan,

Thanks for your reply,I have found the reason,my bootargs variable have a mistake, I used 'mmc dev 3',so it boot from eMMC but nod SD card. I changed it to 'mmc dev 2' and fixed it.

I did as you said,  useing 'tftp uImage;run bootcmd_mmc' and succeedded.

0 Kudos
Reply