Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

ix2-200 boots USB but not HDD (no replies)

$
0
0
My ix2-200 running stock is setup per Nobiscuit but I'm not able to boot from internal flash and disk. Works fine with USB boot to disk. When I flashed my uImage and uInitrd files to nand there was a bad block, not sure if that's the cause or how to resolve but here's the pertinent info:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep  8 2009 - 09:31:54) Marvell version: 3.4.14

Mapower version: 2.0 (32MB) (2009/09/08)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:32 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Fan lookup table initialized.

Current remote temperature: 40
Current fan speed: 0

Hit any key to stop autoboot:  0
Marvell>> usb start
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> setenv bootargs_console 'console=ttyS0,115200 mtdparts=orion_nand:0x300000@0x100000(uImage),0x1000000@0x540000(uInitrd) root=/dev/mapper/debian--vg-root rootdelay=10'
Marvell>> setenv bootargs $(bootargs_console)
Marvell>> ext2load usb 0:1 0x00800000 /uImage-new
....
.
......
............
.........................
...................................................
....................................................................................................

2076928 bytes read
Marvell>> ext2load usb 0:1 0x01100000 /uInitrd-new
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
....................................................................................................................................................................................................................................................................................................................................................................................................................
....
..................................................................................................................................................................................................................................................................................................

