Anyway to recover if I brick?

Hello Community,

I’ve recently bought the 2TB Passport Wireless and I really want to play around with it! I know it will void my warranty but I would like to install Gentoo on it. I’ve done similar in the past with MyCloud and MyBook nas devices but with those, I had a way to recover if I brick it… With the Wireless, from what I can tell is that the OS is store on board (some type of EMMC) so I don’t feel comfortable trying anything unless I have a way recover… I’ve search around and found nothing on how to get a clean debian or anything on this device or a way to unbrick. I see that one of the manual ways to update the firmware is using the SD card. Would this work if I brick the device? Does anyone have a solution for a bricked device?

1 Like

PuDLeZ wrote:

I’ve search around and found nothing on how to get a clean debian or anything on this device or a way to unbrick.

MPW’s firmware source code is available from  WD Downloads. I failed to tune it completly and found an easier way for  my purpose but you can try yourself.

I suppose SD recovering won’t work without related software. But I see no obstacles to use the same procedures in Gentoo. You’ll just need to tune them yourself.

If you don’t care about your warranty, you can open the MPW case and take the HDD itself from the case and treat it as usual HDD (e. g. make an image and so on) and even try your ideas with another HDD first. But I’d prefer a soft way.

Yes, I already did the teardown and was going to use dd to make a “recovery” but I noticed there was only one partition. Yes it stopped a little short of all of the possible sectors so there might be a hidden partition (my guess that’s where /dev/sdb comes from?) but there’s no OS on the hard drisk, just the drive where your data is stored. Interesting enough, I attached the battery back to the board and powered it up without an hard drive and it boots up fine remembering my previous settings. I can connect to it with WiFi, explorer the web based UI (storage is missing [duh] and it does complain about sharing software but I assume it’s because it can’t find the directories), and ssh into it. Even further proving that the OS is on board/eMMC.  

Like I said, I’m just looking for a way to unbrick, I know a little bit about the ‘arm’ world and more about Linux so I feel confident about playing around but I really want a way to recover first. . I mainly want to install Gentoo so I can remove the stuff I don’t use/like, add features I do want/like, and allow for password protect/multiple users/etc. I would use a RPI or an Odroid but MPW is nicely packaged and pretty vs something I could aseemble on my own. If the current firmware wasn’t lacking many things I want, I would just fine tune it like you.

Just for reference, here’s a listing with no hard disk attached.

Edited to put the output of ‘fdisk -l’ into a spoiler section.

login as: root

root@192.168.60.1's password:
# fdisk -l

Disk /dev/mtdblock0: 0 MB, 131072 bytes, 256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock1: 0 MB, 131072 bytes, 256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock2: 0 MB, 131072 bytes, 256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock3: 0 MB, 131072 bytes, 256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock4: 1 MB, 1966080 bytes, 3840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock5: 0 MB, 131072 bytes, 256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock6: 5 MB, 5242880 bytes, 10240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock7: 121 MB, 121110528 bytes, 236544 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock8: 1 MB, 1048576 bytes, 2048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock9: 4 MB, 4194304 bytes, 8192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

#

  1. Do you mean MPW works without its HDD (when it’s removed) as usual? It’s very interesting. It means MPW has internal memory (like SD) where all the interface is stored.
  2. Do you mean you didn’t find OS on the HDD? I was sure OS is there. However, it can be located in the internal memory. it would be very interesting to find it out.
  3. In you purpose I’d try to tune the system through SSH. If you know Linux, it won’t be difficult too much.
  1. Yes, it appears that the OS is on the board and not like the older MyCloud/Book drives. Otherwise I would already be trying to boot Gentoo. :slight_smile:  I’m positive it’s there otherwise I should not of been able to boot it up without a HD and still have my different SSID (wifi name), passwords, etc.

  2. Nope, There’s only one partition on the drive that starts at sector 1 and goes to 3898574847. There’s a remaining 8454321 secotrs after this ‘unused’, maybe that’s sdb that’s displayed with the HD attached? It can’t be the OS from the results in answer #1.

  3. Yes, until there’s a ‘recovery’ method I think I will just try to tune/tweak the official firmware :frowning:

