Android image and some instructions

Andreas Wallin thesaint at thesaint.mine.nu
Sat Dec 6 22:44:38 CET 2008


Dave Arnold wrote:
>
> Dave Arnold wrote:
>>
>>
>> Andy Green wrote:
> Somebody in the thread at some point said:
> | Latest uImage-android seems to be broken - uboot gives Bad data CRC
> | message with it.
> | Can anybody post some older uImage-android ?
>
> No this is caused by U-Boot's default environment only pulling in 2MB
> from the NAND partition for kernel.  Increase it like this ->
>
> setenv bootcmd setenv bootargs \${bootargs_base} \${mtdparts}\; nand
> read.e 0x32000000 kernel 0x300000\; bootm 0x32000000
> saveenv
>
> -Andy
>>>
_______________________________________________
devel mailing list
devel at lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel
>>>
>>>
>> I changed the u-boot environment as Andy recommended, but now my
>> Freerunner won't boot.  I get a fast flashing red LED.  I don't know what
>> to do now.  I'm thinking about installing Qi instead, but I don't know
>> which binary of Qi to download.  Any suggestions would be greatly
>> appreciated.
>>
>> Dave
>>
>>

> More info--when I set the uboot env like this:



>> setenv bootcmd setenv bootargs \${bootargs_base} \${mtdparts}\; nand
>> read.e 0x32000000 kernel 0x300000 \; bootm 0x32000000
>> saveenv
>>

> I get the fast flashing red LED.

> When I set it like this:


>> setenv bootcmd setenv bootargs \${bootargs_base} \${mtdparts}\; nand
>> read.e 0x32000000 kernel \; bootm 0x32000000
>> saveenv
>>

> I can boot Andoid again.  The only difference is the 0x300000 after kernel
> in the failed environment.  I'm trying to increase the size of the kernel
> area so I can flash Sean's latest kernel image. 

> Dave

It seems like my saveenv does'nt save... when i poweroff the openmoko
after running the commands, it cant boot the kernel, and i can see that
it only can read ha 2mb kernel again..

any hints ?








More information about the devel mailing list