11411979 bytes read
Marvell>> bootm 0x00800000 0x01100000
## Booting image at 00800000 ...
   Image Name:   Linux-3.16.0-6
   Created:      2020-02-06  12:34:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2076864 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs
   Created:      2020-02-06  12:37:39 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11411915 Bytes = 10.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.16.0-6-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 Debian 3.16.56-1+deb8u1 (2018-05-08)
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell RD-88F6281 Reference Board
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x300000@0x100000(uImage),0x1000000@0x540000(uInitrd) root=/dev/mapper/debian--vg-root rootdelay=10
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 242372K/262144K available (3919K kernel code, 361K rwdata, 1444K rodata, 278K init, 289K bss, 19772K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05451c4   (5365 kB)
[    0.000000]       .init : 0xc0546000 - 0xc058b8dc   ( 279 kB)
[    0.000000]       .data : 0xc058c000 - 0xc05e6720   ( 362 kB)
[    0.000000]        .bss : 0xc05e6720 - 0xc062eb54   ( 290 kB)
[    0.000000] NR_IRQS:114
[    0.000015] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[   15.650214] Console: colour dummy device 80x30
[   15.650245] Calibrating delay loop... 989.18 BogoMIPS (lpj=1978368)
[   15.673949] pid_max: default: 32768 minimum: 301
[   15.674077] Security Framework initialized
[   15.674133] Yama: disabled by default; enable with sysctl kernel.yama.*
[   15.674226] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   15.674247] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   15.675208] Initializing cgroup subsys memory
[   15.675259] Initializing cgroup subsys devices
[   15.675324] Initializing cgroup subsys freezer
[   15.675357] Initializing cgroup subsys net_cls
[   15.675413] Initializing cgroup subsys blkio
[   15.675458] Initializing cgroup subsys perf_event
[   15.675486] Initializing cgroup subsys net_prio
[   15.675591] CPU: Testing write buffer coherency: ok
[   15.675707] ftrace: allocating 16386 entries in 33 pages
[   15.704432] Setting up static identity map for 0x3b4f90 - 0x3b4fe8
[   15.708526] devtmpfs: initialized
[   15.711599] futex hash table entries: 256 (order: -1, 3072 bytes)
[   15.712262] pinctrl core: initialized pinctrl subsystem
[   15.712840] regulator-dummy: no parameters
[   15.713401] NET: Registered protocol family 16
[   15.713860] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   15.715381] cpuidle: using governor ladder
[   15.715412] cpuidle: using governor menu
[   15.715519] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   15.715543] Feroceon L2: Enabling L2
[   15.715585] Feroceon L2: Cache support initialised.
[   15.718085] Kirkwood PCIe port 0: link down
[   15.718097] PCI: bus0 uses PCIe port 0
[   15.718370] PCI host bridge to bus 0000:00
[   15.718393] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   15.718407] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[   15.718420] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[   15.718820] PCI: bus0: Fast back to back transfers disabled
[   15.724247] Switched to clocksource orion_clocksource
[   15.750873] NET: Registered protocol family 2
[   15.752066] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   15.752110] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   15.752145] TCP: Hash tables configured (established 2048 bind 2048)
[   15.752215] TCP: reno registered
[   15.752230] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   15.752295] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   15.752519] NET: Registered protocol family 1
[   15.752887] Unpacking initramfs...
[   16.941298] Freeing initrd memory: 11140K (c1101000 - c1be2000)
[   16.942957] audit: initializing netlink subsys (disabled)
[   16.943043] audit: type=2000 audit(1.284:1): initialized
[   16.944052] zbud: loaded
[   16.944383] VFS: Disk quotas dquot_6.5.2
[   16.944444] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   16.944576] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   16.944839] msgmni has been set to 495
[   16.947202] alg: No test for stdrng (krng)
[   16.947341] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   16.947576] io scheduler noop registered
[   16.947762] io scheduler cfq registered (default)
[   16.948533] mv_xor mv_xor.0: Marvell shared XOR driver
[   16.968377] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   16.988373] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   16.988594] mv_xor mv_xor.1: Marvell shared XOR driver
[   17.008372] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   17.028372] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   17.028902] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   17.030113] console [ttyS0] disabled
[   17.050122] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[   17.572518] console [ttyS0] enabled
[   17.577734] nand: device found, Manufacturer ID: 0xad, Chip ID: 0x75
[   17.584149] nand: Hynix NAND 32MiB 3,3V 8-bit
[   17.588541] nand: 32MiB, SLC, page size: 512, OOB size: 16
[   17.594074] Scanning device for bad blocks
[   17.696104] Bad eraseblock 895 at 0x000000dfc000
[   17.780170] Bad eraseblock 1622 at 0x000001958000
[   17.831375] 2 cmdlinepart partitions found on MTD device orion_nand
[   17.837688] Creating 2 MTD partitions on "orion_nand":
[   17.842878] 0x000000100000-0x000000400000 : "uImage"
[   17.849359] 0x000000540000-0x000001540000 : "uInitrd"
[   17.856684] mousedev: PS/2 mouse device common for all mice
[   17.862893] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   17.868907] i2c /dev entries driver
[   17.872886] ledtrig-cpu: registered to indicate activity on CPUs
[   17.879277] TCP: cubic registered
[   17.882638] NET: Registered protocol family 17
[   17.888009] registered taskstats version 1
[   17.893506] rtc-mv rtc-mv: setting system clock to 2020-02-06 18:11:47 UTC (1581012707)
[   17.903579] Freeing unused kernel memory: 276K (c0546000 - c058b000)
Loading, please wait...
[   17.992106] systemd-udevd[47]: starting version 215
[   18.006887] random: systemd-udevd: uninitialized urandom read (16 bytes read, 1 bits of entropy available)
[   18.093199] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   18.137384] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address aa:00:00:00:00:01
[   18.171351] usbcore: registered new interface driver usbfs
[   18.201439] usbcore: registered new interface driver hub
[   18.219461] SCSI subsystem initialized
[   18.242684] usbcore: registered new device driver usb
[   18.265972] libphy: orion_mdio_bus: probed
[   18.282701] mvsdio mvsdio: no pins associated
[   18.288596] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   18.331674] ehci-orion: EHCI orion driver
[   19.428137] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:50:43:dd:0d:04
[   19.459632] sata_mv sata_mv.0: cannot get optional clkdev
[   19.474700] sata_mv sata_mv.0: slots 32 ports 2
[   19.485206] scsi0 : sata_mv
[   19.489077] scsi1 : sata_mv
[   19.492714] ata1: SATA max UDMA/133 irq 21
[   19.496855] ata2: SATA max UDMA/133 irq 21
[   19.501289] orion-ehci orion-ehci.0: EHCI Host Controller
[   19.508014] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   19.515912] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   19.532273] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   19.538466] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   19.545317] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.552595] usb usb1: Product: EHCI Host Controller
[   19.557511] usb usb1: Manufacturer: Linux 3.16.0-6-kirkwood ehci_hcd
[   19.563909] usb usb1: SerialNumber: orion-ehci.0
[   19.570073] hub 1-0:1.0: USB hub found
[   19.573911] hub 1-0:1.0: 1 port detected
[   19.888283] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   19.980293] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   20.000321] ata1.00: ATA-8: ST2000DM001-9YN164, CC4C, max UDMA/133
[   20.006555] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   20.032809] usb 1-1: New USB device found, idVendor=058f, idProduct=6254
[   20.039578] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   20.051855] hub 1-1:1.0: USB hub found
[   20.055859] hub 1-1:1.0: 4 ports detected
[   20.276342] ata1.00: configured for UDMA/133
[   20.281095] scsi 0:0:0:0: Direct-Access     ATA      ST2000DM001-9YN1 CC4C PQ: 0 ANSI: 5
[   20.344282] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   20.458685] usb 1-1.1: New USB device found, idVendor=154b, idProduct=005b
[   20.465623] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   20.472995] usb 1-1.1: Product: USB 2.0 FD
[   20.477130] usb 1-1.1: Manufacturer: PNY Technologies
[   20.482221] usb 1-1.1: SerialNumber: AD1CHD1200000071
[   20.499387] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   20.506132] scsi2 : usb-storage 1-1.1:1.0
[   20.512244] usbcore: registered new interface driver usb-storage
[   20.768294] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   20.788323] ata2.00: ATA-8: ST2000DM001-9YN164, CC4C, max UDMA/133
[   20.794551] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   21.072326] ata2.00: configured for UDMA/133
[   21.077083] scsi 1:0:0:0: Direct-Access     ATA      ST2000DM001-9YN1 CC4C PQ: 0 ANSI: 5
[   21.112652] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[   21.120475] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   21.126477] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[   21.134294] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   21.140962] sd 0:0:0:0: [sda] Write Protect is off
[   21.146120] sd 1:0:0:0: [sdb] Write Protect is off
[   21.151098] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   21.160351] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   21.192630]  sda: sda1
[   21.197041] sd 0:0:0:0: [sda] Attached SCSI disk
[   21.272077]  sdb: sdb1
[   21.276455] sd 1:0:0:0: [sdb] Attached SCSI disk
[   21.287191] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   21.293108] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   21.747052] scsi 2:0:0:0: Direct-Access     PNY      USB 2.0 FD       1100 PQ: 0 ANSI: 4
[   21.761494] sd 2:0:0:0: [sdc] 15814656 512-byte logical blocks: (8.09 GB/7.54 GiB)
[   21.773423] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   21.781401] sd 2:0:0:0: [sdc] Write Protect is off
[   21.787089] sd 2:0:0:0: [sdc] No Caching mode page found
[   21.792460] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[   21.804740]  sdc: sdc1
[   21.817625] sd 2:0:0:0: [sdc] Attached SCSI removable disk
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Begin: Assembling all MD arrays ... [   31.719841] random: nonblocking pool is initialized
[   31.730698] md: md0 stopped.
[   31.749502] md: bind<sdb1>
[   31.759358] md: bind<sda1>
[   31.780750] md: raid1 personality registered for level 1
[   31.787359] md/raid1:md0: active with 2 out of 2 mirrors
[   31.793070] created bitmap (15 pages) for device md0
[   31.803830] md0: bitmap initialized from disk: read 1 pages, set 0 of 29807 bits
[   31.872371] md0: detected capacity change from 0 to 2000263577600
[   31.892449]  md0: p1 p2 < p5 >
mdadm: /dev/md/0 has been started with 2 drives.
Success: assembled all arrays.
done.
[   32.137537] device-mapper: uevent: version 1.0.3
[   32.144452] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
done.
Begin: Running /scripts/local-premount ... [   32.713935] PM: Starting manual resume from disk
done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
[/sbin/fsck.ext4 (1) -- /dev/mapper/debian--vg-root] fsck.ext4 -a -C0 /dev/mapper/debian--vg-root
/dev/mapper/debian--vg-root: clean, 33576/122028032 files, 7902544/488095744 blocks
done.
[   34.229726] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   34.740323] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[   34.754061] systemd[1]: Detected architecture 'arm'.