P.S. Is anyone here with a MPW good with electronics that could help? I noticed 4 pads on one side of the board (possible USB2 or a serial connection?) and a serveral on the otherside (possible jtag?). I’m more of a software guy and don’t know much about the hardware/electornics side of things but would assume that they used ones of these (probably the 4 pin) for the factory programming. I can share the pics I took of the board if someone would like to see them… The board looks identical to

http://www.anandtech.com/Gallery/Album/4108#6

except in pic #6, it doesn’t have that clip for what’s labeled J11

1 Like

Thank you much for the pictures!

Concerning the point 2. Through SSH the disc content is displayed in the folder /DataVolume/. The same content is displayed in the folder /var/ftp/Public/. I know Linux too little to evaluate what it means. In terms of Windows it looks like usual folders located on the same disc where the OS is.

It will be perfect if you manage to find a way to tune access rules through the official firmware. It takes too much time for me to learn Linux. But I can help if you give a hint where to seek.

By the way, an interesting script is in the file /usr/local/sbin/setSharePublic.sh.

Sure, I will share anything that I discover that others will get some type of benefit. Thanks for pointing me to the WD scripts on the official firmware!

My pics are located at  https://pudlez.net/mpw/

I know they load a little slow but I left them full quality. They could be better as well but I was mainly focused on the pads since I think they hold the key to the recovery I want. I just wish I was better with the hardware side of things!

I’m not sure it matters, but I noted the inscription “AVATAR MB” on the picture 0013. As I had found earlier, in the firmware source code archive MPW’s OS files are stored in the folder \buildroot-GPL\primax_packages\wdcore_avatar. Perhaps, the module with the inscription “AVATAR MB” is the storage with MPW’s OS?

I suppose it’s absolutely reasonable decision to provide MPW with an independent storage for OS. You can change HDDs easily not having to reinstall OS.

Do you know if it’s possible to boot a custom built kernel from sdcard ?
Do you have access to uboot shell through UART ?

I’ve added an image of the pinout for uart. I’ve uploaded to the previous directory I shared and also uploaded to imgur.

You must use dd to Backup the Contents of the mtd Devices. Because those are the ones containing everything.

In case you brick your Device you can use that Backups to reflash the ROM. If you brick your Device and it won’t boot at all, then you would need to desolder the SPI Flash and flash the Contents of your Backups.

But WD always has two Bootloaders in their Flash based Drives. The Recovery U-Boot loads first and checks the Flash and the GPIO’s for a Button Press. If everything looks good then the second U-Boot gets loaded and starts the regular kernel with the regular Root.

So unless you do not touch the very First Sectors of the Flash you should be good. The internal Flash is to small to hold a good Base System of Gentoo or Debian anyway. So the only thing you would need to tinker with would be the second Stage Bootloader and the Kernel in order to start your Base System from HDD or preferably from SDD.

You can leave the original Root FS as it is in order to have a Fallback Safety when things go wrong.

Hi,

here is the dmesg (throught ssh) I got from a WD Wireless.

Machine: am335xevm

I guess it would be feasible to get openwrt.

https://downloads.openwrt.org/snapshots/trunk/omap/generic/

Best regards

dmesg

