Can imx6 boot from microSD? I mean from demo images from freescale site.
I tried this
sudo dd if=u-boot-mx6q-sabreauto.bin of=/dev/sdb1 bs=512 seek=2 skip=2 conv=fsync
to micro SD.
But no any on console after swith on board
U-Boot needs to be copied to the beginning of the SD card (i.e. /dev/sdb) and not to the beginning of a partition (i.e. /dev/sdb1).
Please try it again, by omitting the "1".
Rod is right.
MicroSD and the SD are the exact same thing (with exception of the card size) so you can boot from micro SD without problems. Please try Rod's solution and let us know how it went.
I tried it, but result is same. Not boot
OK. Maybe you are trying to remove the padding of a U-Boot file that has no padding.
Could you please share the results of:
We need the first 64 bytes starting at address 0x0000_0000:
- should be mostly zeros except for 32 bits
And also the first 64 bytes starting at address 0x0000_0400:
- should start with 00D1 4020
If the 00D1 4020 actually shows up in the first section (0x0000_0000) then you have a no-padded U-boot, and you have to omit the skip=2
Yes, custom board. Before I tried boot Android images from this micro sd. All were ok
I tried non-padding without "skip=2". Same result
the next naive question is: are you setting the correct switches?
Are you trying to boot mx6qsabreauto or a custom board?
now switches same as for android, I`m only write Linux images to the micro SD
Thank you for posting the hexdump.
The file is clearly a padded U-Boot, so your first command (seek=2 skip=2) is correct, as long as it is done on the SD card (/dev/sdb) and not on the partition (/dev/sdb1).
Please note that there are parts of U-Boot that are Hardware-specific. If you have a custom board, you will need to customize those sections, and recompile U-Boot.
The Freescale image will not work on your board, unless your HW is pretty much identical.
It sounds like you got lucky on the previous version(s) of U-Boot that you tried, and unlucky on u-boot-mx6q-sabreauto.bin.
I found, my custom board have 4bit micro SD, not 8bit as MX6Q_sabreauto.
I made board port from MX6Q_sabreauto, change to 4bit sd, change debug uart pins. But board still not boot. I can not view anything over debug UART.
So, can MX6Q u-boot work on MX6D CPU? I have MX6D CPU on my board
Maybe, I need make port from sabrelite config, it has 4bit SD and same debug uart ports. But I tried u-boot-MX6Q-, u-boot-MX6DL-, u-boot-MX6Solo- images from freescale site. Nothing not booted on my custom board
You mentioned here above that you managed to boot Android from the uSD.
Could you please tell us which image you used?
Did it have a separate U-Boot + Kernel, or a combined boot.img?
Somehow, the U-Boot from that Android image worked for you.
Hi!why I can't get the u-Boot-mx6q-sabreauto.bin ,how did you get it?Hope to your repsponse.
Retrieving data ...