HELLO! BOOT0 is starting!
get_ifm reg_val=7
===i2c gpio === 22777722
PMU: axp version ok
after set, dcdc2 =1100mv
axp20 set dcdc2 success
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
card boot number = 0
card no is 0
sdcard 0 line count 0
[mmc]: mmc driver ver 2014-8-11 15:06:39
[mmc]: ***Try SD card 0***
[mmc]: SD/MMC Card: 4bit, capacity: 3768MB
[mmc]: vendor: Man 0002544d Snr 21ab4a86
[mmc]: product: SA04G
[mmc]: revision: 1.3
[mmc]: ***SD/MMC 0 init OK!!!***
sdcard 0 init ok
ERROR! NOT find the head of uboot.
Jump to Fel.
# write u-boot
dd if=u-boot.fex of=/dev/sdX bs=1k seek=16400
For my own branch the SPL is enabled.
>
> Does anyone have any idea on how to proceed ? I'd like to get this board up and running with mainline kernel so that I could port some stuff over from lichee.
>
> Any help is appreciated.
>
> Best,
> Petar
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 6bcb9e692c..cc329daf8d 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -261,7 +261,7 @@ extern int soft_i2c_gpio_scl;
#endif
#ifndef CONFIG_CONS_INDEX
-#define CONFIG_CONS_INDEX 1 /* UART0 */
+#define CONFIG_CONS_INDEX 3 /* UART2 */
#endif
U-Boot SPL 2017.01-rc2-01115-g252ef38050-dirty (Mar 22 2017 - 16:58:12)
DRAM: 64 MiB
Trying to boot from MMC1
Trying to boot from MMC1Card did not respond to voltage select!
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
sudo ../sunxi-tools/sunxi-fel -v -p uboot u-boot-sunxi-with-spl.bin write 0x41000000
Stack pointers: sp_irq=0x00002000, sp=0x00005E08
MMU is not enabled by BROM
Generating the new MMU translation table at 0x00008000
=> Executing the SPL... done.
Setting write-combine mapping for DRAM.
Setting cached mapping for BROM.
Writing back the MMU translation table.
Enabling I-cache, MMU and branch prediction... done.
Writing image "U-Boot 2017.01-rc2-01115-g252ef3", 338273 bytes @ 0x42E00000.
Invalid command write
U-Boot SPL 2017.01-rc2-01115-g252ef38050-dirty (Mar 22 2017 - 16:58:12)
DRAM: 64 MiB
Trying to boot from FEL
U-Boot SPL 2017.01-rc2-01115-g252ef38050-dirty (Mar 23 2017 - 17:50:16)
DRAM: 64 MiB
>>spl:board_init_r()
Trying to boot from MMC1
init mmc 0 resource
init mmc 0 clock and io
mmc 0 set mod-clk req 24000000 parent 24000000 n 1 m 1 rate 24000000
malloc_simple: size=x, ptr=x, limit=x: x
set ios: bus_width: 1, clock: 0
set ios: bus_width: 1, clock: 400000
mmc 0 set mod-clk req 400000 parent 24000000 n 4 m 15 rate 400000
mmc 0, cmd 0(0x80008000), arg 0x00000000
mmc resp 0x00000000
mmc 0, cmd 8(0x80000148), arg 0x000001aa
mmc resp 0x000001aa
mmc 0, cmd 55(0x80000177), arg 0x00000000
mmc resp 0x00000120
mmc 0, cmd 41(0x80000069), arg 0x40300000
mmc resp 0x00ff8000
mmc 0, cmd 55(0x80000177), arg 0x00000000
mmc resp 0x00000120
mmc 0, cmd 41(0x80000069), arg 0x40300000
mmc resp 0xc0ff8000
mmc 0, cmd 2(0x800001c2), arg 0x00000000
mmc resp 0xe700f289 0x10102230 0x30303030 0x1b534d30
mmc 0, cmd 3(0x80000143), arg 0x00000000
mmc resp 0x59b40520
mmc 0, cmd 9(0x800001c9), arg 0x59b40000
mmc resp 0x0a400041 0x3bcd7f80 0x5b590000 0x400e0032
mmc 0, cmd 13(0x8000014d), arg 0x59b40000
mmc resp 0x00000700
mmc 0, cmd 7(0x80000147), arg 0x59b40000
mmc resp 0x00000700
mmc 0, cmd 55(0x80000177), arg 0x59b40000
mmc resp 0x00000920
mmc 0, cmd 51(0x80002373), arg 0x00000000
trans data 8 bytes
cacl timeout 78 msec
mmc resp 0x00000920
mmc 0, cmd 6(0x80002346), arg 0x00fffff1
trans data 64 bytes
cacl timeout 78 msec
mmc resp 0x00000900
mmc 0, cmd 6(0x80002346), arg 0x80fffff1
trans data 64 bytes
cacl timeout 78 msec
mmc resp 0x00000900
mmc 0, cmd 55(0x80000177), arg 0x59b40000
mmc resp 0x00000920
mmc 0, cmd 6(0x80000146), arg 0x00000002
mmc resp 0x00000920
set ios: bus_width: 4, clock: 400000
mmc 0 set mod-clk req 400000 parent 24000000 n 4 m 15 rate 400000
mmc 0, cmd 55(0x80000177), arg 0x59b40000
mmc resp 0x00000920
mmc 0, cmd 13(0x8000234d), arg 0x00000000
trans data 64 bytes
cacl timeout 78 msec
mmc resp 0x00000920
set ios: bus_width: 4, clock: 50000000
mmc 0 set mod-clk req 50000000 parent 600000000 n 1 m 12 rate 50000000
mmc_init: 0, time u
spl: mmc boot mode: raw
mmc 0, cmd 16(0x80000150), arg 0x00000200
mmc resp 0x00000900
mmc 0, cmd 17(0x80002351), arg 0x00000020
trans data 512 bytes
cacl timeout 78 msec
mmc resp 0x00000900
hdr read sector x, count=u
mkimage signature not found - ih_magic = 22019204
mmc 0, cmd 16(0x80000150), arg 0x00000200
mmc resp 0x00000900
mmc 0, cmd 18(0x80003352), arg 0x00000020
trans data 786432 bytes
cacl timeout 78 msec
mmc resp 0x00000900
mmc cmd 12 check rsp busy
read 600 sectors to 42e00000
Jumping to U-Boot
SPL malloc() used lx bytes (d KB)
loaded - jumping to U-Boot...image entry point: 0x
--
You received this message because you are subscribed to a topic in the Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linux-sunxi/nX31OnHgHIs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to linux-sunxi+unsubscribe@googlegroups.com.