Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all 901 articles
Browse latest View live

Netconsole help (2 replies)

$
0
0
I would like to use netconsole to monitor the boot process on my GoFlexHome unit but am unsure as to how to run it. I've read:-

https://forum.doozan.com/read.php?3,14

but am unclear as to how to run the commands mentioned, eg

fw_setenv serverip 192.168.1.2
fw_setenv ipaddr 192.168.1.100
fw_setenv if_netconsole 'ping $serverip'

Where do I enter these? Do they need to appended to /boot/uEnv.txt on the USB stick I use for booting?

Debian and Arch Linux rootfs differences (no replies)

$
0
0
I created an Arch Linux bootable USB stick for my GoFlexHome unit the other day and it only required the rootfs to be extracted and was bootable. In contrast a number of additional steps are needed before making Debian installation bootable. With Arch Linux /boot only contains uImage and initramfs-linux.img so I'm wondering how it manages to boot...

GoFlexHome u-boot 2017-07-tld-1 (3 replies)

$
0
0
I'm trying to update u-boot on a GoFlexHome dock according to instructions here:-

https://forum.doozan.com/read.php?3,12381

I've downloaded uboot.2017.07-tld-1.goflexhome.bodhi.tar from https://bitly.com/2zQWP4Y , and made sure I made the appropriate tools.

/etc/fw_env.config has been copied

running cat /proc/mtd gives me:-

dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd2: 0ff00000 00020000 "rootfs"

rather than what it suggested:-

dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "rootfs"
mtd3: 0db00000 00020000 "data"

...so I'm not at sure how to proceed.

GoFlexHome (2 replies)

$
0
0
So I feel not smart, and specifically, that special kind that comes from trying to be smart. Like when you try to outsmart your car to get it to let you lock it with it running only to later find the keyless doesn't work with it running.

I have a GoFlexHome that I recall installing ArchLinuxARM onto years ago. Afterwards I secured it by changing the ssh port and setting publickey only for ssh. Because of lack of use and the changes that happen over time I don't have the ssh key.

Is it possible to get this to boot a flash drive instead of its internal OS?

Any other ideas for accessing it would be awesome as well.

Saving GoFlexHome stock firmware (no replies)

$
0
0
I've just acquired another GoFlexHome dock and wondered if there is any way to save the stock firmware before I start installing my own U-Boot...

Pogoplug Pro OXNAS with entirely corrupt NAND (no replies)

$
0
0
I found a Pogoplug Pro that was destined for the trash bin. NAND appears to be completely fried on the device. I have serial console working on another device, so I'm sure I can get it working here too.

I've seen mention of a workaround when NAND is either dead or has bad blocks to allow booting entirely from SATA, but I can't track down the directions to do so. Any guidance in finding them would be appreciated.

UPDATE: I think I found the link. Time to give this a try
https://forum.doozan.com/read.php?3,16017,17297#msg-17297

UPDATE2: https://forum.doozan.com/read.php?2,32994

Marvell Dreamplug U-Boot-2017.07-tld-1 (1 reply)

$
0
0
This is the official released version for Marvell Dreamplug U-Boot-2017.07-tld-1.

I am writing the installation instruction for this u-boot.

In the mean time, here is the download link.

Download at Dropbox

uboot.2017.07-tld-1.dreamplug.bodhi.tar
md5:
1ddc6849ba7464e2a0465d45a9c07c00
sha256:
f2e761d5c786db7777809a36deda67ca9c6bdf44e14ff227d8f6ca51d26900d2

Unbrick a Pogoplug Pro (v3/OXNAS?) (3 replies)

$
0
0
Greetings,

After much success with my Pogoplug v4/mobile, I figured I would try to get my larger v3/Oxnas boards working. I seem to have bricked one right out of the gate. I have a sinking suspicion I have misidentified the board and flashed the wrong u-boot. Here's a picture of the board: https://photos.app.goo.gl/kOVyY9wPaZftWUif1

Here's what I've got. The flash went through without errors as far as I can see (nothing that looked out of the ordinary from my first attempts at flashing a board) but now I have no boot, no serial console, no response at boot other than the power LED coming on. Here's the link to the steps I took to flash the board: https://hastebin.com/edoqipelis.makefile

I have the plug fully disassembled now and I've gone hunting for a jtag interface, but I don't see one. Am I SOL here? The board was cheap so if I have to cut my losses that's fine, but I am pretty sure that this should be recoverable. I've got a bus pirate available, but I'm not as well versed in the ways of its use as I'd like to be.

Testing for Marvell Dreamplug U-Boot-2017.07-tld-1 (no replies)

$
0
0
I used kwboot with the latest kernel and rootfs.

Linux debian 4.13.5-kirkwood-tld-1
Debian-4.12.1-kirkwood-tld-1-rootfs
uboot.2017.07-tld-1.dreamplug

Which produces the already known.

[   22.738932] Bluetooth: Core ver 2.22
[   22.765495] NET: Registered protocol family 31
[   22.773351] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   22.773365] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sd8787_uapsta.bin
[   22.773372] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device
[   22.905521] Bluetooth: HCI device and connection manager initialized
[   22.911919] Bluetooth: HCI socket layer initialized
[   22.951340] Bluetooth: L2CAP socket layer initialized
[   22.974357] Bluetooth: SCO socket layer initialized
[   23.016767] Bluetooth: vendor=0x2df, device=0x911a, class=255, fn=2
[   23.155334] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   23.164959] Bluetooth: request_firmware(firmware) failed, error code = -2
[   23.171831] Bluetooth: Failed to download firmware!
[   23.176778] Bluetooth: Downloading firmware failed!
[   23.181941] Bluetooth: vendor=0x2df, device=0x911b, class=255, fn=3
[   23.305320] btmrvl_sdio mmc0:0001:3: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   23.314932] Bluetooth: request_firmware(firmware) failed, error code = -2
[   23.321791] Bluetooth: Failed to download firmware!
[   23.326739] Bluetooth: Downloading firmware failed!
done.

