Page 1 of 1

u-boot.bin for mini2440 128MB NAND

Posted: Fri Oct 30, 2009 4:07 am
by mgrunt
Hi all, have anybody u-boot.bin for 128MB version mini2440? When i use u-boot from FTP or CD, and when i switch on the baord in NAND boot mode. I am getting:
nand_scan(): Cannot allocate oob_buf 0 Mib

Thank you
Michal Grunt

Re: u-boot.bin for mini2440 128MB NAND

Posted: Fri Oct 30, 2009 9:11 am
by nicolas
Have you checked out the vboot: On the FTP /mini20090723/linux/vboot-src-20090721.tgz

Re: u-boot.bin for mini2440 128MB NAND

Posted: Sun Nov 01, 2009 11:22 am
by mgrunt
Thank you, i try this. But is here anybody with 128MB NAND, and who using u-boot?

Re: u-boot.bin for mini2440 128MB NAND

Posted: Sun Nov 01, 2009 11:36 am
by mgalemin
mgrunt wrote:Thank you, i try this. But is here anybody with 128MB NAND, and who using u-boot?
Try to use u-boot.bin from the attachment.

Re: u-boot.bin for mini2440 128MB NAND

Posted: Sun Nov 01, 2009 11:40 am
by mgrunt
Thank you, i try this tomorrow.

Re: u-boot.bin for mini2440 128MB NAND

Posted: Mon Nov 02, 2009 11:01 am
by mgrunt
I try your u-boot with this result:

Code: Select all

Supervivi> load ram 0x31000000 245760 u
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:31000000h,TOTAL:245770]
RECEIVED FILE SIZE:  245770 (240KB/S, 1S)
Downloaded file at 0x31000000, size = 245760 bytes
Supervivi> go 0x31000000
go to 0x31000000
  argument 0 = 0x00000000
  argument 1 = 0x00000000
  argument 2 = 0x00000000
  argument 3 = 0x00000000

(nothing here, just waiting...)
Michal Grunt

Re: u-boot.bin for mini2440 128MB NAND

Posted: Mon Nov 02, 2009 12:27 pm
by mgalemin
Well, what can I say... This U-boot image is 100% good.

Code: Select all

# picocom -b 115200 /dev/ttyUSB0 --send-cmd "sx -vv"
picocom v1.4

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sx -vv
receive_cmd is : rz -vv

Terminal ready
Failed downloading file
Supervivi> param set xmodem_timeout 100000000
Change 'xmodem_timeout' value. 0x05f5e100(100000000) to 0x05f5e100(100000000)
Supervivi> load ram 0x32000000 242332 x
Ready for downloading using xmodem...
Waiting...

*** file: /tftpboot/u-boot.bin
sx -vv /tftpboot/u-boot.bin 
Sending /tftpboot/u-boot.bin, 1893 blocks: Give your local XMODEM receive command now.
Bytes Sent: 242432   BPS:7313                            

Transfer complete

*** exit status: 0
 242432 bytes
Supervivi> go 0x32000000
go to 0x32000000
  argument 0 = 0x00000000
  argument 1 = 0x00000000
  argument 2 = 0x00000000
  argument 3 = 0x00000000

U-Boot 1.3.2-mini2440 (Oct  6 2009 - 12:51:09)

I2C:   ready
DRAM:  64 MB
Flash:  2 MB
NAND:  128 MiB
Found Environment offset in OOB..
USB:   S3C2410 USB Deviced
In:    serial
Out:   serial
Err:   serial
MAC: 08:08:11:18:12:27
Hit any key to stop autoboot:  0 
P.S. Why you use "load ram 0x31000000 245760 u" command? Are you sure that you use my u-boot.bin?

Re: u-boot.bin for mini2440 128MB NAND

Posted: Mon Nov 02, 2009 10:30 pm
by mgrunt
I'm stupid. I have on my HDD many u-boot.bin, and i use wrong version (not your u-boot)... Now it's OK. Thank you verry much.

Michal Grunt

Re: u-boot.bin for mini2440 128MB NAND

Posted: Mon Nov 09, 2009 11:12 pm
by nik100
I try your u-boot, but they don't recognize my NAND memory. My board is mini2440 with 128MB. NAND chip on board is K9F1G08U0B.

U-Boot 1.3.2-mini2440 (Oct 6 2009 - 12:51:09)
I2C: ready
DRAM: 64 MB
Flash: 2 MB
NAND: Bad block table not found for chip 0
Bad block table not found for chip 0
128 MiB
*** Warning - bad CRC or NAND, using default environment