On Wednesday, March 22, 2017 at 9:21:13 AM UTC+1, Petar Dimitrijevic wrote:
>
> Colleague of mine got it from distributor of electric components from 
> China directly. He was ordering some processors and power supplies and the 
> sent this board as well as A83T development board in the package as well.
> I can ask for company details if they do any good to you.
>
> I'm downloading the SDK you've posted and I will compare it with the one I 
> have. Thanks.
>
> On Tuesday, March 21, 2017 at 7:45:31 PM UTC+1, Benjamin Henrion wrote:
>>
>> On Tue, Mar 21, 2017 at 4:06 PM, Petar Dimitrijevic 
>> <petar.dim...@gmail.com> 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. 
>>
>> Where have you bought it? 
>>
>> > The SDK generates android image which can be programmed to the NOR 
>> flash. 
>>
>> I just made a mirror of V3S SDK here: 
>>
>> http://filez.zoobab.com/allwinner/v3s/ 
>>
>> Good luck, 
>>
>> -- 
>> Benjamin Henrion <bhenrion at ffii.org> 
>> FFII Brussels - +32-484-566109 - +32-2-3500762 
>> "In July 2005, after several failed attempts to legalise software 
>> patents in Europe, the patent establishment changed its strategy. 
>> Instead of explicitly seeking to sanction the patentability of 
>> software, they are now seeking to create a central European patent 
>> court, which would establish and enforce patentability rules in their 
>> favor, without any possibility of correction by competing courts or 
>> democratically elected legislators." 
>>
>
I finally managed to boot mainline u-boot at least initially. More 
precisely I was able to see u-boot output. It was booting previously as 
well. 

Beside changing the DTS file with UART2 additional change in 
include/configs/sunxi-common.h  is required.

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


After this change I get the following console output:

> U-Boot SPL 2017.01-rc2-01115-g252ef38050-dirty (Mar 22 2017 - 16:58:12)
> DRAM: 64 MiB
> Trying to boot from MMC1


I tried setting up primary boot partition. However nothing works so far.
Just to be clear I'm booting from MMC0.

However the card removal is detected:

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


So I guess I'm missing something. My head is not really clear atm.

 I'v also tried booting from USB for easier development.

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

 
However as it is seen on the output above it fails. Console output says:

U-Boot SPL 2017.01-rc2-01115-g252ef38050-dirty (Mar 22 2017 - 16:58:12)
> DRAM: 64 MiB
> Trying to boot from FEL

 
And its stuck.

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