i am using the command:
sudo dd if=u-boot-imx6qsabresd_sd.imx of=/dev/mmcblk0 bs=512 seek=2 conv=fsync
Since my sd card is available on /dev/mmcblk0 instead of /dev/sdX, is this a problem?
edit: So i used your command and now I do manage to get the U-boot prompt.
I typed the following commands:
U-Boot > setenv loadaddr 0x12000000
U-Boot > setenv fdt_addr 0x18000000
U-Boot > setenv fdt_high 0xffffffff
U-Boot > setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
U-Boot > setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/
mmcblk0p2 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,
1920x1080M@60,if=RGB24'
U-Boot > setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read $
{loadaddr} 0x800 0x2000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - $
{fdt_addr}'
U-Boot > setenv bootcmd 'run bootcmd_mmc'
U-Boot > saveenv
U-Boot > run bootcmd
But here's what i get:
Hit any key to stop autoboot: 0
mmc1 is current device
mmc - MMC sub system
Usage:
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices
U-Boot >
How do i get to the linux prompt now?
EDIT 2: thanks to another post i figured out i had to change 2 things in the u-boot commands:
root=/dev/mmcblk0p2 -> root=/dev/mmcblk0p1
{loadaddr} 0x800 0x2000 -> {loadaddr} 0x800 0x3000
The kernel is now loading but fails to complete. The board just stops running.
I'm pretty sure i'm having troubles with my SD card partitions but i don't understand why it doesn't work when i follow the documentation steps by steps.
Thanks in advance