도와주세요!!
안녕하세요...
간만에 시간이나서.. EZ-X5 커널을 2.6으로 갈아타볼라고 했는데요.
일단 부트로더를 컴파일 시켜서 올리긴 했는데..
그뒤로. 플래쉬가 안잡히는 것 같은 메시지가 나와서. 어찌할바를 모르고 있는 1인 입니다
제 작업과정을 캡쳐한건데요.. 한번 봐주세요... 뭐가 잘 못된 건가요...벌써 2대나 날려먹었네요. ㅡ.ㅜ
WELCOME EZBOOT.X5 1.7.3-1 (LG-ACP).........for PXA255
Program by You Young-chang, fooji (FALinux Co.,Ltd)
Last Modify Aug 27 2007
Boot Flash Check ......................
Detect ES29LV400 (BOTTOM)Flash : 22BA
SIZE 4M-BIT [512Kbyte]
NAND Chip Check .......................
Detect SAMSUNG [ec:76] 64MByte
BAD BLOCK SCAN -> Kernel, Ramdisk Bad Block [0]
CS8900 Init............................
Mac Address : [00 E0 91 0F 54 C4]
Detect value : [3000:3000]
Chip ID : [0E63:000A]
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar].
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 303]...
Uncompressing Linux................................................... done, boo
ting the kernel.
Linux version 2.4.19-rmk7-pxa1-v05 (haejin@veritas) (gcc version 3.2.1) #445 200
7. 08. 27. (월) 20:50:03 KST
CPU: XScale-PXA255 revision 6
Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board
Ignoring unrecognised tag 0x00000000
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: y initrd=0xa0800000,31M root=/dev/ram ramdisk=49152 consol
e=ttyS02,115200 ip0=192.168.10.155 nandparts=1,31,32
Calibrating delay loop... 397.31 BogoMIPS
Memory: 64MB 64MB = 128MB total
Memory: 96200KB available (1354K code, 272K data, 48K init)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Using PXA255 frequency points.
Registering CPU frequency change support.
CPU clock: 398.131 MHz (99.000-400.000 MHz)
Starting kswapd
Journalled Block Device driver loaded
I2C: PXA algorithm module loaded.
I2C: Adding PXA-I2C-Adapter.
i2c-dev.o: Registered 'PXA-I2C-Adapter' as minor 0
I2C: Scanning bus (68)
I2C: Successfully added bus
pty: 256 Unix98 ptys configured
Test kernel device driver [onevalue = 1]
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x0000 (irq = 15) is a PXA UART
ttyS01 at 0x0000 (irq = 14) is a PXA UART
ttyS02 at 0x0000 (irq = 13) is a PXA UART
ttyS03 at 0xf2003800 (irq = 37) is a 16550A
ttyS04 at 0xf2003000 (irq = 36) is a 16550A
ttyS05 at 0xf2002800 (irq = 35) is a 16550A
ttyS06 at 0xf2002000 (irq = 34) is a 16550A
ttyS07 at 0xf2001800 (irq = 33) is a 16550A
ttyS08 at 0xf2001000 (irq = 32) is a 16550A
ACP: Register Device LG-ACP Ver 1.1 OK (major=222)
SA1100/PXA Watchdog Timer: timer margin 60 sec
I2C: DS1307 RTC driver successfully loaded
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
eth0: cs8900 rev K Base 0xF2000300<6>, IRQ 44, MAC 00:E0:91:0F:54:C4
eth1: cs8900 rev K Base 0xF2000B00<6>, IRQ 45, MAC 00:E0:91:0F:54:C5
RAMDISK driver initialized: 16 RAM disks of 49152K size 1024 blocksize
loop: loaded (max 8 devices)
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)
Creating 3 MTD partitions on "NAND 64MB 3,3V":
0x00000000-0x00100000 : "EZ-X5 Kernel partition"
0x00100000-0x02000000 : "EZ-X5 Ramdisk partition"
0x02000000-0x04000000 : "EZ-X5 Data partition 0"
No NAND device found!!!
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 31744K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 48K
INIT: version 2.84 booting
INIT: Entering runlevel: 3
yaffs: dev is 7938 name is "1f:02"
Using /root/access_nand.o
register device access nand v3.0(0) OK
download.html exists
fork CommProc..
dev_name[0] = /dev/ttyS03
dev_name[1] = /dev/ttyS04
dev_name[2] = /dev/ttyS05
dev_name[3] = /dev/ttyS06
OpenRS485Map() : started...
OpenRS485Map(0) : open file rs485map0.db
OpenRS485Map(1) : open file rs485map1.db
OpenRS485Map(2) : open file rs485map2.db
OpenRS485Map(3) : open file rs485map3.db
17 hour, 27 min, 50 sec
cal_sec (62870), T_24HOUR_TO_SEC(86400), sleep_sec(23530)
Sun Jan 9 17:27:50 2000
schedule(1) : no sch info
mkdir: Cannot create directory `/mnt/flash/ahu/log': File exists
PwrDist() : started..
control_dio : no grp_info.db
schedule(1) : no sch info
PwrDist() : started..
WELCOME EZBOOT.X5 1.7.3-1 (LG-ACP).........for PXA255
Program by You Young-chang, fooji (FALinux Co.,Ltd)
Last Modify Aug 27 2007
Boot Flash Check ......................
Detect ES29LV400 (BOTTOM)Flash : 22BA
SIZE 4M-BIT [512Kbyte]
NAND Chip Check .......................
Detect SAMSUNG [ec:76] 64MByte
BAD BLOCK SCAN -> Kernel, Ramdisk Bad Block [0]
CS8900 Init............................
Mac Address : [00 E0 91 0F 54 C4]
Detect value : [3000:3000]
Chip ID : [0E63:000A]
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]
EZBOOT>set
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.10.155]
3. HOST IP [192.168.10.20]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.x5.lg-acp]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>2
2. LOCAL IP [192.168.10.155]
Newvalue : 192.168.1.134
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.1.134]
3. HOST IP [192.168.10.20]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.x5.lg-acp]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>3
3. HOST IP [192.168.10.20]
Newvalue : 192.168.1.137
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.1.134]
3. HOST IP [192.168.1.137]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.x5.lg-acp]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>7
7. boot loader file name [ezboot.x5.lg-acp]
Newvalue : ezboot.ez-pax255
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.1.134]
3. HOST IP [192.168.1.137]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.ez-pax255]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>s
Erase : OK
Write : OK size=560
...Saved
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.1.134]
3. HOST IP [192.168.1.137]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.ez-pax255]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>0
EZBOOT>tfb
Receive ezboot.ez-pax255
Send ARP Packet
ARP PACKET Error
ARP PACKET Error
ARP PACKET Resive
HOST MAC : [ 00 1D 09 2C 60 9B ]
HOST IP : [192.168.1.137]
LOCAL IP : [192.168.1.134]
Resive Address : A390-0000
TFTP Request Send
Miss RX
TFTP Error : [ 256 ] Cannot open file "d:\Os Util\바탕 화면\ACP_AUTO_UPGRADE\ezb
oot.ez-pax255". 지정된 파일을 찾을 수 없습니다
FAILURE BREAK
Time Overflow
EZBOOT>set
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.1.134]
3. HOST IP [192.168.1.137]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.ez-pax255]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>7
7. boot loader file name [ezboot.ez-pax255]
Newvalue : ezboot.ez-pxa255
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.1.134]
3. HOST IP [192.168.1.137]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.ez-pxa255]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>S
Erase : OK
Write : OK size=560
...Saved
^^;
1. MAC Address [00:e0:91:0f:54:c4]
2. LOCAL IP [192.168.1.134]
3. HOST IP [192.168.1.137]
4. Host tftp directory []
5. zImage file name [zimage.v05]
6. ram disk file name [ramdisk-3.21.1b-48mb-acp.gz]
7. boot loader file name [ezboot.ez-pxa255]
A. Autoboot wait time [1]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:31:32] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,31M root=/dev/ram ramdisk=49152]
M. Kernel CMD 2nd [console=ttyS02,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>0
EZBOOT>tfb
Receive ezboot.ez-pxa255
Send ARP Packet
ARP PACKET Error
ARP PACKET Error
ARP PACKET Resive
HOST MAC : [ 00 1D 09 2C 60 9B ]
HOST IP : [192.168.1.137]
LOCAL IP : [192.168.1.134]
Resive Address : A390-0000
TFTP Request Send
ALL DATA RESIVE OK [ 69646 bytes ]
Erase : OK
Write : OK size=69646
EZBOOT>
EZBOOT>
EZBOOT>
EZBOOT>rst
System Soft Reset.......
EZBOOT>
WELCOME EZBOOT V2.3.04 (FALINUX Co.,Ltd) ......PXA255(EZ-PXA255) (398MHz)
Program by You Young-chang, Oh Jae-Kyong, Jang Hyung-Gi
Last Modify May 6 2009
Detect ES29LV400_B Flash : vid=4A pid=22BA
SIZE 4-Mbits [512-Kbytes]
Detect Unknown Unknown Flash : vid=00 pid=00
SIZE 0-Mbytes (page=1024, block=64K)
many bad block. give up!!
diff magic [flash:20090212]
LCD setup 640x480
... not supported part_nr=2
clear lcd .....
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]......
Copy Kernel Image .....
many bad block. give up!!
Copy Ramdisk Image .....
many bad block. give up!!
Starting kernel [MARCH 3002]...
kernel command [EZBOOT mem=64M initrd=0xA0800000,5M root=/dev/ram ramdisk=16384
console=ttyPXA2,115200 video=ezfb:panel:2 ip0=192.168.10.182 mac=00:FA:07:78:6
5:05 netmask=255.255.255.0 gw=192.168.10.1 host=192.168.10.27 nandparts=1,8,55 ]
WELCOME EZBOOT V2.3.04 (FALINUX Co.,Ltd) ......PXA255(EZ-PXA255) (398MHz)
Program by You Young-chang, Oh Jae-Kyong, Jang Hyung-Gi
Last Modify May 6 2009
Detect ES29LV400_B Flash : vid=4A pid=22BA
SIZE 4-Mbits [512-Kbytes]
Detect Unknown Unknown Flash : vid=00 pid=00
SIZE 0-Mbytes (page=1024, block=64K)
many bad block. give up!!
diff magic [flash:20090212]
LCD setup 640x480
... not supported part_nr=2
clear lcd .....
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]
AX88796B Reset Failure
AX88796B MAC : [ 00 Mac address set failurei ]
EZBOOT>set
^^;
1) mac address : 00:FA:07:78:65:05
2) local ip : 192.168.10.182
3) local netmask : 255.255.255.0
4) local gateway : 192.168.10.1
5) server ip : 192.168.10.27
6) zImage file name : zImage.ez-pxa255
7) ram disk file name : ramdisk-1.11-16M.gz
8) boot loader file name : ezboot.ez-pxa255
9) logo image file name :
10) auto execute full name :
11) autoboot wait time : 3
12) copy ramdisk [Y/N] : Y
13) arm kernel arch number : 3002
14) nand part (B,C,L,K,R,A): 0,1,0,3,5,55
15) watchdog (sec, off=0) : 0
16) KCMD 1 : mem=64M
17) KCMD 2 : initrd=0xA0800000,5M root=/dev/ram ramdisk=16384
18) KCMD 3 : console=ttyPXA2,115200
19) KCMD 4 : video=ezfb:panel:2
20) KCMD 5 :
21) KCMD 6 :
L) Load default
LF) load KCMD2 root=flash
LR) load KCMD2 root=ramdisk
M) generlate Mac address
S) Save to flash
P) aPply & exit
Q) Quit
Select >>
부트로더 메세지를 보니 EZ-X5 보드가 아닌것 같습니다.
님의 경우는 우선 모든것을 EZ-X5 보드 베이스로 컴파일하시기 바랍니다.
부트로더에서 필요한 경우 arch_pxa255/board_config.h 파일과 board_config.c 파일에서 주소등을 수정하여야 합니다.
또한 nand 관련 하드웨어 엑세스 방식도 board_config.h 파일에서 하드웨어 맞게 수정하시면 됩니다.
커널에서도 역시 이더넷과 nand 관련 부분을 수정하셔야 하죠
커널소스 arch/arm/mach-pxa/falinux_xxxxx.c 파일과 driver/mtd/nand/falinux_logic_nand.c 를 수정하세요
흠.. 제가 뭘 잘못했나 보니까. boot loader를 컴파일할때
ez-x5_mask.sh로 컴파일 안하고 ez-pxa255_mak.sh로 잘못한것 같네요.
혹시 그것 때문에 그런가요? 쓰읍.. JTAG이 없어서.. 이번에도 날리면 안되는데요... 도와주세요...