[ 0.000000] Linux version 3.2.0 (primax@primax-vm) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Tue Sep 8 14:42:47 CST 2015
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c054f120, node_mem_map c0586000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130048 pages, LIFO batch:31
[ 0.000000] AM335X ES2.1 (neon )
[ 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: 130048
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,2048 rootfstype=ubifs rootwait=1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] allocated 2097152 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 512048k/512048k available, 12240k 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 : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc04c4000 (4848 kB)
[ 0.000000] .init : 0xc04c4000 - 0xc04fb000 ( 220 kB)
[ 0.000000] .data : 0xc04fc000 - 0xc0557360 ( 365 kB)
[ 0.000000] .bss : 0xc0557384 - 0xc0585b74 ( 186 kB)
[ 0.000000] NR_IRQS:396
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
[ 0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000176] Calibrating delay loop… 795.44 BogoMIPS (lpj=3977216)
[ 0.037389] pid_max: default: 32768 minimum: 301
[ 0.037499] Security Framework initialized
[ 0.037588] Mount-cache hash table entries: 512
[ 0.037928] Initializing cgroup subsys memory
[ 0.037996] CPU: Testing write buffer coherency: ok
[ 0.038675] devtmpfs: initialized
[ 0.057929] omap_hwmod: gfx: failed to hardreset
[ 0.073799] omap_hwmod: pruss: failed to hardreset
[ 0.074827] print_constraints: dummy:
[ 0.075137] NET: Registered protocol family 16
[ 0.077065] OMAP GPIO hardware version 0.1
[ 0.079102] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.080858] omap_i2c.1: alias fck already exists
[ 0.082307] edma.0: alias fck already exists
[ 0.082328] edma.0: alias fck already exists
[ 0.082344] edma.0: alias fck already exists
[ 0.098407] bio: create slab at 0
[ 0.100244] SCSI subsystem initialized
[ 0.100884] usbcore: registered new interface driver usbfs
[ 0.101154] usbcore: registered new interface driver hub
[ 0.101344] usbcore: registered new device driver usb
[ 0.101636] registerd cppi-dma Intr @ IRQ 17
[ 0.101649] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
[ 0.101658] Cppi41 Init Done
[ 0.101684] musb-ti81xx musb-ti81xx: musb0, board_mode=0x11, plat_mode=0x1
[ 0.101973] musb-ti81xx musb-ti81xx: musb1, board_mode=0x11, plat_mode=0x1
[ 0.117405] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.119003] tps65910 1-002d: JTAGREVNUM 0x1
[ 0.123819] print_constraints: VRTC:
[ 0.125227] print_constraints: VIO: at 1500 mV
[ 0.127479] print_constraints: VDD1: 600 <–> 1500 mV at 1262 mV normal
[ 0.129732] print_constraints: VDD2: 600 <–> 1500 mV at 1137 mV normal
[ 0.130717] print_constraints: VDD3: 5000 mV
[ 0.132098] print_constraints: VDIG1: at 1800 mV
[ 0.133488] print_constraints: VDIG2: at 1800 mV
[ 0.134875] print_constraints: VPLL: at 1800 mV
[ 0.136259] print_constraints: VDAC: at 1800 mV
[ 0.137648] print_constraints: VAUX1: at 1800 mV
[ 0.139040] print_constraints: VAUX2: at 3300 mV
[ 0.140421] print_constraints: VAUX33: at 3300 mV
[ 0.141804] print_constraints: VMMC: at 3300 mV
[ 0.142262] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.145424] Switching to clocksource gp timer
[ 0.161967] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.162131] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.162421] MUSB0 controller’s USBSS revision = 4ea20800
[ 0.162442] TxFifo Empty intr disabled
[ 0.162451] musb0: Enabled SW babble control
[ 0.162704] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.162721] musb-hdrc: MHDRC RTL version 2.0
[ 0.162730] musb-hdrc: setup fifo_mode 4
[ 0.162756] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.162770] musb-hdrc.0: bulk split disabled
[ 0.162777] musb-hdrc.0: bulk combine disabled
[ 0.162861] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 0.162952] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[ 0.163067] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.163081] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.163093] usb usb1: Product: MUSB HDRC host driver
[ 0.163102] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.163111] usb usb1: SerialNumber: musb-hdrc.0
[ 0.163981] hub 1-0:1.0: USB hub found
[ 0.164009] hub 1-0:1.0: 1 port detected
[ 0.164560] musb-hdrc musb-hdrc.0: USB Host mode controller at e083c000 using DMA, IRQ 18
[ 0.164722] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.165008] MUSB1 controller’s USBSS revision = 4ea20800
[ 0.165026] TxFifo Empty intr disabled
[ 0.165033] musb1: Enabled SW babble control
[ 0.165274] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.165289] musb-hdrc: MHDRC RTL version 2.0
[ 0.165298] musb-hdrc: setup fifo_mode 4
[ 0.165322] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.165335] musb-hdrc.1: bulk split disabled
[ 0.165342] musb-hdrc.1: bulk combine disabled
[ 0.165413] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.165524] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[ 0.165616] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.165630] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.165641] usb usb2: Product: MUSB HDRC host driver
[ 0.165650] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.165659] usb usb2: SerialNumber: musb-hdrc.1
[ 0.166422] hub 2-0:1.0: USB hub found
[ 0.166446] hub 2-0:1.0: 1 port detected
[ 0.166947] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using DMA, IRQ 19
[ 0.167343] NET: Registered protocol family 2
[ 0.167513] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.167797] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.168064] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.168221] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.168232] TCP reno registered
[ 0.168243] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.168263] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.168437] NET: Registered protocol family 1
[ 0.168666] RPC: Registered named UNIX socket transport module.
[ 0.168678] RPC: Registered udp transport module.
[ 0.168685] RPC: Registered tcp transport module.
[ 0.168693] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.168892] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.186872] VFS: Disk quotas dquot_6.5.2
[ 0.186932] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.187417] fuse init (API version 7.17)
[ 0.188010] msgmni has been set to 1000
[ 0.190816] alg: No test for stdrng (krng)
[ 0.191450] io scheduler noop registered
[ 0.191462] io scheduler deadline registered
[ 0.191533] io scheduler cfq registered (default)
[ 0.192621] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.192806] console [ttyO0] enabled
[ 0.193323] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.193776] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.194204] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.194619] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.195039] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.195978] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 0.196133] am335x_gpio initializing
[ 0.205218] brd: module loaded
[ 0.210072] loop: module loaded
[ 0.210149] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.285483] No daughter card found
[ 0.285535] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.365462] AM335X: EVM Config read fail: -110
[ 0.385461] The board is general purpose EVM in profile 0
[ 0.386469] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.386487] Registering NAND on CS0
[ 0.387270] omap_hsmmc.0: alias fck already exists
[ 0.387543] omap_hsmmc.2: alias fck already exists
[ 0.390086] registered am33xx_sr device
[ 0.391682] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.392020] omap2-nand driver initializing
[ 0.392333] ONFI flash detected
[ 0.392463] ONFI param page 0 valid
[ 0.392479] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC)
[ 0.392679] Creating 10 MTD partitions on “omap2-nand.0”:
[ 0.392697] 0x000000000000-0x000000020000 : “SPL”
[ 0.394149] 0x000000020000-0x000000040000 : “SPL.backup1”
[ 0.395445] 0x000000040000-0x000000060000 : “SPL.backup2”
[ 0.396804] 0x000000060000-0x000000080000 : “SPL.backup3”
[ 0.398117] 0x000000080000-0x000000260000 : “U-Boot”
[ 0.400093] 0x000000260000-0x000000280000 : “U-Boot Env”
[ 0.401308] 0x000000280000-0x000000780000 : “Kernel”
[ 0.404551] 0x000000780000-0x000007b00000 : “File System”
[ 0.453293] 0x000007b00000-0x000007c00000 : “DefCfg”
[ 0.454911] 0x000007c00000-0x000008000000 : “Recovery”
[ 0.457964] OneNAND driver initializing
[ 0.458686] UBI: attaching mtd7 to ubi0
[ 0.458704] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 0.458713] UBI: logical eraseblock size: 126976 bytes
[ 0.458721] UBI: smallest flash I/O unit: 2048
[ 0.458729] UBI: VID header offset: 2048 (aligned 2048)
[ 0.458737] UBI: data offset: 4096
[ 0.646342] usb 2-1: new high-speed USB device number 2 using musb-hdrc
[ 0.806656] usb 2-1: New USB device found, idVendor=1058, idProduct=083c
[ 0.806671] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 0.806682] usb 2-1: Product: My Passport 083C
[ 0.806691] usb 2-1: Manufacturer: Western Digital
[ 0.806700] usb 2-1: SerialNumber: 313634373134433132394630
[ 1.438983] UBI: max. sequence number: 551
[ 1.452624] UBI: attached mtd7 to ubi0
[ 1.452638] UBI: MTD device name: “File System”
[ 1.452647] UBI: MTD device size: 115 MiB
[ 1.452654] UBI: number of good PEBs: 924
[ 1.452662] UBI: number of bad PEBs: 0
[ 1.452669] UBI: number of corrupted PEBs: 0
[ 1.452676] UBI: max. allowed volumes: 128
[ 1.452683] UBI: wear-leveling threshold: 4096
[ 1.452690] UBI: number of internal volumes: 1
[ 1.452697] UBI: number of user volumes: 1
[ 1.452704] UBI: available PEBs: 0
[ 1.452712] UBI: total number of reserved PEBs: 924
[ 1.452719] UBI: number of PEBs reserved for bad PEB handling: 9
[ 1.452728] UBI: max/mean erase counter: 6/2
[ 1.452736] UBI: image sequence number: 809690822
[ 1.452773] Initializing USB Mass Storage driver…
[ 1.452992] UBI: background thread “ubi_bgt0d” started, PID 509
[ 1.453103] scsi0 : usb-storage 2-1:1.0
[ 1.454010] usbcore: registered new interface driver usb-storage
[ 1.454023] USB Mass Storage support registered.
[ 1.461945] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc0
[ 1.462139] i2c /dev entries driver
[ 1.463349] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.465583] cpuidle: using governor ladder
[ 1.466037] cpuidle: using governor menu
[ 1.469500] omap4_aes_mod_init: loading AM33X AES driver
[ 1.469598] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 1.470076] omap4_aes_probe: probe() done
[ 1.470279] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 1.470393] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 1.474901] omap4_sham_probe: probe() done
[ 1.475304] oprofile: hardware counters not available
[ 1.475315] oprofile: using timer interrupt.
[ 1.475351] nf_conntrack version 0.5.0 (8000 buckets, 32000 max)
[ 1.475880] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.475999] TCP cubic registered
[ 1.476012] NET: Registered protocol family 17
[ 1.476060] Registering the dns_resolver key type
[ 1.476129] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.476150] ThumbEE CPU extension supported.
[ 1.476217] mux: Failed to setup hwmod io irq -22
[ 1.476833] Power Management for AM33XX family
[ 1.477040] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.477175] Copied the M3 firmware to UMEM
[ 1.477264] Cortex M3 Firmware Version = 0x181
[ 1.477334] DIEID: 0801a024 014fcfb3 00000000 584c0002
[ 1.477343] EFUSE SMA register val = 00013e2f
[ 1.477363] Compensating OPP0: Orig nvalue:0x99c5b4 New nvalue:0x99c5b4
[ 1.477377] Compensating OPP1: Orig nvalue:0x998f81 New nvalue:0x998f81
[ 1.478842] Compensating OPP0: Orig nvalue:0x99bdad New nvalue:0x99bdad
[ 1.478858] Compensating OPP1: Orig nvalue:0x999484 New nvalue:0x999484
[ 1.478870] Compensating OPP2: Orig nvalue:0xaaebd3 New nvalue:0xaaebd3
[ 1.478882] Compensating OPP3: Orig nvalue:0xaacab5 New nvalue:0xaacab5
[ 1.478895] Compensating OPP4: Orig nvalue:0xaacab5 New nvalue:0xaa9a8d
[ 1.478953] create_regulator: VDD1: Failed to create debugfs directory
[ 1.480459] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[ 1.486498] clock: disabling unused clocks to save power
[ 1.501086] tps65910-rtc tps65910-rtc: setting system clock to 2017-02-22 16:02:03 UTC (1487779323)
[ 1.566157] UBIFS: recovery needed
[ 1.732039] SR 0: curr=1137500, delta_v=-56875, calc=1080625, act=1087500, gain=00
[ 1.738130] SR 1: curr=1262500, delta_v=-63125, calc=1199375, act=1200000, gain=00
[ 1.917212] UBIFS: recovery completed
[ 1.917235] UBIFS: mounted UBI device 0, volume 0, name “rootfs”
[ 1.917248] UBIFS: file system size: 114278400 bytes (111600 KiB, 108 MiB, 900 LEBs)
[ 1.917262] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[ 1.917273] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 1.917281] UBIFS: default compressor: lzo
[ 1.917289] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 1.918446] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 1.921076] devtmpfs: mounted
[ 1.921371] Freeing init memory: 220K
[ 2.020434] mmc1: card claims to support voltages below the defined range. These will be ignored.
[ 2.118857] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 2.135029] mmc1: new high speed SDIO card at address 0001
[ 2.452307] scsi 0:0:0:0: Direct-Access WD My Passport 083C 1009 PQ: 0 ANSI: 6
[ 2.453242] scsi 0:0:0:1: Direct-Access WD My Passport 083C 1009 PQ: 0 ANSI: 6
[ 2.454048] scsi 0:0:0:2: Enclosure WD SES Device 1009 PQ: 0 ANSI: 6
[ 2.979649] SR 0: curr=1087500, delta_v=-94112, calc=993388, act=1000000, gain=1d
[ 2.993609] SR 1: curr=1200000, delta_v=-70822, calc=1129178, act=1137500, gain=29
[ 3.000121] Disabling lock debugging due to kernel taint
[ 3.001773] jnl: driver (lke_9.0.0 lke_9.0.0_r232673_b26, LBD=ON) loaded at bf000000
[ 3.189806] ufsd: module license ‘Commercial product’ taints kernel.
[ 3.226566] ufsd:: trace mask set to 0000000f
[ 3.226591] ufsd: driver (lke_9.0.0 lke_9.0.0_r232673_b26, LBD=ON, acl, ioctl, bdi, sd(0), fua, bz, tr) loaded at bf00b000
[ 3.226600] NTFS support included
[ 3.226604] exFAT support included
[ 3.226608] Hfs+/HfsJ support included
[ 3.226612] optimized: speed
[ 3.226615] Build_for__WD_Passport_wireless_k3.2.0_2013-10-15_lke_9.0.0_r232673_b26
[ 3.226622]
[ 3.594674] gpio_open
[ 3.594726] gpio_ioctl:cmd 1 gpio 27
[ 3.594747] Got irq = 187
[ 3.594874] gpio_ioctl:cmd 1 gpio 2
[ 3.594885] Got irq = 162
[ 3.594915] gpio_ioctl:cmd 1 gpio 3
[ 3.594925] Got irq = 163
[ 3.594962] gpio_release
[ 4.054798] Compat-wireless backport release: ol_r8.a8.08
[ 4.054815] Backport based on ol_r8.a8.08
[ 4.054822] compat.git:
[ 4.159018] cfg80211: Calling CRDA to update world regulatory domain
[ 4.172730] cfg80211: World regulatory domain updated:
[ 4.172751] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 4.172767] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4.172780] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4.172792] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 4.172805] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4.172817] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4.704189] wlcore: wl18xx driver version:
[ 5.145601] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 5.166969] wlcore: loaded
[ 5.167019] wlcore: driver version:
[ 5.167027] wlcore: compilation time: Wed Jan 15 11:46:00 2014
[ 9.159010] wlcore: PHY firmware version: Rev 8.2.WD.3.195
[ 9.211106] wlcore: firmware booted (Rev 8.8.0.280.13)
[ 9.487950] wlcore: down
[ 9.905776] wlcore: PHY firmware version: Rev 8.2.WD.3.195
[ 9.948580] wlcore: firmware booted (Rev 8.8.0.280.13)
[ 9.970130] cfg80211: Calling CRDA for country: GB
[ 9.971602] cfg80211: Regulatory domain changed to country: GB
[ 9.971619] cfg80211: DFS Master region ETSI
[ 9.971627] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 9.971641] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 9.971653] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 9.971664] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 9.971676] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 9.971688] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[ 12.305998] device wlan1 entered promiscuous mode
[ 182.546388] sd 0:0:0:1: timing out command, waited 180s
[ 182.553976] sd 0:0:0:0: timing out command, waited 180s
[ 362.556390] sd 0:0:0:1: timing out command, waited 180s
[ 362.568617] sd 0:0:0:0: timing out command, waited 180s
[ 542.568457] sd 0:0:0:1: timing out command, waited 180s
[ 542.573980] sd 0:0:0:1: [sdb] Unit Not Ready
[ 542.578481] sd 0:0:0:1: [sdb] Sense Key : 0x4 [current]
[ 542.584143] sd 0:0:0:1: [sdb] ASC=0x30 <> ASCQ=0x89
[ 542.597539] sd 0:0:0:0: timing out command, waited 180s
[ 542.603064] sd 0:0:0:0: [sda] READ CAPACITY failed
[ 542.608104] sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
[ 542.614760] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]
[ 542.620429] sd 0:0:0:0: [sda] ASC=0x30 <> ASCQ=0x89
[ 722.597511] sd 0:0:0:1: timing out command, waited 180s
[ 722.647482] sd 0:0:0:0: timing out command, waited 180s
[ 722.653001] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled

ls -lrt /dev/sd*

ls: /dev/sd*: No such file or directory

well before porting to an other distro, it would be nice to update kernel, I’ve isolated some patches and now consider to port to device trees, feel free to pm me I will share more info.

1 Like

Hi,

I uncompressed the firmware and I found u-boot, rootfs and other stuff.
I am convinced that openwrt could be ported on this device but I have almost no experience in building openwrt.

How to PM you ?

Best regards,