U-Boot 2008.10-mpcore-svn (May 20 2011 - 13:36:16) Cavium Networks CNS3XXX SDK v0.7-1202 CPU: Cavium Networks CNS3000 ID Code: 410fb024 (Part number: 0xB02, Revision number: 4) CPU ID: 900 Chip Version: c DRAM: 128 MB Flash: 32 MB In: serial Out: serial Err: serial CPU works at 300 MHz (600/1/2) DDR2 Speed is 266 MHz switch/phy reset ## Starting application at 0x03000000 ... Hello ,This is SC world! BootVersion SC V105,Build Time:May 20 2011 - 13:36:09 ## Application terminated, rc = 0x0 checking the integrality of linux ... ... flen is :19f9f00 fcrc is :8ae7488a vmoffset is :100 vmsize is :812b09 vmcrc is :72cc8794 crc caled is :72cc8794 kernel length is :8465161(0x812b09) fw version is :4.3.1-22+fk1 checking pass.. Hit any key to stop autoboot: 2 0 CNS3000 # help ? - alias for 'help' base- print or set address offset bdinfo - print Board Info structure bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp- boot image via network using BOOTP/TFTP protocol bootvx - Boot vxWorks from an ELF image cmp- memory compare cp- memory copy crc32- checksum calculation date - get/set/reset date & time dcache - enable or disable data cache dhcp- boot image via network using DHCP/TFTP protocol erase - erase FLASH memory fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) flashappimage- TFTP the firmware image to RAM,and copy the firmware image to the flash partition for firmware image flashbootloader- TFTP load a bootloader image file to RAM, and copy the image to the bootloader partition in flash. flinfo - print FLASH memory information frtest- polling the status of factory reset button. It will return success if the user push factory reset button. getmd - getmd basmac/serno/productID go - start application at address 'addr' help - print online help icache - enable or disable instruction cache iminfo - print header information for application image loadb - load binary file over serial line (kermit mode) loady - load binary file over serial line (ymodem mode) loop- infinite loop on address range md- memory display mm- memory modify (auto-incrementing) mmcinit - init mmc card mtest- simple RAM test mw- memory write (fill) nm- memory modify (constant address) pci - list PCI Configuration Space phyop- operate standard phy register through mdio ping- send ICMP ECHO_REQUEST to network host printenv- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU return2Factory- Revert the bootloader configuration to factory settings. rgpio- read gpio value for given GPIO pin run - run commands in an environment variable saveenv - save environment variables to persistent storage savemd - save the manuinfo to flash sc_go - start sc standalone app at address 'addr' setenv - set environment variables setmd - setmd basmac/serno/productID value switch_reg_read- Read a register value through mdio switch_reg_write- write a register value through mdio tftpboot- boot image via network using TFTP protocol version - print monitor version wgpio- set gpio value to 0/1 for given GPIO pin CNS3000 # printenv bootargs=root=/dev/mtdblock0 mem=128M console=ttyS0 bootcmd=cp.b 0x10080100 0x2000000 0x900000;go 0x2000000 bootdelay=2 baudrate=9600 ethaddr=00:53:43:xx:xx:xx netmask=255.255.0.0 bootfile="/tftpboot/uImage" tftp_bsize=512 udp_frag_size=512 ipaddr=192.168.2.1 serverip=192.168.2.100 stdin=serial stdout=serial stderr=serial Environment size: 324/131068 bytes CNS3000 # bdinfo arch_number = 0x00000BB8 env_t = 0x00000000 boot_params = 0x00000100 DRAM bank = 0x00000000 -> start = 0x00000000 -> size = 0x08000000 ethaddr = 00:53:43:xx:xx:xx ip_addr = 192.168.2.1 baudrate = 9600 bps CNS3000 # bootp BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 44 *** Unhandled DHCP Option in OFFER/ACK: 44 DHCP client bound to address 192.168.2.99 TFTP from server 192.168.2.100; our IP address is 192.168.2.99 Filename 'openwrt-cns3xxx-uImage-mod'. Load address: 0x800000 Loading: *################################################################# ################################################################# ################################################################# ########################################### done Bytes transferred = 1215144 (128aa8 hex) -- VERSUCH 1 (bootm, 02008000) ------------------------------------------------- CNS3000 # bootm ## Booting kernel from Legacy Image at 00800000 ... Image Name: OpenWrt Linux-3.3.8 Created: 2013-03-23 23:28:23 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1215080 Bytes = 1.2 MB Load Address: 02008000 Entry Point: 02008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... (hängt fest) -- VERSUCH 2 (bootm, 02000000) ------------------------------------------------- ... CNS3000 # bootm ## Booting kernel from Legacy Image at 00800000 ... Image Name: OpenWrt Linux-3.3.8 Created: 2013-03-23 23:28:23 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1215080 Bytes = 1.2 MB Load Address: 02000000 Entry Point: 02000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... (hängt fest) -- VERSUCH 3 (go) -------------------------------------------------------------- ... CNS3000 # go 0x800040 enter do_eth_down!!! ## Starting application at 0x00800040 ... [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 SMP Sat Mar 23 23:28:16 UTC 2013 [ 0.000000] CPU: ARMv6-compatible processor [410fb024] revision 4 (ARMv7), cr=00c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Gateworks Corporation Laguna Platform [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] PERCPU: Embedded 7 pages/cpu @c0398000 s4704 r8192 d15776 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 [ 0.000000] Kernel command line: [ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes) [ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Memory: 16MB = 16MB total [ 0.000000] Memory: 12656k/12656k available, 3728k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xc1800000 - 0xff000000 ( 984 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc1000000 ( 16 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0305000 (3060 kB) [ 0.000000] .init : 0xc0305000 - 0xc032c260 ( 157 kB) [ 0.000000] .data : 0xc032e000 - 0xc0348800 ( 106 kB) [ 0.000000] .bss : 0xc0348824 - 0xc037407c ( 175 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:160 [ 0.000000] console [ttyS0] enabled [ 0.020000] Calibrating delay loop... 119.70 BogoMIPS (lpj=598528) [ 0.120000] pid_max: default: 32768 minimum: 301 [ 0.130000] Mount-cache hash table entries: 512 [ 0.140000] CPU: Testing write buffer coherency: ok [ 0.160000] Setting up static identity map for 0x2a37c0 - 0x2a37f8 [ 0.170000] Brought up 1 CPUs [ 0.180000] SMP: Total of 1 processors activated (119.70 BogoMIPS). [ 0.200000] NET: Registered protocol family 16 [ 0.220000] L310 cache controller enabled [ 0.230000] l2x0: 8 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x02540000, Cache size: 262144 B [ 0.310000] bio: create slab at 0 [ 0.320000] SCSI subsystem initialized [ 0.340000] usbcore: registered new interface driver usbfs [ 0.350000] usbcore: registered new interface driver hub [ 0.360000] usbcore: registered new device driver usb [ 0.370000] Switching to clocksource freerun [ 0.390000] NET: Registered protocol family 2 [ 0.430000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.510000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.600000] TCP bind hash table entries: 512 (order: 0, 4096 bytes) [ 0.670000] TCP: Hash tables configured (established 512 bind 512) [ 0.750000] TCP reno registered [ 0.780000] UDP hash table entries: 128 (order: 0, 4096 bytes) [ 0.850000] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) [ 0.930000] NET: Registered protocol family 1 [ 0.990000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.060000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 1.170000] msgmni has been set to 24 [ 1.220000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 1.300000] io scheduler noop registered [ 1.350000] io scheduler deadline registered (default) [ 1.410000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 1.490000] serial8250: ttyS0 at MMIO 0x78000000 (irq = 45) is a 16550A [ 1.590000] CNS3xxx MII Bus: probed [ 1.640000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.720000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.790000] i2c /dev entries driver [ 1.830000] pca953x 0-0023: failed reading register [ 1.900000] pca953x: probe of 0-0023 failed with error -11 [ 1.960000] pca953x 0-0027: failed reading register [ 2.020000] pca953x: probe of 0-0027 failed with error -11 [ 2.090000] at24 0-0050: 1024 byte 24c08 EEPROM, read-only, 0 bytes/write [ 2.710000] rtc-ds1672 0-0068: chip found, driver version 0.4 [ 2.780000] rtc-ds1672 0-0068: ds1672_get_datetime: read error [ 2.850000] rtc-ds1672 0-0068: rtc core: registered rtc-ds1672 as rtc0 [ 2.930000] rtc-ds1672 0-0068: ds1672_get_control: read error [ 3.000000] rtc-ds1672: probe of 0-0068 failed with error -5 [ 3.070000] gsp 0-0029: gsp chip found [ 3.110000] MPcore Watchdog Timer: 0.1. mpcore_noboot=0 mpcore_margin=60 sec (nowayout= 1) [ 3.210000] ------------[ cut here ]------------ [ 3.270000] WARNING: at kernel/irq/manage.c:1354 0xc0059544() [ 3.340000] Modules linked in: [ 3.370000] Backtrace: [ 3.400000] Function entered at [] from [] [ 3.470000] r6:0000054a r5:c02bf980 r4:00000000 r3:c033a9c8 [ 3.540000] Function entered at [] from [] [ 3.610000] Function entered at [] from [] [ 3.680000] r8:00000000 r7:c01df420 r6:00000000 r5:c0331000 r4:c0339498 [ 3.760000] r3:00000009 [ 3.790000] Function entered at [] from [] [ 3.860000] Function entered at [] from [] [ 3.930000] Function entered at [] from [] [ 4.000000] r8:c0928cc0 r7:00000013 r6:c0343a5c r5:c036ff18 r4:c03394a0 [ 4.080000] Function entered at [] from [] [ 4.150000] Function entered at [] from [] [ 4.220000] r7:00000013 r6:c0343a5c r5:c03394a0 r4:c03394d4 [ 4.280000] Function entered at [] from [] [ 4.360000] r6:c015b7c8 r5:c0343a5c r4:00000000 r3:c015b7c8 [ 4.420000] Function entered at [] from [] [ 4.490000] r6:c033fb80 r5:c0343a5c r4:c0343a40 [ 4.550000] Function entered at [] from [] [ 4.620000] Function entered at [] from [] [ 4.690000] Function entered at [] from [] [ 4.760000] Function entered at [] from [] [ 4.830000] Function entered at [] from [] [ 4.900000] r4:c081a000 r3:00000000 [ 4.940000] Function entered at [] from [] [ 5.010000] Function entered at [] from [] [ 5.080000] r5:c0305834 r4:00000000 [ 5.120000] ---[ end trace af06ac44d78af6c7 ]--- [ 5.180000] mpcore_wdt mpcore_wdt: cannot register IRQ30 for watchdog [ 5.250000] mpcore_wdt: probe of mpcore_wdt failed with error -22 [ 5.330000] sdhci: Secure Digital Host Controller Interface driver [ 5.400000] sdhci: Copyright(c) Pierre Ossman [ 5.450000] sdhci-pltfm: SDHCI platform and OF driver helper [ 5.520000] TCP cubic registered [ 5.560000] NET: Registered protocol family 17 [ 5.620000] Bridge firewalling registered [ 5.660000] 8021q: 802.1Q VLAN Support v1.8 [ 5.710000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4 [ 5.810000] Running on Gateworks Laguna [ 5.850000] gpiochip_add: registered GPIOs 0 to 31 on device: cns3xxx_gpio0 [ 5.940000] gpiochip_add: registered GPIOs 32 to 63 on device: cns3xxx_gpio1 [ 6.020000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 6.100000] VFS: Cannot open root device "(null)" or unknown-block(0,255) [ 6.180000] Please append a correct "root=" boot option; here are the available partitions: [ 6.280000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255) [ 6.380000] Backtrace: [ 6.410000] Function entered at [] from [] [ 6.480000] r6:c0873009 r5:c0348d50 r4:c0873000 r3:00000001 [ 6.550000] Function entered at [] from [] [ 6.620000] Function entered at [] from [] [ 6.690000] r3:c033e5cc r2:00000000 r1:c081bf58 r0:c02b9e24 [ 6.750000] r7:c0873000 [ 6.780000] Function entered at [] from [] [ 6.850000] Function entered at [] from [] [ 6.920000] r5:c03258d8 r4:c03488a4 [ 6.970000] Function entered at [] from [] [ 7.040000] r5:c032a98c r4:c032a98c [ 7.080000] Function entered at [] from [] [ 7.150000] r5:c0305834 r4:00000000