Login  Register

Re: Guide - How to fix/resurrect a bricked Shield (and updated to 1.51SP1 w/Feb & March 2016 hotfixes & fw_upgrade 8.3.1)

Posted by trophyGA on Oct 23, 2017; 9:03am
URL: https://itus.accessinnov.com/Guide-How-to-fix-resurrect-a-bricked-Shield-and-updated-to-1-51SP1-w-Feb-March-2016-hotfixes-fw-upgr-tp931p1491.html

THanks

I am able to transfer ItusRestoreImage to the device but when I attempt to execute the next step it gets stuck at "initializing cache"

Should I be able to see the file with "fatls mmc 1" after tftping it?




output after running "bootoctlinux $(loadaddr) numcores=2 mem=0"




Octeon cust_private_rhino_itus7x(ram)# tftp ItusrouterImage
Using octeth0 device
TFTP from server 192.168.1.64; our IP address is 192.168.1.65
Filename 'ItusrouterImage'.
Load address: 0x20000000
Loading: ##################################################
         10.5 MiB/s
done
Bytes transferred = 40859016 (26f7588 hex)
Octeon cust_private_rhino_itus7x(ram)# fatls mmc 1
            restore/
            updates/

0 file(s), 2 dir(s)

Octeon cust_private_rhino_itus7x(ram)# bootoctlinux $(loadaddr) numcores=2 mem=0
argv[2]: numcores=2
argv[3]: mem=0
Allocating memory for ELF segment: addr: 0xffffffff80100000 (adjusted to: 0x100000), size 0x27dad40
## Loading big-endian Linux kernel with entry point: 0xffffffff80664f10 ...
Bootloader: Done loading app on coremask: 0x3
Starting cores:
 0x3