Welcome to Debian GNU/Linux 8 (jessie)!

[   34.901342] systemd[1]: Inserted module 'autofs4'
[   34.955833] NET: Registered protocol family 10
[   34.961732] systemd[1]: Inserted module 'ipv6'
[   34.973842] systemd[1]: Set hostname to <debian>.
[   35.587984] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[   35.607070] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[   35.615275] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   35.623038] systemd[1]: Expecting device dev-ttyS0.device...
         Expecting device dev-ttyS0.device...
[   35.640473] systemd[1]: Starting Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[   35.656413] systemd[1]: Reached target Remote File Systems (Pre).
[   35.662793] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[   35.684426] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   35.694054] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[   35.702413] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   35.710546] systemd[1]: Starting Paths.
[  OK  ] Reached target Paths.
[   35.724414] systemd[1]: Reached target Paths.
[   35.728962] systemd[1]: Expecting device dev-mapper-debian\x2d\x2dvg\x2dswap_1.device...
         Expecting device dev-mapper-debian\x2d\x2dvg\x2dswap_1.device...
[   35.748449] systemd[1]: Expecting device dev-disk-by\x2duuid-c0abad6a\x2d44f2\x2d4ff6\x2d875e\x2db1af51953e5b.device...
         Expecting device dev-disk-by\x2duuid-c0abad6a\x2d44f...53e5b.device...
