Hi, pmcelwee13.
Thank you for your reply. Please find the power-on messages from my uclinux image for LogicLoader (this one doesn't work) and dBUG (this one works).
Again, the differences between these 2 images are the parameters I set for:
1) Address of the base of RAM
2) RAM size (in bytes)
3) Address of the base of system vectors
4) Address of the base of kernel code
You can find those settings from the previous email.I didn't change anything else from the LTIB.
Another thing, when I use LogicLoader, I don't use dBUG.
Also, when I use dBUG, I download the image from PC. When I use LogicLoader, I put image in the NAND flash. uclinux image is copied from NAND flash to RAM.
Thank you very much for your time on this matter.
Best regards,
Allen
==============================================================
power-on messages from my uclinux image for LogicLoader (this one doesn't work)
-------------------------------------------------------------------------------
add-yaffs uclinux nand 0 1023
add-yaffs: inserted: start 0 - len 1023
mount yaffs /uclinux
Mounting a YAFFS partition.
---------------------------------------------------
Starting YAFFS file system:
Current YAFFS partition table:
0: /dev/nand0 uclinux B0 - B1023 ( 0)
1: <NULL> <NULL>
2: <NULL> <NULL>
3: <NULL> <NULL>
YAFFS initialized.
---------------------------------------------------
load raw 0x400C0000 5344256 /uclinux/image.bin
loading from /uclinux/image.bin:
loading raw binary to 0x400c0000 (ram) len 00518c00:
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................md5sum of _loaded_ portion of the file:
e7361bcba5cc662b67df3505271a2a8d - addr: 400c0000 len: 00518c00
file loaded
exec
Linux version 2.6.17.7-uc1 (
hiren@localhost.localdomain) (gcc version 4.1.0 (CodeSourcery Freescale 4.1-14)) #242 Sat Jun 9 14:37:52 EDT 2007
uClinux/COLDFIRE(m532x)
COLDFIRE port done by Greg Ungerer,
gerg@snapgear.com
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Built 1 zonelists
Kernel command line:
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory available: 26328k/32000k RAM, (1698k kernel code, 336k data)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
USB-MCF532x: (HOST module) EHCI device is registered
USB-MCF532x: (OTG module) EHCI device is registered
USB-MCF532x: (OTG module) UDC device is registered
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
Initializing LR38825 Frame Buffer
Console: switching to colour frame buffer device 27x22
fb0: LR38825 FB frame buffer device
Initializing REMOTE Keyboard driver
Knob Enter (at 0x4018e6d0) called request_irq without a dev_id!
Knob (at 0x4018e7d4) called request_irq without a dev_id!
Key (at 0x4018e208) called request_irq without a dev_id!
ISA-Philips-Basic-CAN memory mapped CAN Driver 3.0_ColdFire_FlexCAN (c) Jun 9 2007 14:35:43
ColdFire internal UART serial driver version 1.00
ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART
ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART
ttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
FEC ENET Version 0.2
fec: PHY @ 0x1, ID 0x20005c90 -- DP83848
eth0: ethernet ff:ff:ff:ff:ff:ff
uclinux[mtd]: RAM probe address=0x402bcdac size=0x342000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00342000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem
NAND device: Manufacturer ID: 0x20, Chip ID: 0x73 (ST Micro NAND 16MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 16MiB 3,3V 8-bit":
0x00000000-0x01000000 : "M5329 flash partition 1"
QSPI device driver installed OK
ColdFire QSPI (at 0x401b14b0) called request_irq without a dev_id!
MCF532x QSPI driver ok
usbmon: debugfs is not available
MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
ehci ehci.1: EHCI Host Controller
ehci ehci.1: new USB bus registered, assigned bus number 1
ehci ehci.1: irq 176, io mem 0xfc0b4000
ehci ehci.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
usb usb1: SerialNumber: ehci.1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
ehci ehci.0: EHCI Host Controller
ehci ehci.0: new USB bus registered, assigned bus number 2
ehci ehci.0: irq 175, io mem 0xfc0b0000
ehci ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
usb usb2: SerialNumber: ehci.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-mcf532x: can't find transceiver!
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
udc: Freescale MCF532x UDC driver version 27 October 2006 init
udc: No external transceiver!
udc: MCF532x USB Device is found. ID=0x5 Rev=0x41
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 84k freed (0x40281000 - 0x40295000)
init started: BusyBox v1.00 (2007.06.02-15:44+0000) multi-call binaryÍSetting the hostname to freescale
Mounting filesystems
mount: Mounting /proc on /proc failed: Bad address
mount: Mounting rwfs on /mnt/rwfs failed: Bad address
mount: /proc/filesystems: No such file or directory
cp: cannot create directory `/mnt/rwfs/tmp': Read-only file system
mount: /proc/filesystems: No such file or directory
cp: cannot create directory `/mnt/rwfs/etc': Read-only file system
mount: /proc/filesystems: No such file or directory
cp: cannot create directory `/mnt/rwfs/var': Read-only file system
mount: /proc/filesystems: No such file or directory
ln: /etc/mtab: Read-only file system
Starting syslogd and klogd
syslogd: Could not connect to socket /dev/log: Read-only file system
Setting up networking on loopback device:
rm: unable to remove `/etc/resolv.conf': Read-only file system
Setting up networking on eth0:
info, udhcpc (v0.9.9-pre) started
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
debug, Sending discover...
debug, Sending discover...
debug, Sending discover...
info, No lease, forking to background.
Starting the boa webserver:
[30/Nov/1999:00:00:16 +0000] log.c:53 (open_logs) - unable to open error log: Read-only file system
BusyBox v1.00 (2007.06.02-15:44+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
#
==============================================================
power-on messages from my uclinux image for dBUG (this one works)
-------------------------------------------------------------------------------
Power-on Reset
ColdFire MCF532x on the M5329EVB
Firmware v4b.1a.1d (Built on Apr 25 2006 13:34:56)
Copyright 2006 Freescale Semiconductor, Inc.
Enter 'help' for help.
dBUG> dn
Downloading Image 'image.bin' from 192.168.126.223
TFTP transfer completed
Read 5344256 bytes (10439 blocks)
dBUG> go 0x40020000
Linux version 2.6.17.7-uc1 (
hiren@localhost.localdomain) (gcc version 4.1.0 (CodeSourcery Freescale 4.1-14)) #241 Sat Jun 9 13:48:12 EDT 2007
uClinux/COLDFIRE(m532x)
COLDFIRE port done by Greg Ungerer,
gerg@snapgear.com
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Built 1 zonelists
Kernel command line: rootfstype=romfs
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory available: 26968k/32640k RAM, (1698k kernel code, 336k data)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
USB-MCF532x: (HOST module) EHCI device is registered
USB-MCF532x: (OTG module) EHCI device is registered
USB-MCF532x: (OTG module) UDC device is registered
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
Initializing LR38825 Frame Buffer
Console: switching to colour frame buffer device 27x22
fb0: LR38825 FB frame buffer device
Initializing REMOTE Keyboard driver
Knob Enter (at 0x400ee6d0) called request_irq without a dev_id!
Knob (at 0x400ee7d4) called request_irq without a dev_id!
Key (at 0x400ee208) called request_irq without a dev_id!
ISA-Philips-Basic-CAN memory mapped CAN Driver 3.0_ColdFire_FlexCAN (c) Jun 9 2007 12:18:14
ColdFire internal UART serial driver version 1.00
ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART
ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART
ttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
FEC ENET Version 0.2
fec: PHY @ 0x1, ID 0x20005c90 -- DP83848
eth0: ethernet 00:cf:53:29:cf:01
uclinux[mtd]: RAM probe address=0x4021cdac size=0x342000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00342000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem
NAND device: Manufacturer ID: 0x20, Chip ID: 0x73 (ST Micro NAND 16MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 16MiB 3,3V 8-bit":
0x00000000-0x01000000 : "M5329 flash partition 1"
QSPI device driver installed OK
ColdFire QSPI (at 0x401114b0) called request_irq without a dev_id!
MCF532x QSPI driver ok
usbmon: debugfs is not available
MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
ehci ehci.1: EHCI Host Controller
ehci ehci.1: new USB bus registered, assigned bus number 1
ehci ehci.1: irq 176, io mem 0xfc0b4000
ehci ehci.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
usb usb1: SerialNumber: ehci.1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
ehci ehci.0: EHCI Host Controller
ehci ehci.0: new USB bus registered, assigned bus number 2
ehci ehci.0: irq 175, io mem 0xfc0b0000
ehci ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
usb usb2: SerialNumber: ehci.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-mcf532x: can't find transceiver!
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
udc: Freescale MCF532x UDC driver version 27 October 2006 init
udc: No external transceiver!
udc: MCF532x USB Device is found. ID=0x5 Rev=0x41
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 84k freed (0x401e1000 - 0x401f5000)
Setting the hostname to freescale7.06.02-15:44+0000) multi-call binary
Mounting filesystems
Starting syslogd and klogd
Setting up networking on loopback device:
Setting up networking on eth0:
info, udhcpc (v0.9.9-pre) started
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
debug, Sending discover...
debug, Sending discover...
debug, Sending select for 192.168.127.16...
info, Lease of 192.168.127.16 obtained, lease time 345600
deleting routers
route: SIOC[ADD|DEL]RT: No such process
adding dns 192.168.126.6
adding dns 192.168.126.5
Starting the boa webserver:
BusyBox v1.00 (2007.06.02-15:44+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
#