[    0.000000] Linux version 3.10.20 (daniel@Ayoub) (gcc version 4.7.0 (Cavium Inc. Version: SDK_3_1_0_p2 build 34) ) #67 SMP Wed Nov 25 19:02:28 PST 2015
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] Cavium Inc. SDK-3.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 000d9602 (Cavium Octeon III)
[    0.000000] FPU revision is: 00739600
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 000000000c400000 @ 0000000002900000 (usable)
[    0.000000]  memory: 0000000000c00000 @ 000000000f200000 (usable)
[    0.000000]  memory: 000000002f000000 @ 0000000020000000 (usable)
[    0.000000]  memory: 000000000079e000 @ 0000000000100000 (usable)
[    0.000000]  memory: 0000000001f62000 @ 000000000089e000 (usable after init)
[    0.000000] Wasting 14336 bytes for tracking 256 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using passed Device Tree <8000000000080000>.
[    0.000000] software IO TLB [mem 0x03713000-0x03753000] (0MB) mapped at [8000000003713000-8000000003752fff]
[    0.000000] Cavium Hotplug: Available coremask 0x0
[    0.000000] Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets, linesize 128 bytes.
[    0.000000] Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
[    0.000000] Secondary unified cache 512kB, 4-way, 1024 sets, linesize 128 bytes.
[    0.000000] PERCPU: Embedded 10 pages/cpu @800000000376c000 s12288 r8192 d20480 u40960
[    0.000000] Kernel command line:  bootoctlinux 0x20000000 numcores=2 console=ttyS0,115200
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 966660k/1022976k available (5625k kernel code, 56316k reserved, 2171k data, 32136k init, 0k highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=2.
[    0.000000] NR_IRQS:512
[    0.000000] CIB interrupt controller probed: 800107000000e000 23 bits
[    0.000000] CIB interrupt controller probed: 800107000000e200 12 bits
[    0.000000] CIB interrupt controller probed: 800107000000e400 6 bits
[    0.000000] CIB interrupt controller probed: 800107000000ec00 15 bits
[    0.000000] CIB interrupt controller probed: 800107000000e600 4 bits
[    0.000000] CIB interrupt controller probed: 800107000000e800 11 bits
[    0.000000] CIB interrupt controller probed: 800107000000e900 11 bits
[    0.366088] Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=10000000)
[    0.374306] pid_max: default: 32768 minimum: 501
[    0.379023] Security Framework initialized
[    0.383036] Mount-cache hash table entries: 256
[    0.389707] SMP: Booting CPU01 (CoreId  1)...
[    0.393906] CPU revision is: 000d9602 (Cavium Octeon III)
[    0.393909] FPU revision is: 00739600
[    0.394079] Cpu 1 online
[    0.405494] Brought up 2 CPUs
[    0.408439] Cavium Hotplug: Available coremask 0x0
[    0.415137] NET: Registered protocol family 16
[    0.420383] Installing handlers for error tree at: ffffffff80835430
[    0.436132] PCIe: Initializing port 0
[    2.498679] PCIe: Initializing port 1
[    2.502178] PCIe: Initializing port 2
[    2.512189] [sched_delayed] sched: RT throttling activated
[    2.521699] bio: create slab <bio-0> at 0
[    2.526092] vgaarb: loaded
[    2.529023] SCSI subsystem initialized
[    2.533266] usbcore: registered new interface driver usbfs
[    2.538672] usbcore: registered new interface driver hub
[    2.543993] usbcore: registered new device driver usb
[    2.549167] pps_core: LinuxPPS API ver. 1 registered
[    2.553965] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.563178] PTP clock support registered
[    2.567070] EDAC MC: Ver: 3.0.0
[    2.570700] PCI host bridge to bus 0000:00
[    2.574648] pci_bus 0000:00: root bus resource [mem 0x1000000000000]
[    2.580977] pci_bus 0000:00: root bus resource [io  0x0000]
[    2.586545] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.595299] Switching to clocksource OCTEON_CVMCOUNT
[    2.601499] NET: Registered protocol family 2
[    2.606077] TCP established hash table entries: 8192 (order: 5, 131072 bytes)
[    2.613189] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    2.619682] TCP: Hash tables configured (established 8192 bind 8192)
[    2.625976] TCP: reno registered
[    2.629134] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.635068] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.641620] NET: Registered protocol family 1
[    3.775736] octeon_pci_console: Console not created.
[    3.780558] /proc/octeon_perf: Octeon performance counter interface loaded
[    3.788431] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    3.795554] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.801410] NTFS driver 2.1.30 [Flags: R/W].
[    3.805545] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    3.811758] msgmni has been set to 1888
[    3.815998] io scheduler noop registered
[    3.819754] io scheduler deadline registered
[    3.824072] io scheduler cfq registered (default)
[    3.828944] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO
[    3.883793] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    3.891463] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 34) is a OCTEON
[    3.899233] console [ttyS0] enabled, bootconsole disabled
[    3.899233] console [ttyS0] enabled, bootconsole disabled
[    3.924693] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 35) is a OCTEON
[    3.945465] brd: module loaded
[    3.963572] loop: module loaded
[    3.981336] slram: not enough parameters.
[    3.999762] libphy: mdio-octeon: probed
[    4.017057] mdio-octeon 1180000001800.mdio: Version 1.0
[    4.034665] spi_ks8995: Micrel KS8995 Ethernet switch SPI driver version 0.1.1
[    4.054644] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    4.072609] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[    4.090880] octeon-pow-ethernet ERROR: You must specify a broadcast group mask.
[    4.110412] octeon-ethernet 2.0
[    4.137415] usbcore: registered new interface driver cdc_ether
[    4.155542] usbcore: registered new interface driver plusb
[    4.173273] usbcore: registered new interface driver sierra_net
[    4.192017] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.210989] ehci-pci: EHCI PCI platform driver
[    4.227680] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.246651] usbcore: registered new interface driver usb-storage
[    4.265087] usbcore: registered new interface driver usbserial
[    4.283149] usbcore: registered new interface driver usbserial_generic
[    4.301899] usbserial: USB Serial support registered for generic
[    4.320205] usbcore: registered new interface driver sierra
[    4.338002] usbserial: USB Serial support registered for Sierra USB modem
[    4.357027] i2c /dev entries driver
[    4.373073] i2c-octeon 1180000001000.i2c: version 2.5
[    4.391085] octeon_wdt: Initial granularity 5 Sec
[    4.408211] EDAC DEVICE0: Giving out device to module 'octeon-cpu' controller 'cache': DEV 'octeon_pc_edac' (INTERRUPT)
[    4.431323] EDAC DEVICE1: Giving out device to module 'octeon-l2c' controller 'octeon_l2c_err': DEV 'octeon_l2c_edac' (POLLED)
[    4.454976] octeon_lmc_edac octeon_lmc_edac.0: Disabled (ECC not enabled)
[    7.080498] TCP: cubic registered
[    7.095945] Initializing XFRM netlink socket
[    7.112388] NET: Registered protocol family 10
[    7.130391] NET: Registered protocol family 17
[    7.147036] Key type dns_resolver registered
[    7.163493] L2 lock: TLB refill 256 bytes
[    7.179625] L2 lock: General exception 128 bytes
[    7.196361] L2 lock: low-level interrupt 128 bytes
[    7.213270] L2 lock: interrupt 640 bytes
[    7.229318] L2 lock: memcpy 1152 bytes
[    7.246468] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    7.264958] Warning: unable to open an initial console.
[    7.294754] Freeing unused kernel memory: 32136K (ffffffff8089e000 - ffffffff82800000)
[    9.374905] init: Console is alive
[    9.390679] init: - watchdog -
[   10.406619] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   13.478603] procd: - early -
[   13.493803] procd: - watchdog -
[   14.184005] procd: - ubus -
f[   15.199396] procd: - init -
Please press Enter to activate this console.
[   16.954683] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   16.978801] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.002453] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.026064] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.049715] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.073319] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.096973] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.121122] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.144777] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.168361] tun: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.192128] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.215795] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.239278] ifb: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.262733] tun: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.286359] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.310041] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.333525] ifb: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.356930] sch_ingress: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.381067] tun: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.404510] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.428166] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.451786] ifb: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.475212] sch_hfsc: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.499058] sch_ingress: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.523195] tun: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.546634] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.570290] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.593793] cls_fw: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.617451] ifb: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.640885] sch_hfsc: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.664713] sch_ingress: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.688860] tun: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.712301] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.735968] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.759452] cls_fw: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.783130] cls_route: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.807052] ifb: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.830493] sch_hfsc: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.854322] sch_ingress: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.878470] tun: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.901903] af_alg: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.925578] arc4: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   17.949069] cls_flow: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[

"  "




   24.376076] xt_socket: version magic '3.10.20-rt14 SMP mod_unload OCTEON 64BIT ' should be '3.10.20 SMP mod_unload OCTEON 64BIT '
