[Skyeye-developer] u-boot linux from nand

Ray Chen chenrano2002 at 163.com
Sat Apr 12 10:01:22 CST 2008


Hi, all

I'm study how to boot linux image from nand based on s3c2410 and skyeye.
I have following steps of the reference article
http://tel.linuxfans.org/bbs/thread-182694-2-1.html

uImage is from "make uImage" in the linux-2.6.14 source code. I get
errors "SKYEYE:NumInstrs 299452156, mem_write_byte addr = c0010406 no
bank". Can anyone
tell me what to do next?? Thanks in advance!

Ray

---------------------------------------------------------------------------------------------------
The following is the output:
[root at localhost u-boot-1.2.0]# cat skyeye.conf 
# skyeye config file for S3C2410X

cpu: arm920t
mach: s3c2410x

# physical memory
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00800000,
file=./u-boot.bin ,boot=yes

mem_bank: map=M, type=RW, addr=0x30000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x30800000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x31000000, size=0x03000000
#mem_bank: map=M, type=RW, addr=0xc0800000,
size=0x00800000,file=./initrd.img


# all peripherals I/O mapping area
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020

net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f,
ethmod=tuntap, hostip=10.0.0.1
nandflash: type=s3c2410x,name=K9F1208U0B,dump=./nand.dump
#lcd:type=s3c2410x, mod=gtk
#dbct:state=on

[root at localhost u-boot-1.2.0]# skyeye 

**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************

big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2 
mach info: name s3c2410x, mach_init addr 0x806b340
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
nandflash: dump ./nand.dump
file size:69206016
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./u-boot.bin
ERROR: s3c2410x_io_write_word(0x4c000000) = 0x00ffffff
ERROR: s3c2410x_io_write_word(0x4c000008) = 0x00048032


U-Boot 1.2.0 (Apr 11 2008 - 20:08:52)

DRAM:  64 MB
Flash:  1 MB
NAND:    64 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SMDK2410 # tftp 0x33000000 uImage
TFTP from server 10.0.0.1; our IP address is 10.0.0.110
Filename 'uImage'.
Load address: 0x33000000
Loading: checksum bad
checksum bad
#################################################################

#################################################################

#################################################################
         #######
done
Bytes transferred = 1031372 (fbccc hex)
SMDK2410 # nand erase 30000 104000

NAND erase: device 0 offset 196608, size 1064960 ...
OK
SMDK2410 # nand write 33000000 30000 fbccc

NAND write: device 0 offset 196608, size 1031372 ...
 1031372 bytes written: OK
SMDK2410 # nand read 33000000 30000 fbccc

NAND read: device 0 offset 196608, size 1031372 ...
 1031372 bytes read: OK
SMDK2410 # bootm
## Booting image at 33000000 ...
   Image Name:   Linux-2.6.14
   Created:      2008-04-11  16:06:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1031308 Bytes = 1007.1 kB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing
Linux..................................................................... done, booting the kernel.
SKYEYE:NumInstrs 299452156, mem_write_byte addr = c0010406 no bank





More information about the Skyeye-developer mailing list