Thanks for the heads up. I'll probably end up attaching JTAG to the board so that I can debug the boot loader. I really don't want to mess with lichee uboot. Mainline uboot is the way to go.
On Tuesday, March 21, 2017 at 7:44:40 PM UTC+1, Icenowy Zheng wrote: > > > > 21.03.2017, 23:07, "Petar Dimitrijevic" <petar.dim...@gmail.com > <javascript:>>: > > Hi, > > > > I've received a V3s development board few days ago. It has an android FW > with Camdroid installed booting from SPI NOR flash. > > Picture of the board as well as the fex file are attached to this > message. > > > > The SDK generates android image which can be programmed to the NOR > flash. > > > > However I'm unable to boot Linux. Currently I'm stuck at making u-boot > work. The SDK ships with 2011.09 Allwinner u-boot. > > > > I'm following > http://linux-sunxi.org/H3_Manual_build_howto#Building_u-boot and > http://linux-sunxi.org/SDK_build_howto. > > When I copy the uboot images to the sdcard I get the following output in > the serial console: > > > >> 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. > > > > I presume that u-boot0 can't find u-boot1 header. I've checked the > source code and UBOOT_START_SECTOR_IN_SDMMC is 32800 which should > correspond to: > >> # write u-boot > >> dd if=u-boot.fex of=/dev/sdX bs=1k seek=16400 > > > > However it doesn't work. > > > > I've also tried booting with Icenowys mainline u-boot branch > https://github.com/Icenowy/u-boot-1/tree/v3s. > > I've modified the LichePieZero DTS file to correspond to the board > pinout. > > However I get no message on the console whatsoever. Tried booting both > from USB and SDcard. > > According to the FEX file, your board uses different debugging UART than > Lichee Pi Zero. > > (Lichee Pi Zero uses UART0 @ PB, but your board uses UART2 @ PB) > > Maybe you should try to alter UART-initialization-related code. > > > > > Digging through the commit messages for v3s mainline u-boot support I've > noticed that SPL is disabled. Maybe that is the problem ? > > > > 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 <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.