[   35.772431] systemd[1]: Starting Root Slice.
[  OK  ] Created slice Root Slice.
[   35.784409] systemd[1]: Created slice Root Slice.
[   35.789283] systemd[1]: Starting User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   35.804414] systemd[1]: Created slice User and Session Slice.
[   35.810328] systemd[1]: Starting Delayed Shutdown Socket.
[  OK  ] Listening on Delayed Shutdown Socket.
[   35.824417] systemd[1]: Listening on Delayed Shutdown Socket.
[   35.830333] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   35.848414] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   35.855551] systemd[1]: Starting Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   35.872412] systemd[1]: Listening on Journal Socket (/dev/log).
[   35.878507] systemd[1]: Starting LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
[   35.896409] systemd[1]: Listening on LVM2 metadata daemon socket.
[   35.902673] systemd[1]: Starting Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[   35.920410] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[   35.927140] systemd[1]: Starting udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   35.944411] systemd[1]: Listening on udev Control Socket.
[   35.950012] systemd[1]: Starting udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   35.964411] systemd[1]: Listening on udev Kernel Socket.
[   35.969918] systemd[1]: Starting Journal Socket.
[  OK  ] Listening on Journal Socket.
[   35.984414] systemd[1]: Listening on Journal Socket.
[   35.989642] systemd[1]: Starting System Slice.
[  OK  ] Created slice System Slice.
[   36.004417] systemd[1]: Created slice System Slice.
[   36.009529] systemd[1]: Started File System Check on Root Device.
[   36.015767] systemd[1]: Starting system-systemd\x2dfsck.slice.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[   36.032419] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   36.038860] systemd[1]: Starting system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   36.056414] systemd[1]: Created slice system-getty.slice.
[   36.061981] systemd[1]: Starting system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   36.080414] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   36.086946] systemd[1]: Starting Increase datagram queue length...
         Starting Increase datagram queue length...
[   36.193221] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   36.212866] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required static device nodes...rrent kernel...
[   36.258167] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[   36.370844] systemd[1]: Started Set Up Additional Binary Formats.
[   36.377229] systemd[1]: Mounted Huge Pages File System.
[   36.382643] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[   36.399871] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   36.423657] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   36.459825] systemd[1]: Starting Slices.
[  OK  ] Reached target Slices.
[   36.484524] systemd[1]: Reached target Slices.
[  OK  ] Mounted POSIX Message Queue File System.
[   36.507482] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[   36.541619] systemd[1]: Mounted Debug File System.
[  OK  ] Started Increase datagram queue length.
[   36.560434] systemd[1]: Started Increase datagram queue length.
[  OK  ] Started Load Kernel Modules.
[   36.576416] systemd[1]: Started Load Kernel Modules.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[   36.597313] systemd[1]: Started Create list of required static device nodes for the current kernel.
[   36.646483] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
[   36.700491] systemd[1]: Started Remount Root and Kernel File Systems.
[  OK  ] Started udev Coldplug all Devices.
[   36.744447] systemd[1]: Started udev Coldplug all Devices.
[   36.895844] systemd[1]: Starting udev Wait for Complete Device Initialization...
         Starting udev Wait for Complete Device Initialization...
[   36.955547] systemd[1]: Started Various fixups to make systemd work better on Debian.
[   36.964188] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[   36.984559] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   37.008177] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   37.042352] systemd[1]: Mounted Configuration File System.
[   37.055569] systemd[1]: Mounted FUSE Control File System.
[   37.061374] systemd[1]: Starting Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   37.084500] systemd[1]: Listening on Syslog Socket.
[   37.091298] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[   37.124648] systemd[1]: Started Journal Service.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  [   37.382636] systemd-udevd[190]: starting version 215
] Started udev Kernel Device Manager.
         Starting LSB: MD array assembly...
[  OK  ] Started udev Wait for Complete Device Initialization.
         Starting Activation of LVM2 logical volumes...
         Starting Copy rules generated while the root was ro...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started LSB: MD array assembly.
[   38.068534] MV-CESA:Could not register sha1 driver
[   38.073646] MV-CESA:Could not register hmac-sha1 driver
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Activation of LVM2 logical volumes.
[  OK  ] Created slice system-ifup.slice.
[  OK  ] Reached target Encrypted Volumes.
         Starting Activation of LVM2 logical volumes...
[  OK  ] Found device /dev/mapper/debian--vg-swap_1.
         Activating swap /dev/mapper/debian--vg-swap_1...
         Starting MD array monitor...
