More Mini2440 questions...

Zoltán Kócsi zoltan at bendor.com.au
Mon Apr 4 08:13:21 EDT 2011


On Mon, 4 Apr 2011 13:13:31 +0200
Juergen Beisert <jbe at pengutronix.de> wrote:

> Hi Zoltán,
> 
> Zoltán Kócsi wrote:
> > Thanks for all the answers for my previous questions!
> >
> > The 'next' branch indeed boots from the NAND FLASH like a charm.
> 
> \o/
> 
> Just for my list of tested min2440 variants: What type of SDRAMs and
> NAND is your system using? 

The SDRAM is Micron 48LC16M16A2-75, the NAND is Samsung K9F1G08U0B.

Actually, taking a look at the RAM datasheet of the reveals that with a
3 clock RAS->CAS latency the chip can can merrily work with a 133MHz
bus clock, so the S3C's FCLK could be boosted up to 532MHz. A
30% speed increase is not something to sneeze on...

>[...]
>
> "/env/config" for parameterization. Maybe these file will help you to
> understand how it works.

I'll try my bestto grok them :-)

> So, the changes in your environment are lost after reboot? 

Yes.

> Do you see any kind of error message (like CRC sum errors)? when
> barebox comes up after reset and tries to load the saved environment?

No. Here's what goes on, with unimportant stuff deleted:

mini2440:/ printenv
locals:
machine=mini2440
[...]
nfsroot=:/path/to/nfs/root
[...]
globals:
PATH=/env/bin

mini2440:/ nfsroot=/some/other/root
mini2440:/ PATH=$PATH:/some/location
mini2440:/ printenv
locals:
[...]
nfsroot=/some/other/root
[...]
globals:
PATH=/env/bin:/some/location

mini2440:/ saveenv
saving environment

mini2440:/ reset


barebox 2011.03.0-00081-g6402171 (Apr  3 2011 - 11:12:11)

Board: Mini 2440
registered netconsole as cs1
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB
3,3V 8-bit) 
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
dm9000 i/o: 0x20000300, id: 0x90000a46 
eth at eth0: got MAC address from EEPROM: 00:00:00:00:00:00
refclk:    12000 kHz
mpll:     405000 kHz
upll:      48000 kHz
fclk:     405000 kHz
hclk:     101250 kHz
pclk:      50625 kHz
SDRAM1:   CL2 at 101MHz
Malloc space: 0x33a00000 -> 0x33e00000 (size  4 MB)
Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB)
running /env/bin/init...

Hit any key to stop autoboot:  3

type update_kernel [<imagename>] to update kernel into flash
type update_root [<imagename>] to update rootfs into flash

mini2440:/ printenv
locals:
[...]
nfsroot=:/path/to/nfs/root
[...]
globals:
PATH=/env/bin
mini2440:/ 

No error message, nothing. 

Zoltan



More information about the barebox mailing list