From https://forum.doozan.com/read.php?2,29065

bodhi Wrote:
-------------------------------------------------------
>
> After booted into Debian, to get Wifi, Bluetooth,
> and the SD card working, install libertas firmware
> (this is available in jessie non-free apt
> sources):
>
> apt-get install firmware-libertas
>
>
Will need to add non-free to the sources.list though.

deb http://ftp.us.debian.org/debian stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free

deb     http://http.debian.net/debian stretch-updates main contrib non-free

Which results in:

[   28.028657] Bluetooth: Core ver 2.22
[   28.056967] NET: Registered protocol family 31
[   28.082389] Bluetooth: HCI device and connection manager initialized
[   28.116436] Bluetooth: HCI socket layer initialized
[   28.143463] Bluetooth: L2CAP socket layer initialized
[   28.180334] Bluetooth: SCO socket layer initialized
[   28.713951] mwifiex_sdio mmc0:0001:1: info: FW download over, size 463240 bytes
[   28.845309] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   28.850835] Bluetooth: vendor=0x2df, device=0x911a, class=255, fn=2
[   29.455683] sdio platform data not available
[   29.457487] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[   29.468813] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during	initialization
[   29.501354] Bluetooth: vendor=0x2df, device=0x911b, class=255, fn=3
[   29.509416] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (14.66.35.p52)
[   29.509424] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (14.66.35.p52)
done (timeout).
[ ok ] Activating swap:.
[  148.591864] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location i[ ok table..
[  149.645249] Bluetooth: FW failed to be active in time!
[  149.650480] Bluetooth: Downloading firmware failed!

update & upgrade did not change outcome nor did adding proposed-updates and backports.

Do I need to blacklist drivers?

Should I drop back to just 4.12 kernel & rootfs and retry?

What would you want me to do to try and chase this down?

stock pogoV4: fw_printenv gives "Bad CRC: using default environment" (1 reply)

$
0
0
I apologize because I'm pretty sure I've dealt with this issue before, but I can't remember the (probably trivial) way around it:

Stock PogoPlug V4, I managed to enable SSH via serial connection and am just starting to try to install uBoot. I downloaded the (current, I believe) U-boot flashing utilities and get the following error on fw_printenv:
/tmp # fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
/tmp #

Is this to be expected because I'm on stock? Do I need to be using blparam instead? Are my questions even sensible?


[EDIT: as I suggested in next post, I'm guessing that I can just ignore this and jump to extracting the uBoot archive. If that's right, don't waste your time reading below this line]

For reference:
/tmp # cat /etc/fw_env.config
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is ignored on NOR.

# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd0               0xc0000         0x20000         0x20000
/tmp #

/tmp # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"
/tmp #

/tmp # uname -a
Linux Pogoplug 2.6.31.8 #5 Wed Sep 28 12:09:12 PDT 2011 armv5tel GNU/Linux
/tmp #


/tmp # dmesg
<5>[    0.000000] Linux version 2.6.31.8 (afenn@kt) (gcc version 4.3.2 (sdk3.3-ct-ng-1.4.1) ) #5 Wed Sep 28 12:09:12 PDT 2011
<4>[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
<4>[    0.000000] CPU: VIVT data cache, VIVT instruction cache
<4>[    0.000000] Machine: Feroceon-KW
<4>[    0.000000] Using UBoot passing parameters structure
<4>[    0.000000] Ignoring unrecognised tag 0x41004345
<4>[    0.000000] Memory policy: ECC disabled, Data cache writeback
<7>[    0.000000] On node 0 totalpages: 32768
<7>[    0.000000] free_area_init_node: node 0, pgdat c0413670, node_mem_map c042d000
<7>[    0.000000]   Normal zone: 256 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
<5>[    0.000000] Kernel command line: console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=4,2048 rootfstype=ubifs
<4>[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
<6>[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[    0.000000] Memory: 128MB = 128MB total
<5>[    0.000000] Memory: 118356KB available (3852K code, 261K data, 124K init, 0K highmem)
<6>[    0.000000] Hierarchical RCU implementation.
<6>[    0.000000] NR_IRQS:128
<4>[    0.000000] Console: colour dummy device 80x30
<6>[    0.000000] Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
<4>[    0.230000] Mount-cache hash table entries: 512
<6>[    0.230000] CPU: Testing write buffer coherency: ok
<6>[    0.230000] NET: Registered protocol family 16
<6>[    0.230000] Feroceon L2: Enabling L2
<6>[    0.230000] Feroceon L2: Cache support initialised.
<4>[    0.230000]
<4>[    0.230000] CPU Interface
<4>[    0.230000] -------------
<4>[    0.230000] SDRAM_CS0 ....base 00000000, size 128MB
<4>[    0.230000] SDRAM_CS1 ....disable
<4>[    0.230000] SDRAM_CS2 ....disable
<4>[    0.230000] SDRAM_CS3 ....disable
<4>[    0.230000] PEX0_MEM ....base e0000000, size 128MB
<4>[    0.230000] PEX0_IO ....base f2000000, size   1MB
<4>[    0.230000] PEX1_MEM ....no such
<4>[    0.230000] PEX1_IO ....no such
<4>[    0.230000] INTER_REGS ....base f1000000, size   1MB
<4>[    0.230000] NFLASH_CS ....base fa000000, size   2MB
<4>[    0.230000] SPI_CS ....base f4000000, size  16MB
<4>[    0.230000] BOOT_ROM_CS ....no such
<4>[    0.230000] DEV_BOOTCS ....no such
<4>[    0.230000] CRYPT_ENG ....base f0000000, size   2MB
<4>[    0.230000]
<4>[    0.230000]   Marvell Development Board (LSP Version KW_LSP_5.1.3_patch18)-- RD-88F6192A-NAS  Soc: 88F6192 A1 LE
<4>[    0.230000]
<4>[    0.230000]  Detected Tclk 166666667 and SysClk 200000000
<4>[    0.230000] Marvell USB EHCI Host controller #0: c403e740
<4>[    0.730000] PEX0 interface detected Link X1
<7>[    0.730000] pci 0000:00:01.0: reg 10 64bit mmio: [0x40000000-0x4000ffff]
<7>[    0.730000] pci 0000:00:01.0: reg 18 64bit mmio: [0x40010000-0x40010fff]
<7>[    0.730000] pci 0000:00:01.0: reg 20 64bit mmio: [0x40011000-0x40011fff]
<7>[    0.740000] pci 0000:00:01.0: supports D1
<6>[    0.740000] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
<6>[    0.740000] pci 0000:00:01.0: PME# disabled
<6>[    0.740000] PCI: bus0: Fast back to back transfers disabled
<4>[    0.740000] mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
<4>[    0.750000] bio: create slab <bio-0> at 0
<5>[    0.750000] SCSI subsystem initialized
<6>[    0.750000] usbcore: registered new interface driver usbfs
<6>[    0.750000] usbcore: registered new interface driver hub
<6>[    0.750000] usbcore: registered new device driver usb
<6>[    0.750000] NET: Registered protocol family 2
<6>[    0.750000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.750000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<6>[    0.750000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.750000] TCP: Hash tables configured (established 4096 bind 4096)
<6>[    0.750000] TCP reno registered
<6>[    0.750000] NET: Registered protocol family 1
<6>[    0.750000] cpufreq: Init kirkwood cpufreq driver
<7>[    0.750000] cpufreq: High frequency: 800000KHz - Low frequency: 200000KHz
<7>[    0.750000] cpufreq: Setting CPU Frequency to 800000 KHz
<7>[    0.750000] cpufreq: Setting PowerSaveState to off
<6>[    0.760000] XOR registered 4 channels
<6>[    0.760000] XOR 2nd invalidate WA enabled
<4>[    0.760000] cesadev_init(c000d7fc)
<4>[    0.760000] mvCesaInit: sessions=640, queue=64, pSram=f0000000
<6>[    0.760000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.770000] msgmni has been set to 231
<6>[    0.770000] alg: No test for cipher_null (cipher_null-generic)
<6>[    0.770000] alg: No test for ecb(cipher_null) (ecb-cipher_null)
<6>[    0.770000] alg: No test for digest_null (digest_null-generic)
<6>[    0.770000] alg: No test for compress_null (compress_null-generic)
<6>[    0.780000] alg: No test for stdrng (krng)
<6>[    0.780000] alg: No test for hmac(digest_null) (hmac(digest_null-generic))
<6>[    0.790000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
<6>[    0.790000] io scheduler noop registered
<6>[    0.790000] io scheduler anticipatory registered (default)
<4>[    0.790000] Initializing ths8200_init
<4>[    0.790000] Initializing dove_adi9889_init
<6>[    0.810000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
<6>[    0.810000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
<6>[    0.810000] console [ttyS0] enabled
<4>[    0.820000] Integrated Sata device found
<4>[    0.830000] IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
<6>[    0.850000] scsi0 : Marvell SCSI to SATA adapter
<6>[    0.860000] scsi1 : Marvell SCSI to SATA adapter
<4>[    0.870000] Loading Marvell Ethernet Driver:
<4>[    0.870000]   o Cached descriptors in DRAM
<4>[    0.880000]   o DRAM SW cache-coherency
<4>[    0.880000]   o 1 Giga ports supported
<4>[    0.880000]   o Single RX Queue support - ETH_DEF_RXQ=0
<4>[    0.890000]   o Single TX Queue support - ETH_DEF_TXQ=0
<4>[    0.890000]   o TCP segmentation offload (TSO) supported
<4>[    0.900000]   o Large Receive offload (LRO) supported
<4>[    0.900000]   o Receive checksum offload supported
<4>[    0.910000]   o Transmit checksum offload supported
<4>[    0.910000]   o Network Fast Processing (Routing) supported - (Disabled)
<4>[    0.920000]   o Driver ERROR statistics enabled
<4>[    0.930000]   o Proc tool API enabled
<4>[    0.930000]   o SKB Reuse supported - (Disabled)
<4>[    0.930000]   o SKB Recycle supported - (Disabled)
<4>[    0.940000]   o Rx descripors: q0=128
<4>[    0.940000]   o Tx descripors: q0=532
<4>[    0.950000]   o Loading network interface(s):
<4>[    0.950000]      o register under mv88fx_eth platform
<4>[    0.960000]      o eth0, ifindex = 2, GbE port = 0
<4>[    0.960000]
<4>[    0.960000] mvFpRuleDb (c45b1000): 1024 entries, 4096 bytes
<4>[    0.970000] Counter=0, opIdx=6, overhead=16
<4>[    0.970000] Counter=1, opIdx=2, overhead=0
<4>[    0.980000] Counter=2, opIdx=1, overhead=18
<4>[    0.980000] Counter=3, opIdx=2, overhead=0
<6>[    0.990000] tun: Universal TUN/TAP device driver, 1.6
<6>[    0.990000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    1.000000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
<6>[    1.010000] Scanning device for bad blocks
<4>[    1.020000] Bad eraseblock 112 at 0x000000e00000
<4>[    1.030000] Bad eraseblock 321 at 0x000002820000
<4>[    1.070000] Using static partition definition
<5>[    1.070000] Creating 5 MTD partitions on "nand_mtd":
<5>[    1.070000] 0x000000000000-0x000000200000 : "u-boot"
<5>[    1.080000] 0x000000200000-0x000000500000 : "uImage"
<5>[    1.090000] 0x000000500000-0x000000800000 : "uImage2"
<5>[    1.090000] 0x000000800000-0x000001000000 : "failsafe"
<5>[    1.100000] 0x000001000000-0x000008000000 : "root"
<5>[    1.100000] UBI: attaching mtd4 to ubi0
<5>[    1.110000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
<5>[    1.110000] UBI: logical eraseblock size:    126976 bytes
<5>[    1.120000] UBI: smallest flash I/O unit:    2048
<5>[    1.120000] UBI: sub-page size:              512
<5>[    1.130000] UBI: VID header offset:          2048 (aligned 2048)
<5>[    1.140000] UBI: data offset:                4096
<5>[    1.360000] UBI: attached mtd4 to ubi0
<5>[    1.360000] UBI: MTD device name:            "root"
<5>[    1.370000] UBI: MTD device size:            112 MiB
<5>[    1.370000] UBI: number of good PEBs:        895
<5>[    1.380000] UBI: number of bad PEBs:         1
<5>[    1.380000] UBI: max. allowed volumes:       128
<5>[    1.390000] UBI: wear-leveling threshold:    4096
<5>[    1.390000] UBI: number of internal volumes: 1
<5>[    1.400000] UBI: number of user volumes:     1
<5>[    1.400000] UBI: available PEBs:             0
<5>[    1.410000] UBI: total number of reserved PEBs: 895
<5>[    1.410000] UBI: number of PEBs reserved for bad PEB handling: 8
<5>[    1.420000] UBI: max/mean erase counter: 1/0
<5>[    1.420000] UBI: image sequence number: 0
<6>[    1.420000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>[    1.430000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
<6>[    1.440000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
<5>[    1.450000] UBI: background thread "ubi_bgt0d" started, PID 452
<6>[    1.480000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
<6>[    1.500000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
<6>[    1.500000] usb usb1: configuration #1 chosen from 1 choice
<6>[    1.510000] hub 1-0:1.0: USB hub found
<6>[    1.510000] hub 1-0:1.0: 1 port detected
<6>[    1.520000] xhci_hcd 0000:00:01.0: xHCI Host Controller
<6>[    1.520000] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
<6>[    1.530000] xhci_hcd 0000:00:01.0: irq 9, io mem 0xe0000000
<4>[    1.540000] usb usb2: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor
<6>[    1.550000] usb usb2: configuration #1 chosen from 1 choice
<7>[    1.550000] xHCI xhci_add_endpoint called for root hub
<7>[    1.550000] xHCI xhci_check_bandwidth called for root hub
<6>[    1.550000] hub 2-0:1.0: USB hub found
<6>[    1.560000] hub 2-0:1.0: 4 ports detected
<6>[    1.560000] Initializing USB Mass Storage driver...
<6>[    1.560000] usbcore: registered new interface driver usb-storage
<6>[    1.570000] USB Mass Storage support registered.
<6>[    1.580000] usbcore: registered new interface driver ums-datafab
<6>[    1.580000] usbcore: registered new interface driver ums-freecom
<6>[    1.590000] usbcore: registered new interface driver ums-jumpshot
<6>[    1.590000] usbcore: registered new interface driver ums-sddr09
<6>[    1.600000] usbcore: registered new interface driver ums-sddr55
<6>[    1.610000] usbcore: registered new interface driver ums-usbat
<6>[    1.610000] mice: PS/2 mouse device common for all mice
<6>[    1.620000] i2c /dev entries driver
<7>[    1.620000] cpufreq: Setting CPU Frequency to 800000 KHz
<7>[    1.620000] cpufreq: Setting PowerSaveState to off
<6>[    1.630000] sdhci: Secure Digital Host Controller Interface driver
<6>[    1.630000] sdhci: Copyright(c) Pierre Ossman
<5>[    1.640000] mmc0: mvsdio driver initialized, using GPIO 27 for card detection
<6>[    1.650000] usbcore: registered new interface driver usbhid
<6>[    1.650000] usbhid: v2.6:USB HID core driver
<6>[    1.660000] TCP cubic registered
<6>[    1.660000] NET: Registered protocol family 17
<6>[    1.670000] RPC: Registered udp transport module.
<6>[    1.670000] RPC: Registered tcp transport module.
<4>[    1.680000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
<5>[    1.750000] UBIFS: recovery needed
<5>[    2.540000] UBIFS: recovery completed
<5>[    2.550000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
<5>[    2.550000] UBIFS: file system size:   110723072 bytes (108128 KiB, 105 MiB, 872 LEBs)
<5>[    2.560000] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
<5>[    2.570000] UBIFS: media format:       w4/r0 (latest is w4/r0)
<5>[    2.570000] UBIFS: default compressor: lzo
<5>[    2.580000] UBIFS: reserved for root:  0 bytes (0 KiB)
<4>[    2.580000] VFS: Mounted root (ubifs filesystem) on device 0:11.
<6>[    2.590000] Freeing init memory: 124K
<5>[    4.960000] eth0: link down
<5>[    4.970000] eth0: started
<5>[    6.000000] eth0: link up, full duplex, speed 1 Gbps
/tmp #

armada 370 (88f6710) mainline uboot support (3 replies)

$
0
0
Hi bodhi,
I have a device use the armada 370 soc,but there is no mainline uboot support.And I found someone make some patch to support the armada 370 see: https://sites.google.com/site/shihsung/88fxxxx-soc

Is there anyway to port that patch to the mainline uboot?

My device hardware info:
Soc :Marvell armada370 ARMv7 1.2G
Switch: Marvell 88E6171R 100/1000M 5 Port
DDR3 1G or 512MB
NAND FLASH 4GB
SATA2: 2 Port and 12V power Port: 2 socket
Minipci-e: 2 slot (include 4G LTE support)
SIM : 1 socket
GPIO .......

see also : https://forum.openwrt.org/viewtopic.php?pid=237049#p237049

*** ERROR: `ethaddr' not set (1 reply)

$
0
0
I wanted to change the IP address of my GoFlexHome unit, so I ran:-
fw_setenv ipaddr 192.168.1.23

at a Debian command prompt. On reboot and stopping U-Boot and trying tftp xxxxxx yyyyy, I got an error msg saying "*** ERROR: `ethaddr' not set".
t
I did not change ethaddr so why is it not set and how do I go about setting it to its previous value?

help install u-boot on lenovo ix2-ng (1 reply)

$
0
0
my storage is broken
I accidentally overwritten the bootloader and looking for a recovery method
help who can

NSA325v2 u-boot installation problem (4 replies)

$
0
0
Hi guys!
Yesterday night I tried to update u-boot on my NSA325v2 with stock firmware.
I followed all of the instructions until the step 8.b and I forgot to do the step 8.c:
fw_printenv > current_envs.txt
I went on until:

Quote
bodhi
Then for all boxes, restore these 2 envs using the saved envs text in step c (replace xxx with the real saved values)
fw_setenv mtdparts 'xxxxxxxxx'
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'

Luckily I saved my mtd0 and the environment at step 3:

Quote
bodhi
Dumping NAND mtd0:
nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0
Save envs:
fw_printenv > current_envs.txt

The problem is that I stored the last files in the hard drive of the NAS (configured in RAID 1).
Finally at step 8.f, thinking to still reboot with the stock firmware, I used
fw_setenv dtb_file
and rebooted the NAS.

Now, the NAS doesn't boot, but I have an active serial console.
How can I boot the stock firmware (preserving the new u-boot to install debian in future)?
If I boot the stock firmware I will be able to access to the environment file stored on it and set the right mtdparts and ethaddr.

Thank you for help!

Ivan

From stock to uboot.2017.07-tld-1.goflexhome.mtd0.kwb (1 reply)


Beaglebone support (1 reply)

FreeBSD on GoFlexHome (3 replies)

$
0
0
After many months of trying and thanks to the patience of bodhi I have got this far:-

U-Boot 2017.05-tld-2 (Jul 26 2017 - 02:37:42 -0700)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
*** Unhandled DHCP Option in OFFER/ACK: 125
*** Unhandled DHCP Option in OFFER/ACK: 125
DHCP client bound to address 192.168.1.54 (1038 ms)
*** Warning: no boot file name; using 'C0A80136.img'
Using egiga0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.54
Filename 'C0A80136.img'.
Load address: 0x800000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Wrong Image Format for bootm command
ERROR: can't get kernel image!
GoFlexHome> usb start
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
GoFlexHome> printenv
api_address=7b12860
baudrate=115200
bootargs=root=/dev/nfs nfsroot=192.168.1.43: ip=192.168.1.23:192.168.1.43:::::off
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
ipaddr=192.168.1.23
serverip=192.168.1.43
stderr=serial,lcd
stdin=serial,cros-ec-keyb
stdout=serial,lcd
usb_boot=fatload usb $usb_device 0x900000 ubldr.bin; go 0x900000;

Environment size: 517/131068 bytes
GoFlexHome> fatload usb 0:1 0x2000000 ubldr
reading ubldr
295973 bytes read in 90 ms (3.1 MiB/s)
GoFlexHome> bootelf 0x02000000
CACHE: Misaligned operation at range [01000098, 01030c04]
CACHE: Misaligned operation at range [01030c04, 01031707]
CACHE: Misaligned operation at range [01031708, 010330f0]
CACHE: Misaligned operation at range [010330f0, 0103558b]
CACHE: Misaligned operation at range [01035590, 01036c98]
CACHE: Misaligned operation at range [01036c98, 01036cf4]
CACHE: Misaligned operation at range [01036cf4, 01036d5c]
CACHE: Misaligned operation at range [01036d5c, 01036e30]
CACHE: Misaligned operation at range [01036e30, 01036e3c]
## Starting application at 0x01000098 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0x7b12860

FreeBSD/arm U-Boot loader, Revision 1.2
(Thu Nov 30 14:06:37 GMT 2017 root@Test)

DRAM: 128MB
Number of U-Boot devices: 2
U-Boot env: loaderdev not set, will probe all devices.
Found U-Boot device: disk
  Probing all disk devices...
  Checking unit=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2:
/boot/kernel/kernel data=0x443064+0x30f9c syms=[0x4+0x932d0+0x4+0x667c5]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds... Booting [/boot/kernel/kernel] in 8 seconds... Booting [/boot/kernel/kernel] in 7 seconds... Booting [/boot/kernel/kernel] in 6 seconds... Booting [/boot/kernel/kernel] in 5 seconds... Booting [/boot/kernel/kernel] in 4 seconds... Booting [/boot/kernel/kernel] in 3 seconds... Booting [/boot/kernel/kernel] in 2 seconds... Booting [/boot/kernel/kernel] in 1 second... Booting [/boot/kernel/kernel]...
Using DTB compiled into kernel.
Kernel entry at 0x1200100...
Kernel args: (null)
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE #0: Thu Nov 30 14:22:01 GMT 2017
    root@Test:/usr/obj/arm.arm/usr/src/sys/DB-88F6XXX arm
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
module mvs already present!
CPU: Feroceon 88FR131 rev 1 (**unknown 4** core)
  Little-endian DC enabled IC disabled WA disabled DC streaming enabled
  BTB disabled L2 enabled L2 prefetch enabled
  WB enabled LABT branch prediction disabled
  16KB/32B 4-way instruction cache
  16KB/32B 4-way write-back-locking-C data cache
real memory  = 134213632 (127 MB)
avail memory = 123895808 (118 MB)
SOC: Marvell 88F6281 rev A1, TClock 200MHz
  Instruction cache prefetch disabled, data cache prefetch disabled
  256KB 4-way set-associative write-through unified L2 cache
random: entropy device external interface
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
localbus0: <Marvell device bus> on ofwbus0
nand0: <Marvell NAND controller> mem 0xf9300000-0xf93fffff on localbus0
nandbus0: <NAND bus> on nand0
ic0: <Marvell Integrated Interrupt Controller> mem 0x20200-0x2023b on simplebus0
timer0: <Marvell CPU Timer> mem 0x20300-0x2032f irq 1 on simplebus0
Event timer "CPUTimer0" frequency 200000000 Hz quality 1000
Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000
gpio0: <Marvell Integrated GPIO Controller> mem 0x10100-0x1011f irq 35,36,37,38,39,40,41 on simplebus0
rtc0: <Marvell Integrated RTC> mem 0x10300-0x10307 on simplebus0
twsi0: <Marvell Integrated I2C Bus Controller> mem 0x11000-0x1101f irq 43 on simplebus0
iicbus0: <Philips I2C bus> on twsi0
iic0: <I2C generic I/O> on iicbus0
mge0: <Marvell Gigabit Ethernet controller> mem 0x72000-0x73fff irq 12,13,14,11,46 on simplebus0
mge0: PHY8 attached, phy_sc points to mge0
mge0: Ethernet address: 52:3b:20:9c:11:51
mge0: MII failed to find PHY
device_attach: mge0 attach returned 6
uart0: <16550 or compatible> mem 0x12000-0x1201f irq 33 on simplebus0
uart0: console (1056,n,8,1)
uart1: <16550 or compatible> mem 0x12100-0x1211f irq 34 on simplebus0
cesa0: <Marvell Cryptographic Engine and Security Accelerator> mem 0x30000-0x30fff,0x3d000-0x3dfff irq 22 on simplebus0
ehci0: <Marvell Integrated USB 2.0 controller> mem 0x50000-0x50fff irq 48,19 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
mvs0: <Marvell 88F6281 SATA controller> mem 0x80000-0x85fff irq 21 on simplebus0
mvs0: Gen-IIe, 2 3Gbps ports, Port Multiplier supported with FBS
mvsch0: <Marvell SATA channel> at channel 0 on mvs0
mvsch1: <Marvell SATA channel> at channel 1 on mvs0
pcib0: <Marvell Integrated PCI/PCI-E Controller> mem 0xf1040000-0xf1041fff irq 44 on ofwbus0
pci0: <PCI bus> on pcib0
cryptosoft0: <software crypto>
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0

This looks like a FreeBSD problem so I just need to get the U-Boot parameters finalised and I can stop pestering everyone on this forum... :)

Problem with 2017.07 U-Boot for SheevaPlug (no replies)

$
0
0
After installing the new 2017.07 U-Boot on a SheevaPlug I was having trouble booting and I discovered the issue is a missing "load" command.

Sheevaplug> load usb 0:1 $load_uimage_addr /boot/uImage
Unknown command 'load' - try 'help'
Sheevaplug> help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootefi - Boots an EFI payload from memory
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
bootz   - boot Linux zImage image from memory
chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- boot from IDE device
dns     - lookup the IP of a hostname
echo    - echo args to console
editenv - edit environment variable
env     - environment handling commands
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls  - list files in a directory (default /)
ext4size- determine a file's size
false   - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatsize - determine a file's size
fdt     - flattened device tree utility commands
fsinfo  - print information about jffs filesystems
fsload  - load binary file from a jffs filesystem image
fsls    - list jffs files in a directory (default /)
go      - start application at address 'addr'
gpio    - query and control gpio pins
gpt     - GUID Partition Table
help    - print command description/usage
ide     - IDE sub-system
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mtdparts- define flash/nand partitions
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setexpr - set environment variable as the result of eval expression
showvar - print local hushshell variables
sleep   - delay execution for some time
sntp    - synchronize RTC via network
source  - run script from memory
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true    - do nothing, successfully
ubi     - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version

I'm able to get around the problem by replacing anywhere load is used in the u-boot environment with ext4load but this was extremely inconvenient!

Ray

uEnv.txt (no replies)

$
0
0
How do you get U-Boot to read uEnv.txt while booting? Are there some environment parameters which should be set for this to take place?

** File not found /boot/uImage ** (1 reply)

$
0
0
I just updated my U-Boot to 2017.07-tld-1 (Oct 24 2017 - 22:32:36 -0700) and I'm occasionally getting the following (from netconsole):
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)
2 Storage Device(s) found
** File not found /boot/uImage **
1 bytes read in 891 ms (0 Bytes/s)
Found bootable drive on usb 1:1
3242786 bytes read in 1104 ms (2.8 MiB/s)
7638793 bytes read in 962 ms (7.6 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.8.3-kirkwood-tld-1
   Created:      2016-11-05  19:15:48 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3242722 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.8.3-kirkwood-tld-1
   Created:      2017-12-04   2:44:52 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7638729 Bytes = 7.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK


Starting kernel ...

And then I cannot login. After many attempts, I finally got a serial port capture of the boot process when it fails:
U-Boot 2017.07-tld-1 (Oct 24 2017 - 22:32:36 -0700)
Seagate FreeAgent DockStar

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Using egiga0 device
host 192.168.0.100 is alive
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.3-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Thu Oct 20 23:33:18 PDT 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Seagate FreeAgent Dockstar
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) zswap.enabled=1 zswap.compressor=lz4
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 113100K/131072K available (6149K kernel code, 614K rwdata, 1664K rodata, 308K init, 318K bss, 17972K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0609718   (6150 kB)
[    0.000000]       .init : 0xc07dd000 - 0xc082a000   ( 308 kB)
[    0.000000]       .data : 0xc082a000 - 0xc08c391c   ( 615 kB)
[    0.000000]        .bss : 0xc08c391c - 0xc0913170   ( 319 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000010] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000544] Console: colour dummy device 80x30
[    0.000580] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090108] pid_max: default: 32768 minimum: 301
[    0.090320] Security Framework initialized
[    0.090477] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090499] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091628] CPU: Testing write buffer coherency: ok
[    0.092079] Setting up static identity map for 0x8200 - 0x8258
[    0.092336] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.096496] devtmpfs: initialized
[    0.102011] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.102291] prandom: seed boundary self test passed
[    0.106051] prandom: 100 self tests passed
[    0.106064] pinctrl core: initialized pinctrl subsystem
[    0.107360] NET: Registered protocol family 16
[    0.107840] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130116] cpuidle: using governor ladder
[    0.160111] cpuidle: using governor menu
[    0.160549] Feroceon L2: Enabling L2
[    0.160598] Feroceon L2: Cache support initialised.
[    0.161032] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.165799] No ATAGs?
[    0.201628] vgaarb: loaded
[    0.201984] usbcore: registered new interface driver usbfs
[    0.202103] usbcore: registered new interface driver hub
[    0.202168] usbcore: registered new device driver usb
[    0.203331] clocksource: Switched to clocksource orion_clocksource
[    0.249999] VFS: Disk quotas dquot_6.6.0
[    0.250096] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.262169] NET: Registered protocol family 2
[    0.263026] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.263053] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.263075] TCP: Hash tables configured (established 1024 bind 1024)
[    0.263140] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.263167] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.263433] NET: Registered protocol family 1
[    0.263988] RPC: Registered named UNIX socket transport module.
[    0.264001] RPC: Registered udp transport module.
[    0.264009] RPC: Registered tcp transport module.
[    0.264017] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.264284] Unpacking initramfs...
[    0.949209] Freeing initrd memory: 7460K (c73c6000 - c7b0f000)
[    0.949366] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.950434] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.950484] audit: initializing netlink subsys (disabled)
[    0.950539] audit: type=2000 audit(0.940:1): initialized
[    0.950867] Initialise system trusted keyrings
[    0.951088] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.951183] zbud: loaded
[    0.952128] NFS: Registering the id_resolver key type
[    0.952155] Key type id_resolver registered
[    0.952165] Key type id_legacy registered
[    0.952182] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.952193] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.952455] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.952747] orangefs_init: called with debug mask: :none: :0:
[    0.953116] orangefs: module version upstream loaded
[    0.953473] Key type big_key registered
[    2.553339] random: fast init done
[    5.066057] Key type asymmetric registered
[    5.066074] Asymmetric key parser 'x509' registered
[    5.066161] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    5.066173] io scheduler noop registered
[    5.066182] io scheduler deadline registered
[    5.066216] io scheduler cfq registered (default)
[    5.067539] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    5.068463] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    5.069132] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    5.069650] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.124095] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.124336] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.184070] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.184579] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.186022] console [ttyS0] disabled
[    5.186090] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    5.781673] console [ttyS0] enabled
[    5.786507] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    5.792891] nand: Micron MT29F2G08AAD
[    5.796610] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.804239] Scanning device for bad blocks
[    5.965874] 4 cmdlinepart partitions found on MTD device orion_nand
[    5.972174] Creating 4 MTD partitions on "orion_nand":
[    5.977363] 0x000000000000-0x000000100000 : "u-boot"
[    5.983832] 0x000000100000-0x000000500000 : "uImage"
[    5.990220] 0x000000500000-0x000002500000 : "rootfs"
[    5.996808] 0x000002500000-0x000010000000 : "data"
[    6.005842] libphy: Fixed MDIO Bus: probed
[    6.010086] libphy: mdio_driver_register: mv88e6085
[    6.015427] libphy: orion_mdio_bus: probed
[    6.019558] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@0: Whitelisted compatible string. Please remove
[    6.035387] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.134009] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:1a:9a:d3
[    7.142875] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.149491] ehci-pci: EHCI PCI platform driver
[    7.154040] ehci-orion: EHCI orion driver
[    7.158245] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.163822] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.171723] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    7.203367] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.209653] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    7.216506] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.223787] usb usb1: Product: EHCI Host Controller
[    7.228685] usb usb1: Manufacturer: Linux 4.8.3-kirkwood-tld-1 ehci_hcd
[    7.235348] usb usb1: SerialNumber: f1050000.ehci
[    7.240906] hub 1-0:1.0: USB hub found
[    7.244770] hub 1-0:1.0: 1 port detected
[    7.249735] mousedev: PS/2 mouse device common for all mice
[    7.603365] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.795105] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    7.801855] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.809063] usb 1-1: Product: USB2.0 Hub
[    7.813939] hub 1-1:1.0: USB hub found
[    7.818110] hub 1-1:1.0: 4 ports detected
[    8.143360] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    8.294604] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5567
[    8.301528] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.308910] usb 1-1.2: Product: Cruzer Blade
[    8.313199] usb 1-1.2: Manufacturer: SanDisk
[    8.317510] usb 1-1.2: SerialNumber: 4C531001560901104514
[    8.323366] rtc-mv f1010300.rtc: internal RTC not ticking
[    8.328978] i2c /dev entries driver
[    8.334351] hidraw: raw HID events driver (C) Jiri Kosina
[    8.340397] drop_monitor: Initializing network drop monitor service
[    8.347036] NET: Registered protocol family 17
[    8.351708] Key type dns_resolver registered
[    8.356910] registered taskstats version 1
[    8.361029] Loading compiled-in X.509 certificates
[    8.376130] zswap: loaded using pool lz4/zbud
[    8.399569] Key type encrypted registered
[    8.404245] hctosys: unable to open rtc device (rtc0)
[    8.411581] Freeing unused kernel memory: 308K (c07dd000 - c082a000)
[    8.418141] This architecture does not have kernel memory protection.
Loading, please wait...
[    8.443789] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
[    8.505973] systemd-udevd[95]: starting version 215
[    8.605997] usb 1-1.3: New USB device found, idVendor=1058, idProduct=107c
[    8.612938] usb 1-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    8.633445] usb 1-1.3: Product: Elements 107C
[    8.637843] usb 1-1.3: Manufacturer: Western Digital
[    8.642834] usb 1-1.3: SerialNumber: 574343344530484846444345
[    8.730799] SCSI subsystem initialized
[    8.762154] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    8.815958] scsi host0: usb-storage 1-1.2:1.0
[    8.827539] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    8.868228] scsi host1: usb-storage 1-1.3:1.0
[    8.881486] usbcore: registered new interface driver usb-storage
[    8.910920] usbcore: registered new interface driver uas
[    9.844458] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    9.861807] sd 0:0:0:0: [sda] 61341696 512-byte logical blocks: (31.4 GB/29.3 GiB)
[    9.871648] sd 0:0:0:0: [sda] Write Protect is off
[    9.877263] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.893263]  sda: sda1
[    9.899263] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    9.909093] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    9.928336] scsi 1:0:0:0: Direct-Access     WD       Elements 107C    1065 PQ: 0 ANSI: 6
[    9.943573] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    9.949156] sd 1:0:0:0: [sdb] Spinning up disk...
[   11.043357] ........Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... .ready
[   19.586661] sd 1:0:0:0: [sdb] 976746240 4096-byte logical blocks: (4.00 TB/3.64 TiB)
[   19.595386] sd 1:0:0:0: [sdb] Write Protect is off
[   19.601132] sd 1:0:0:0: [sdb] No Caching mode page found
[   19.606536] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   19.710280]  sdb: sdb1
[   19.726171] sd 1:0:0:0: [sdb] Attached SCSI disk
Begin: Running /scripts/local-block ... done.
done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sdb1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   25.164210] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities
mount: mounting /dev/sdb1 on /root failed: Invalid argument
done.
Target filesystem doesn't have requested /sbin/init.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
No init found. Try passing init= bootarg.
modprobe: module i8042 not found in modules.dep
[   25.315797] uhci_hcd: USB Universal Host Controller Interface driver
[   25.330790] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   25.346575] usbcore: registered new interface driver usbhid
[   25.352182] usbhid: USB HID core driver


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)
I don't know what to make of it.

Notice the ** File not found /boot/uImage ** message from netconsole. I can't say for sure that it has anything to do with the U-Boot update since my Dockstar was having the occasional booting problem for a while now. The boot device should be a flash drive on usb 0:1, not usb 1:1 as shown above. The usb 1:1 device is a 4TB ext4 formatted drive with no /boot directory and no rootfs label, so I can't understand why it's being picked up as the boot device.

At this point the only way to proceed is to push the reset button or unplug it, neither of which I can do remotely, so I'd really like to figure out what's going on so that I can reboot remotely and/or recover from a power outage.

-JT
Viewing all 901 articles
Browse latest View live