[  OK  ] Started MD array monitor.
[   39.246414] Adding 741372k swap on /dev/mapper/debian--vg-swap_1.  Priority:-1 extents:1 across:741372k FS
[  OK  ] Found device /dev/disk/by-uuid/c0abad6a-44f2-4ff6-875e-b1af51953e5b.
[  OK  ] Activated swap /dev/mapper/debian--vg-swap_1.
[  OK  ] Started Activation of LVM2 logical volumes.
         Starting Monitoring of LVM2 mirrors, snapshots etc. ...ress polling...
[  OK  ] Reached target Swap.
         Starting File System Check on /dev/disk/by-uuid/c0ab...b1af51953e5b...
[  OK  ] Started Monitoring of LVM2 mirrors, snapshots etc. u...ogress polling.
[   24.097248] systemd-fsck[250]: /dev/md0p1: clean, 19/62248 files, 38109/248976 blocks
[  OK  ] Started File System Check on /dev/disk/by-uuid/c0aba...e-b1af51953e5b.
         Mounting /boot...
[   39.859363] EXT4-fs (md0p1): mounting ext2 file system using the ext4 subsystem
[   40.020911] EXT4-fs (md0p1): mounted filesystem without journal. Opts: (null)
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Raise network interfaces....
[   40.178847] systemd-journald[188]: Received request to flush runtime journal from PID 1
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[   41.742959] mv643xx_eth_port mv643xx_eth_port.1 eth1: link down
[   41.750276] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  OK  ] Started LSB: Raise network interfaces..
         Starting ifup for eth1...
[  OK  ] Started ifup for eth1.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: RPC portmapper replacement...
[  OK  ] Started LSB: RPC portmapper replacement.
[  OK  ] Reached target RPC Port Mapper.
         Starting LSB: NFS support files common to client and server...
[   42.989617] RPC: Registered named UNIX socket transport module.
[   42.995621] RPC: Registered udp transport module.
[   43.000363] RPC: Registered tcp transport module.
[   43.005103] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   43.033226] FS-Cache: Loaded
[   43.081250] FS-Cache: Netfs 'nfs' registered for caching
[   43.168966] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[  OK  ] Started LSB: NFS support files common to client and server.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting Deferred execution scheduler...
[  OK  ] Started Deferred execution scheduler.
         Starting OpenBSD Secure Shell server...
         Starting /etc/rc.local Compatibility...
         Starting Login Service...
         Starting LSB: exim Mail Transport Agent...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting System Logging Service...
         Starting Permit User Sessions...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Permit User Sessions.
[   44.113643] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, full duplex, flow control disabled
[   44.123748] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  OK  ] Started System Logging Service.
[  OK  ] Started Login Service.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: exim Mail Transport Agent.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password:
Last login: Thu Feb  6 10:15:30 EST 2020 on ttyS0
Linux debian 3.16.0-6-kirkwood #1 Debian 3.16.56-1+deb8u1 (2018-05-08) armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~#

Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1f00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:dd:0d:04
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
FanHysteresis=2
FanTempStart=58
uboot_start=0x0
uboot_size=0xc0000
env_start=0xa0000
env_size=0x20000
kernel_start=0x100000
kernel_size=0x300000
initrd_start=0x540000
initrd_size=0x300000
flash_load=run make_boot_args load1 load2 boot
load1=nand read.e 0x2000000 $(kernel_start) $(kernel_size)
load2=nand read.e 0x4500000 $(initrd_start) $(initrd_size)
boot=bootm 0x2000000 0x4500000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)128m@0x0(flash);
iomega=123
ethaddr=AA:00:00:00:00:01
arcNumber=1682
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000@0x000000(uboot)ro,0x20000@0xA0000(uboot_env),0x300000@0x100000(uImage),0x1000000@0x540000(uInitrd)
bootcmd=setenv bootargs $(bootargs_console); nand read 0x800000 uImage; nand read 0x1100000 uInitrd; bootm 0x00800000 0x01100000
bootargs_console=console=ttyS0,115200 mtdparts=orion_nand:0x30000@0x100000(uImage),0x1000000@0x540000(uInitrd) root=/dev/mapper/debian--vg-root rootdelay=10
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=yes
ethact=egiga1

Environment size: 2344/16380 bytes
Marvell>> boot

NAND read: device 0 offset 0x100000, size 0x300000
 3145728 bytes read: OK

NAND read: device 0 offset 0x540000, size 0x1000000
 16777216 bytes read: ERROR
## Booting image at 00800000 ...
   Image Name:   Linux-3.16.0-6
   Created:      2020-02-06  12:34:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2076864 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs
   Created:      2020-02-06  12:37:39 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11411915 Bytes = 10.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... Bad Data CRC

Viewing all articles
Browse latest Browse all 3247

Trending Articles