
On Tue, 2020-06-16 at 22:12 +0100, David Woodhouse wrote:
On Tue, 2020-06-16 at 21:38 +0200, Michael Nazzareno Trimarchi wrote:
Have you already tried to dump the pinmux using the cmd? in both situation?
U-Boot> pinmux status -a
pinctrl@10005000: Ops get_pin_muxing error (-38) Can't display pin muxing for pinctrl@10005000 exit not allowed from main input shell.
I found a datasheet...
Booted from SD, not working...
U-Boot> md 0x10005cc0 c 10005cc0: 00000111 00000111 00000111 00000111 ................ 10005cd0: 00000111 00000111 00000111 00000111 ................ 10005ce0: 00000011 00000011 00000011 00000011 ................
Booted from eMMC, working...
U-Boot> md 0x10005cc0 c 10005cc0: 00000910 00000910 00000910 00000910 ................ 10005cd0: 00000c10 00000c10 00000c10 00000c10 ................ 10005ce0: 00000010 00000010 00000010 00000010 ................
Now when I start U-Boot from the SD card I can make it work...
U-Boot> mmc list mmc@11230000: 0 mmc@11240000: 1 (SD) U-Boot> mmc dev 0 U-Boot> mw 0x10005cc0 0x910 U-Boot> mw 0x10005cd0 0xc10 U-Boot> mw 0x10005ce0 0x10 U-Boot> mmc dev 0 switch to partitions #0, OK mmc0(part 0) is current device U-Boot> mmc list mmc@11230000: 0 (eMMC) mmc@11240000: 1 (SD) U-Boot>
So... whose bug is that? :)