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

Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net

$
0
0
Hi Bodhi,

I am back. I will donate my bricked GoFlex Net probably BootROM 1.11. I went for another one which seems to have the lucky version 1.21.

I am using debian wheezy and I get known problems with visibility of SATA drives. I am booting from USB, and I like to share HDDs but no SATA.

I saw issues around arcNumbers but I am not sure, and kindly ask you to advise:

dmesg shows no SATA/IDE ...
[    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.10.4-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Aug 20 23:25:42 PDT 2013
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c05dbf50, node_mem_map c0648000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    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: 128MB = 128MB total
[    0.000000] Memory: 117144k/117144k available, 13928k 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 : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0561b44   (5479 kB)
[    0.000000]       .init : 0xc0562000 - 0xc05909bc   ( 187 kB)
[    0.000000]       .data : 0xc0592000 - 0xc05de6d0   ( 306 kB)
[    0.000000]        .bss : 0xc05de6d0 - 0xc06470f4   ( 419 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   10.393750] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   10.483574] pid_max: default: 32768 minimum: 301
[   10.483678] Security Framework initialized
[   10.483745] Mount-cache hash table entries: 512
[   10.484353] Initializing cgroup subsys devices
[   10.484376] Initializing cgroup subsys freezer
[   10.484389] Initializing cgroup subsys net_cls
[   10.484399] Initializing cgroup subsys blkio
[   10.484488] CPU: Testing write buffer coherency: ok
[   10.484881] Setting up static identity map for 0xc03e88c8 - 0xc03e8904
[   10.486705] devtmpfs: initialized
[   10.489083] pinctrl core: initialized pinctrl subsystem
[   10.489416] regulator-dummy: no parameters
[   10.489729] NET: Registered protocol family 16
[   10.490149] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   10.490842] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   10.490872] Feroceon L2: Enabling L2
[   10.490910] Feroceon L2: Cache support initialised.
[   10.491240] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   10.491268]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   10.494712] bio: create slab <bio-0> at 0
[   10.495133] vgaarb: loaded
[   10.495256] usbcore: registered new interface driver usbfs
[   10.495317] usbcore: registered new interface driver hub
[   10.495416] usbcore: registered new device driver usb
[   10.496012] Switching to clocksource orion_clocksource
[   10.510003] NET: Registered protocol family 2
[   10.510635] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[   10.510671] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.510691] TCP: Hash tables configured (established 1024 bind 1024)
[   10.510757] TCP: reno registered
[   10.510772] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.510794] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.510991] NET: Registered protocol family 1
[   10.511300] RPC: Registered named UNIX socket transport module.
[   10.511311] RPC: Registered udp transport module.
[   10.511318] RPC: Registered tcp transport module.
[   10.511325] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.511336] PCI: CLS 0 bytes, default 32
[   10.511533] Unpacking initramfs...
[   11.052691] Freeing initrd memory: 6324K (c1101000 - c172e000)
[   11.052793] NetWinder Floating Point Emulator V0.97 (double precision)
[   11.053297] audit: initializing netlink socket (disabled)
[   11.053348] type=2000 audit(0.650:1): initialized
[   11.054159] VFS: Disk quotas dquot_6.5.2
[   11.054211] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   11.054567] NFS: Registering the id_resolver key type
[   11.054634] Key type id_resolver registered
[   11.054644] Key type id_legacy registered
[   11.054662] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   11.054816] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[   11.055029] msgmni has been set to 241
[   11.056913] alg: No test for stdrng (krng)
[   11.057008] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   11.057020] io scheduler noop registered
[   11.057028] io scheduler deadline registered
[   11.057055] io scheduler cfq registered (default)
[   11.057175] mv_xor mv_xor.0: Marvell shared XOR driver
[   11.096091] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   11.136090] mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy )
[   11.136191] mv_xor mv_xor.1: Marvell shared XOR driver
[   11.176090] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   11.216088] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   11.216333] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.236878] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   11.734876] console [ttyS0] enabled
[   11.739306] ONFI param page 0 valid
[   11.742807] ONFI flash detected
[   11.745969] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), 256MiB, page size: 2048, OOB size: 64
[   11.757088] Scanning device for bad blocks
[   11.914725] 4 cmdlinepart partitions found on MTD device orion_nand
[   11.921033] Creating 4 MTD partitions on "orion_nand":
[   11.926213] 0x000000000000-0x000000100000 : "u-boot"
[   11.931426] 0x000000100000-0x000000500000 : "uImage"
[   11.936636] 0x000000500000-0x000002500000 : "rootfs"
[   11.941856] 0x000002500000-0x000010000000 : "data"
[   11.947167] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.953726] ehci-pci: EHCI PCI platform driver
[   11.958255] ehci-orion: EHCI orion driver
[   11.962333] orion-ehci orion-ehci.0: EHCI Host Controller
[   11.967799] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   11.975542] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   11.996063] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   12.002088] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   12.008931] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.016206] usb usb1: Product: EHCI Host Controller
[   12.021109] usb usb1: Manufacturer: Linux 3.10.4-kirkwood-tld-1 ehci_hcd
[   12.027854] usb usb1: SerialNumber: orion-ehci.0
[   12.032903] hub 1-0:1.0: USB hub found
[   12.036715] hub 1-0:1.0: 1 port detected
[   12.041063] mousedev: PS/2 mouse device common for all mice
[   12.356067] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   12.568425] usb 1-1: New USB device found, idVendor=03f0, idProduct=5307
[   12.575172] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.582365] usb 1-1: Product: v165w
[   12.585867] usb 1-1: Manufacturer: HP
[   12.589563] usb 1-1: SerialNumber: AA17111300000351
[   13.056062] rtc-mv rtc-mv: internal RTC not ticking
[   13.061062] i2c /dev entries driver
[   13.064634] cpuidle: using governor ladder
[   13.068766] cpuidle: using governor menu
[   13.072885] leds-gpio leds-gpio: pins are not configured from the driver
[   13.079915] drop_monitor: Initializing network drop monitor service
[   13.086510] TCP: cubic registered
[   13.089841] NET: Registered protocol family 17
[   13.094404] Key type dns_resolver registered
[   13.099115] registered taskstats version 1
[   13.104049] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   13.111174] Freeing unused kernel memory: 184K (c0562000 - c0590000)
[   13.186687] udevd[52]: starting version 175
[   13.279208] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   13.336385] libphy: PHY orion-mdio-mii:00 not found
[   13.341313] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[   13.385630] SCSI subsystem initialized
[   13.417580] mvsdio mvsdio: no pins associated
[   13.430665] usb-storage 1-1:1.0: USB Mass Storage device detected
[   13.456201] mvsdio mvsdio: lacking card detect (fall back to polling)
[   13.466901] libphy: PHY orion-mdio-mii:00 not found
[   13.471834] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[   13.504044] libphy: orion_mdio_bus: probed
[   13.516177] scsi0 : usb-storage 1-1:1.0
[   13.521551] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:26:39:3a
[   13.541161] usbcore: registered new interface driver usb-storage
[   14.873531] scsi 0:0:0:0: Direct-Access     hp       v165w            8192 PQ: 0 ANSI: 4
[   14.897235] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[   14.905720] sd 0:0:0:0: [sda] Write Protect is off
[   14.910601] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   14.911453] sd 0:0:0:0: [sda] No Caching mode page present
[   14.917059] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   14.928076] sd 0:0:0:0: [sda] No Caching mode page present
[   14.933603] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   14.942444]  sda: sda1 sda2
[   14.948951] sd 0:0:0:0: [sda] No Caching mode page present
[   14.954479] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   14.961072] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   14.976938] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   24.877068] udevd[235]: starting version 175
[   25.294642] alg: hash: Test 1 failed for mv-hmac-sha1
[   25.308218] 00000000: 0c aa 9f d5 37 c3 79 3a 91 d9 21 5f 42 2b 2c 24
[   25.328369] 00000010: b7 c3 16 0c
[   25.351469] orion_wdt: Initial timeout 21 sec
[   30.506863] NET: Registered protocol family 10
[   30.672966] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   30.679103] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   32.298687] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   32.308523] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

fw_printenv shows the followings

ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
ethaddr=00:10:75:26:39:3A
arcNumber=2097

Viewing all articles
Browse latest Browse all 46958

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>