[   28.922808] mmc1: new high speed DDR MMC card at address 0001
[   28.941026] mmcblk0: mmc1:0001 P1XXXX 3.60 GiB
[   28.957693] mmcblk0boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB
[   28.975752] mmcblk0boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB
[   28.993970] mmcblk0rpmb: mmc1:0001 P1XXXX partition 3 128 KiB
[   29.012725]  mmcblk0: p1 p2 p3 p4
[   29.033225]  mmcblk0boot1: unknown partition table
[   29.052278]  mmcblk0boot0: unknown partition table
[   34.471643] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   34.489874] device eth1 entered promiscuous mode
[   34.507567] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   34.569882] eth2: 1000 Mbps Full duplex, port 2
[   34.586624] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[   34.605035] device eth2 entered promiscuous mode
[   34.675202] eth0: 1000 Mbps Full duplex, port 0
[   34.691820] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   35.530353] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[   35.548855] br-lan: port 2(eth2) entered forwarding state
[   35.566406] br-lan: port 2(eth2) entered forwarding state
[   35.600178] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   35.640677] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   37.560163] br-lan: port 2(eth2) entered forwarding state
[   64.393129] kjournald starting.  Commit interval 5 seconds
[   64.411410] EXT3-fs (mmcblk0p2): using internal journal
[   64.428778] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
+
 ²r²êkjournald starting.  Commit interval 5 seconds
[  106.327695] EXT3-fs (mmcblk0p3): using internal journal
[  106.344920] EXT3-fs (mmcblk0p3): mounted filesystem with writeback data mode