Comment 8 for bug 817315

Revision history for this message
Hong-Xing.Zhu (richard-zhuhongxing) wrote :

without that patch"0001-net-eth.c-fix-eth_write_hwaddr-to-use-dev-enetaddr-a.patch ", I can boot the mx53 loco board.
here is the log:
-----------------------------------------------------------
Environment size: 1201/8188 bytes
MX53LOCO U-Boot > reset
resetting ...

U-Boot 2011.06-dirty (Aug 16 2011 - 16:02:05)

CPU: Freescale i.MX53 family rev2.0 at 800 MHz
Reset cause: WDOG
Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
CPU: Switch CPU clock to 1GHZ OK
DDR: Switch DDR clock to 400MHz OK
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1
In: serial
Out: serial
Err: serial
Net: got MAC address from fuse: 00:04:9f:01:57:0a
FECRZ_DEBUG base_name is NULL
Warning: failed to set MAC address <-------------- This is just a warning msg, the uboot mac addr program is not mandatory required.

Hit any key to stop autoboot: 0
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 44
*** Unhandled DHCP Option in OFFER/ACK: 46
*** Unhandled DHCP Option in OFFER/ACK: 44
*** Unhandled DHCP Option in OFFER/ACK: 46
DHCP client bound to address 10.192.242.172
Using FEC device
TFTP from server 10.192.225.216; our IP address is 10.192.242.172; sending through gateway 10.192.242.254
Filename 'r65037/uImage.mx53.30'.
Load address: 0x70800000
Loading: #################################################################
         #################################################################
         #######
done
Bytes transferred = 2005912 (1e9b98 hex)
## Error: "bootargs_base" not defined
## Booting kernel from Legacy Image at 70800000 ...
   Image Name: Linux-3.0.0+
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 2005848 Bytes = 1.9 MiB
   Load Address: 70008000
   Entry Point: 70008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 3.0.0+ (x@x-VirtualBox) (gcc version 4.5.1 (Ubuntu/Linaro 4.5.1-7ubuntu1) ) #4 Wed Aug 17 17:23:12 CST 2011
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale MX53 LOCO Board
Ignoring RAM at b0000000-cfffffff (vmalloc region overlap).
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=10.192.225.216:/home/r65037/nfs/rootfs_mx5x_10.11 rw, v3, tcp
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 515512k/515512k available, 8776k reserved, 0K highmem
Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    vmalloc : 0xe0800000 - 0xf4000000 ( 312 MB)
    lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    modules : 0xbf000000 - 0xc0000000 ( 16 MB)
      .init : 0xc0008000 - 0xc0024000 ( 112 kB)
      .text : 0xc0024000 - 0xc03b4000 (3648 kB)
      .data : 0xc03b4000 - 0xc03d69c0 ( 139 kB)
       .bss : 0xc03d69e4 - 0xc0424218 ( 311 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:368
TrustZone Interrupt Controller (TZIC) initialized
MXC GPIO hardware
CPU identified as i.MX53, silicon rev 2.0
sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 64424ms
Console: colour dummy device 80x30
Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource mxc_timer1
Switched to NOHz mode on CPU #0
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
fuse init (API version 7.16)
msgmni has been set to 1006
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x53fbc000 (irq = 31) is a IMX
console [ttymxc0] enabled
brd: module loaded
loop: module loaded
FEC Ethernet Driver
fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
mousedev: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
TCP cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, irq=-1)
PHY: 1:00 - Link is Up - 100/Full
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.192.242.172
IP-Config: Complete:
     device=eth0, addr=10.192.242.172, mask=255.255.255.0, gw=10.192.242.254,
     host=10.192.242.172, domain=ap.freescale.net, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=10.192.225.216, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:11.
Freeing init memory: 112K
init started: BusyBox v1.15.0 ()
starting pid 20, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
udevd (29): /proc/29/oom_adj is deprecated, please use /proc/29/oom_score_adj instead.
Setting the hostname to freescale
Mounting filesystems
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
Starting inetd:
Starting the dropbear ssh server:
D-Bus per-session daemon address is: unix:abstract=/tmp/dbus-HyqYPdQofG,guid=8df0ca34eab4a92a6284412b00000009
gtk: creating gdk-pixbuf.loaders
pango: creating module list
starting pid 344, tty '': '/sbin/getty -L ttymxc0 115200 vt100'
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/freescale:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Error opening framebuffer /dev/fb0: No such file or directory

Fatal server error:
no screens found

arm-none-linux-gnueabi-gcc (4.4.4_09.06.2010) 4.4.4
root filesystem built on Mon, 15 Nov 2010 20:02:59 -0600
Freescale Semiconductor, Inc.

freescale login: matchbox-panel: failed to open displaymatchbox-desktop: unable to open display !
matchbox: can't open display! check your DISPLAY variable.
ts_open: No such file or directory