On Thu, Mar 23, 2017 at 2:00 PM, Petar Dimitrijevic
<petar.dimitrije...@gmail.com> wrote:
>
>
> On Tuesday, March 21, 2017 at 4:06:56 PM UTC+1, Petar Dimitrijevic wrote:
>>
>> 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.
>>
>> 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
>
>
> Yes and then it restarts SPL. However I can't yet figure out why it is
> happening.
> u-boot-sunxi-with-spl.bin builds just fine. Can't understand why it fails to
> load.
>
> Clear the head first and then back to debugging I guess :)

If the image does not have the correct header, the ROM restarts the
boot process and trys again to find an image with the correct header.


>
> --
> 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.



-- 
Jon Smirl
jonsm...@gmail.com

-- 
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.

Reply via email to