ich habe heute mal eine alte Tank aus dem Regal geholt.
Wenn ich mich recht erinnere, hatte an dieser nach einer Spannungspitze (Blitzschlag) in der Telefonleitung die Netzwerkschnittstelle nicht mehr funktioniert. Sonst hatte sie glaube ich keine Einschränkungen.
Jetzt wollte ich schauen, ob ich noch etwas mit der Box anfangen kann.
Leider startet sie nicht und bleibt bei "Starting..." stehen.
Serial-Log sieht so aus:
Code: Alles auswählen
Starting Microloader ASM built on окт 08 2015 09:37:26...
Initializing PLLs...
Initializing Clocks..
Initializing DDR PLLs/Clocks...
Initializing DDR controller...
Initializing data section...
Initializing stack ptr...
Switching to 'C' code...
Starting Microloader C...
Chip: APOLLO
Found External Realtek 8211EG PHY on GMAC0
Checking for Guide button press ...
GCS in ISA MODE
GCS: SFC DEVICE SETUP COMPLETE
MMC:No device found
BOX MAC OK!
BOX: Type: TANK Rev: 84900104
Setting up default ATAG list...
Jumping to U-Boot ...
BOOT_TIME: 1002 ms since POR
--------------------------------------------------------------------------------
| U-Boot 2009.08-00067-gebbd4b2 (Apr 03 2015 - 16:35:07) CST HDx |
|------------------------------------------------------------------------------|
| Chipset information |
| Vendor: NXP Type: Apollo Revision: M1 Fuses: 0015726E |
|------------------------------------------------------------------------------|
| Clock information |
| *** not available yet *** |
|------------------------------------------------------------------------------|
| Frontpanel information |
| Vendor: CST Version: 4.1 Display: OLED (256 x 64 px) |
|------------------------------------------------------------------------------|
| Memory configuration |
| Start | End | Type | Description |
|----------+----------+---------+----------------------------------------------|
| 00000000 | 0FFFFFFF | RAM | System main memory bank #0 (256M) |
| 20000000 | 2FFFFFFF | RAM | System main memory bank #1 (256M) |
| D0000000 | D03FFFFF | S-FLASH | Eon Silicon EN25Q32 ( 4M / 64K x 64) |
*** Warning - bad CRC or SFC, using default environment
| 00000000*| 3FFFFFFF*| NAND | Toshiba TC58NVG3S0F 8G 3.3V 8-bit |
|------------------------------------------------------------------------------|
| Network configuration |
| MAC: LIP 6300 address: 00-C5-5C-78-86-E5 |
--------------------------------------------------------------------------------
Hit any key to stop autoboot: 0
SFC read: offset 0x100000, size 0x300000
3145728 bytes read: OK
## Booting kernel from Legacy Image at 01000000 ...
Image Name: NI Apollo Kernel
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2969776 Bytes = 2.8 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Linux version 3.10.93 (neutrino-images@nisrv) (gcc version 4.9.4 (crosstool-NG crosstool-ng-1.23.0-36-g1dbb06f2) ) #1 SMP Thu Oct 19 17:42:14 CES T 2017
[ 0.000000] CPU: ARMv7 Processor [411fc091] revision 1 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache
[ 0.000000] Machine: Entropic Apollo STB Platform with FDT, model: CoolStream HD2 Apollo STB
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] Early platform io descriptors mapping...
[ 0.000000] PERCPU: Embedded 7 pages/cpu @80908000 s5952 r8192 d14528 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 130048
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200n8 mtdparts=e06 32000.flash_sfc:256k@0k(uldr),512k@256k(u-boot),128k@768k(env),128k@896k(spare), -(kernel);e0631000.flash_nand:256m@0k(root0),32m@256m(var),-(root1) root=mtd:roo t0 rootfstype=jffs2 rw
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 256MB 256MB = 512MB total
[ 0.000000] Memory: 246988k/246988k available, 277300k 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 : 0xa0800000 - 0xff000000 (1512 MB)
[ 0.000000] lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80671bdc (6567 kB)
[ 0.000000] .init : 0x80672000 - 0x806a1740 ( 190 kB)
[ 0.000000] .data : 0x806a2000 - 0x806e3da0 ( 264 kB)
[ 0.000000] .bss : 0x806e3da0 - 0x806ff438 ( 110 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU debugfs-based tracing is enabled.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:388
[ 0.000000] GIC CPU mask not found - kernel will fail to boot.
[ 0.000000] GIC CPU mask not found - kernel will fail to boot.
[ 0.000000] smp_twd: clock not found -2
[ 0.000000] Unable to get timer clock. Assuming 50Mhz input clock.
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4 294967ms
[ 0.000000] stb-timer: system timer (irq = 58, rate 50000000)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [ttyS0] enabled
[ 0.253190] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[ 0.342788] pid_max: default: 32768 minimum: 301
[ 0.347630] Mount-cache hash table entries: 512
[ 0.354196] CPU: Testing write buffer coherency: ok
[ 0.359330] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.364977] Setting up static identity map for 0x803de4b8 - 0x803de510
[ 0.371525] L310 cache controller enabled
[ 0.375448] l2x0: 8 ways, CACHE_ID 0x410004c4, AUX_CTRL 0x32421001, Cache siz e: 131072 B
[ 0.384164] Brought up 1 CPUs
[ 0.387043] SMP: Total of 1 processors activated (1196.85 BogoMIPS).
[ 0.393370] CPU: All CPU(s) started in SVC mode.
[ 0.398727] devtmpfs: initialized
[ 0.408887] NET: Registered protocol family 16
[ 0.413978] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.545344] GMAC0: active interface is 6
[ 0.549196] ChipID=0x1 ChipRevID=0x2
[ 0.552901] nx_dmac: Registered with 8 channels
[ 0.562217] bio: create slab <bio-0> at 0
[ 0.566727] GPIO: base febd5000 (phys e06d5000)
[ 0.571438] GPIO: base feb69000 (phys e0669000)
[ 0.576375] SCSI subsystem initialized
[ 0.580516] usbcore: registered new interface driver usbfs
[ 0.585938] usbcore: registered new interface driver hub
[ 0.591337] usbcore: registered new device driver usb
[ 0.596384] pps_core: LinuxPPS API ver. 1 registered
[ 0.601271] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it>
[ 0.610342] PTP clock support registered
[ 0.616038] Switching to clocksource timer_us
[ 0.627205] NET: Registered protocol family 2
[ 0.632395] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.639428] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.645875] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.652187] TCP: reno registered
[ 0.655330] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.661170] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.667637] NET: Registered protocol family 1
[ 0.672249] RPC: Registered named UNIX socket transport module.
[ 0.678069] RPC: Registered udp transport module.
[ 0.682769] RPC: Registered tcp transport module.
[ 0.687400] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.693982] PM: STB Platform power mgmt initialization.
[ 0.814071] cfg80211: Calling CRDA to update world regulatory domain
[ 0.821227] bounce pool size: 64 pages
[ 0.831063] NFS: Registering the id_resolver key type
[ 0.836058] Key type id_resolver registered
[ 0.840209] Key type id_legacy registered
[ 0.844152] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.850585] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.857945] msgmni has been set to 482
[ 0.862701] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 52)
[ 0.869985] io scheduler noop registered
[ 0.873932] io scheduler deadline registered
[ 0.878297] io scheduler cfq registered (default)
[ 0.883327] e06e2000.serial: ttyS0 at MMIO 0xe06e2000 (irq = 47) is a uart-ip 3106
[ 0.894739] loop: module loaded
[ 0.898200] ahci-stb e0638000.sata: unable to find phy
[ 0.903341] SATA: Adjusting los_lvl (rd_val=0x8a46, wr_val=0x8ae6)
[ 0.909415] SATA: Adjusting rx_term_en0/1 (rd_val=0x2750275, wr_val=0x2770277 )
Mir fällt halt "*** Warning - bad CRC or SFC, using default environment" auf. Kann aber die Auswirkungen nicht wirklich einschätzen.
Achso, USB-Emergency-Update mit aktuellem Image habe ich gemacht und läuft soweit ich das beurteilen kann fehlerfrei durch:
Code: Alles auswählen
Starting Microloader ASM built on окт 08 2015 09:37:26...
Initializing PLLs...
Initializing Clocks..
Initializing DDR PLLs/Clocks...
Initializing DDR controller...
Initializing data section...
Initializing stack ptr...
Switching to 'C' code...
Starting Microloader C...
Chip: APOLLO
Found External Realtek 8211EG PHY on GMAC0
Checking for Guide button press ...
GCS in ISA MODE
GCS: SFC DEVICE SETUP COMPLETE
MMC:No device found
BOX MAC OK!
BOX: Type: TANK Rev: 84900104
Setting up default ATAG list...
Jumping to U-Boot ...
BOOT_TIME: 1009 ms since POR
--------------------------------------------------------------------------------
| U-Boot 2009.08-00067-gebbd4b2 (Apr 03 2015 - 16:35:07) CST HDx |
|------------------------------------------------------------------------------|
| Chipset information |
| Vendor: NXP Type: Apollo Revision: M1 Fuses: 0015726E |
|------------------------------------------------------------------------------|
| Clock information |
| *** not available yet *** |
|------------------------------------------------------------------------------|
| Frontpanel information |
| Vendor: CST Version: 4.1 Display: OLED (256 x 64 px) |
|------------------------------------------------------------------------------|
| Memory configuration |
| Start | End | Type | Description |
|----------+----------+---------+----------------------------------------------|
| 00000000 | 0FFFFFFF | RAM | System main memory bank #0 (256M) |
| 20000000 | 2FFFFFFF | RAM | System main memory bank #1 (256M) |
| D0000000 | D03FFFFF | S-FLASH | Eon Silicon EN25Q32 ( 4M / 64K x 64) |
*** Warning - bad CRC or SFC, using default environment
| 00000000*| 3FFFFFFF*| NAND | Toshiba TC58NVG3S0F 8G 3.3V 8-bit |
|------------------------------------------------------------------------------|
| Network configuration |
| MAC: LIP 6300 address: 00-C5-5C-78-86-E5 |
--------------------------------------------------------------------------------
Hit any key to stop autoboot: 3
Emergency update from usb
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
reading uldr.bin
55560 bytes read
SFC erase: offset 0x0, size 0x40000
OK
SFC write: offset 0x0, size 0x40000
262144 bytes written: OK
reading u-boot.bin
347008 bytes read
SFC erase: offset 0x40000, size 0x80000
OK
SFC write: offset 0x40000, size 0x80000
524288 bytes written: OK
reading env.bin
** Unable to read "env.bin" from usb 0:1 **
** Skipping env.bin **
reading vmlinux.ub.gz
2971312 bytes read
SFC erase: offset 0x100000, size 0x300000
OK
SFC write: offset 0x100000, size 0x300000
3145728 bytes written: OK
reading rootfs.arm.jffs2.nand
66970008 bytes read
NAND erase: device 0 offset 0x0, size 0x10000000
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
Erasing at 0xffc0000 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x3fde198
66970008 bytes written: OK
** Invalid boot device **
** Skipping rootfs1.arm.jffs2.nand **
** Invalid boot device **
** Skipping var.arm.jffs2.nand **
resetting ...