[E3-hacking] Trying to load u-boot from NAND.

Jonathan McDowell noodles at earth.li
Tue Apr 25 22:37:32 BST 2006


On Tue, Apr 25, 2006 at 01:49:31PM +0100, Jonathan McDowell wrote:
> On Tue, Apr 25, 2006 at 01:36:52PM +0100, Matt Callow wrote:
> > Jonathan McDowell wrote:
> > >It's rough and ready, but please, someone tell me what blindingly
> > >obvious thing I'm missing that means it doesn't work!
> > Think I've fixed it. I now get:
> ...    
> > Seems to be a problem with data alignment?
>   
> > -	*(volatile u16 *) 0x08000000 = ams_delta_latch2_val;
> > +	*(volatile u8 *) 0x08000000 = ams_delta_latch2_val;
> 
> Given that this appears to be what fixes it, yes, that seems likely.
> However it now works for me too, so thanks for that. Now all I need to
> do is finish the routine to read u-boot from NAND.

Leading to the following output from a freshly powered on E3:

Amstrad Delta - PBL V4.9 Build:1311 Assert Debug ICE
PBL 32MB NAND
0MB.-->MEMv01.00.002,CopyLim=00220000h,CodeEnd=01400000h-->PBL......1MB.......2MB*

!LDR started.
Looking for NAND.
Enabling CE.
Resetting chip.
Reading chip ID (send ReadID).
Reading chip ID (send addr 0).
Reading chip ID (manufacturer).
Reading chip ID (id).
Disabling CE.
Found Tosh NAND.
Loading u-boot................................................................................................................................................................................................................................................................
Starting u-boot.



U-Boot 1.1.4 (Mar 22 2006 - 02:13:39)

U-Boot code: 11F00000 -> 11F148D0  BSS: -> 11F15D60
RAM Configuration:
Bank #0: 10000000 32 MB
Flash:  0 kB
NAND:32 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
E3 # 


J.

-- 
 [           I'm from the government. I'm here to help you.           ]



More information about the e3-hacking mailing list