===== RELATED ===== * [[DSP]]: For [[zoom]] GuitaR SfX using TexasInstrument DaC and ZooM DsP ===== WD Passport Wireless ===== check * http://rzr.online.fr/q/am335x_evm * http://www.ti.com/tool/TMDXEVM3358 ===== Community ===== * http://murga-linux.com/puppy/viewtopic.php?t=96716# * http://www.anandtech.com/show/8763/western-digital-my-passport-wireless-review# * https://github.com/ksylvan/MyPassportWirelessHacks/blob/master/ncat/README.md * https://community.wd.com/c/wd-external-drives/my-passport-wireless * https://community.wd.com/search?q=category%3A133%20%40rzrfreefr ===== HARDWARE ===== * https://fccid.io/EMJSE2B * https://fccid.io/document.php?id=2361155 * CpU: AM3352BZCZ80 : Texas Instruments (TI) Sitara AM335x (Cortex-A8 SoC) * http://www.ti.com/product/AM3352 * RaM: SK hynix H5TQ4G63AFR 512 MB DDR3 SDRAM * RoM: SK hynix H27U1G8F2B 128 MB SLC NAND Flash * WiFi: TI WiLink WL1805MOD SDIO Wi-Fi (802.11bgn, 2x2 MIMO) Module * BatterY : 3400 mAh 3.7V Li-Po PinOut ? * J1: Battery; j9: ? ; J11: ?; TP26; TP30; * https://community.wd.com/t/anyway-to-recover-if-i-brick/100914/2 * https://pudlez.net/mpw/DSC_0013.JPG# J11 * http://www.anandtech.com/Gallery/Album/4108#7 TearDown * https://www.youtube.com/watch?v=5yaPHwdFtuE# Dismantle ==== WiFi ==== * https://github.com/torvalds/linux/commits/master/drivers/net/wireless/ti/wl18xx/Kconfig (Since 3.5) * http://processors.wiki.ti.com/index.php/WL18xx * https://wireless.wiki.kernel.org/en/users/drivers/wl18xx * http://www.ti.com/lit/ds/symlink/wl1805mod.pdf ubifs-root/1873990007/rootfs/lib/firmware/LICENCE.ti-connectivity ubifs-root/1873990007/rootfs/lib/firmware/ti-connectivity ubifs-root/1873990007/rootfs/lib/firmware/ti-connectivity/wl18xx-fw-2.bin ubifs-root/1873990007/rootfs/lib/firmware/ti-connectivity/wl18xx-conf.bin * http://processors.wiki.ti.com/index.php/WL1835_Cape_on_BeagleBone_with_MainLine_Kernel_Debian_Filesystem 4.1 ==== CPU ==== * https://www.element14.com/community/docs/DOC-50168/l/texas-instruments-datasheet-for-am335x-arm-cortex-a8-microprocessors-mpus ==== HDD ==== Disk /dev/sdb: 465.8 GiB, 500107859968 bytes, 976773164 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 Disklabel type: gpt Disk identifier: DEADBEEF-BADC-0DE0-BF6D-DEADBEEFBADC Device Start End Sectors Size Type /dev/sdb1 34 968317023 968316990 461.7G Microsoft basic data sudo parted /dev/sdb -s print unit b print Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 8454188 blocks) or continue with the current setting? Model: WDC WD50 00LPVX-11V0T (scsi) Disk /dev/sdb: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 17.4kB 496GB 496GB primary msftdata Model: WDC WD50 00LPVX-11V0T (scsi) Disk /dev/sdb: 500107859968B Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 17408B 495778316287B 495778298880B primary msftdata * https://www.reddit.com/r/linux/comments/17b64a/psa_avoid_wd_passport_drives_you_cant_reformat/# * http://www.forensicswiki.org/wiki/DCO_and_HPA# ==== UART ==== * https://community.wd.com/t/anyway-to-recover-if-i-brick/100914/8 ===== SOFTWARE ====== Original FirmWare enable SsH: * http://support.wdc.com/knowledgebase/answer.aspx?ID=11711# ErroR * https://www.hackviking.com/single-board-computers/wd-mypassport-wireless-with-bittorrent-sync/ * https://community.wd.com/t/broken-gpl-sources-1-06-06/163610# OpenSource * https://community.wd.com/t/buildroot-building-custom-f-w/163524/4 * https://community.wd.com/t/wd-2tb-wireless-pre-loaded-files-lost-after-format/143332# * https://community.wd.com/t/factory-reset/100937/8# * http://support.wdc.com/product.aspx?ID=227&lang=en# 1.05.01 * http://support.wdc.com/downloads.aspx?g=227# update/MyPassportWireless_x.bin ==== FIRMWARE ===== * http://download.wdc.com/nas/MyPassportWireless_1.05.01.zip tar xfvz MyPassportWireless_1.05.01.bin fwupg_images/ fwupg_images/package fwupg_images/version.buildtime.md5 fwupg_images/uImage fwupg_images/rootfs.cpio fwupg_images/uImage-update.md5 fwupg_images/version.md5 fwupg_images/uImage.md5 fwupg_images/version.packages.md5 fwupg_images/uImage-update fwupg_images/AsmSataFw.bin.md5 fwupg_images/upgrade.sh fwupg_images/AsmSataFw.bin fwupg_images/upgrade.sh.md5 fwupg_images/version fwupg_images/version.packages fwupg_images/version.buildtime fwupg_images/rootfs.cpio.md5 fwupg_images/checklist ... strings ./media/sda1/update/u-boot.img U-Boot 2013.01.01 (Dec 15 2014 - 15:35:51) bootcmd=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loaduimagefat; then run mmcboot;elif run loaduimage; then run mmcboot;else echo Could not find ${bootfile} ;fi;else run nandboot;fi; bootdelay=0 baudrate=115200 arch=arm cpu=armv7 board=am335x board_name=am335x vendor=ti soc=am33xx loadaddr=0x80200000 kloadaddr=0x80007fc0 fdtaddr=0x80F80000 fdt_high=0xffffffff rdaddr=0x81000000 bootfile=uImage (...) # binwalk -e _MyPassportWireless_1.05.01.bin.extracted/fwupg_images/rootfs.cpio file bin/busybox bin/busybox: setuid ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.31, BuildID[sha1]=3c52a0fe0a25a9ddbd83dd17a1b28637dfd927b1, stripped (...) usr/lib/libstdc++.so.6.0.17 (...) binwalk -e fwupg_images/_uImage.extracted/4864 strings fwupg_images/_uImage.extracted/4864 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 sudo ubireader_extract_files media/sda1/update/rootfs.ubi cat ubifs-root/1873990007/rootfs/etc/version 1.05.01 cat ubifs-root/1873990007/rootfs/etc/os-release NAME=Buildroot VERSION=2013.05-svn257-dirty ID=buildroot VERSION_ID=2013.05 PRETTY_NAME="Buildroot 2013.05" * https://community.wd.com/t/system-reset-vs-data-protection/100888/12# ScriptS * https://github.com/devttys0/binwalk/pull/154/commits/f4320389cb28db9fd0e45b6c1e533ebe485deb3f# UbiFs ===== BSP ===== BR2_STRIP_EXCLUDE_DIRS="usr/local/twonkymedia-7" BR2_TARGET_GENERIC_ROOT_PASSWD="welc0me" BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.21AvatarFW.x.config" BR2_PACKAGE_KEXEC=y BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV=y # # WD packages # BR2_PACKAGE_WDPACKAGE_BASIC=y # BR2_PACKAGE_WDPACKAGE_DISPATCHER is not set BR2_PACKAGE_WDPACKAGE_MEDIACRAWLER=y BR2_PACKAGE_WDPACKAGE_NOTIFIER=y BR2_PACKAGE_WDPACKAGE_RESTAPI=y BR2_PACKAGE_WDPACKAGE_WEBUI=y BR2_PACKAGE_WDPACKAGE_TWONKYSERVER=y BR2_PACKAGE_PARAGON_UFSD=y BR2_PACKAGE_PARAGON_TOOLS=y # Primax packages (...) # # Bootloaders # # BR2_TARGET_BAREBOX is not set # BR2_TARGET_MXS_BOOTLETS is not set BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BOARDNAME="am335x_evm" # BR2_TARGET_UBOOT_LATEST_VERSION is not set # BR2_TARGET_UBOOT_CUSTOM_VERSION is not set BR2_TARGET_UBOOT_CUSTOM_TARBALL=y # BR2_TARGET_UBOOT_CUSTOM_GIT is not set BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="u-boot-2013.01.01-psp06.00.00.00.tgz" BR2_TARGET_UBOOT_VERSION="custom" BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="primax_patch/source_patch_dir/uboot" # BR2_TARGET_UBOOT_FORMAT_AIS is not set # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y # BR2_TARGET_UBOOT_FORMAT_NAND_BIN is not set # BR2_TARGET_UBOOT_FORMAT_KWB is not set # BR2_TARGET_UBOOT_NETWORK is not set BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="MLO" # BR2_TARGET_UBOOT_ENVIMAGE is not set # BR2_TARGET_XLOADER is not set # # Kernel # BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="linux-3.2.0-psp04.06.00.11.tgz" BR2_LINUX_KERNEL_VERSION="custom" BR2_LINUX_KERNEL_PATCH="primax_patch/source_patch_dir/linux-primaxboard.patch" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="am335x_evm" BR2_LINUX_KERNEL_UBOOT_IMAGE=y BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="" ==== rootfs ==== * https://community.wd.com/t/factory-reset/100937/5 df -h Filesystem 1K-blocks Used Available Use% Mounted on ubi0:rootfs 102528 84180 18348 82% / devtmpfs 256024 0 256024 0% /dev tmpfs 256132 0 256132 0% /dev/shm tmpfs 307200 800 306400 0% /tmp tmpfs 512 0 512 0% /media "Linux MyPassport 3.2.0" {{http://images.anandtech.com/doci/8763/ssh-pic_575px.png}} ===== MODDING ===== * http://stackoverflow.com/questions/33644432/how-to-install-transmission-bittorrent-client-busybox-function# * https://www.hackwifidrive.com/wd-wireless-pro# * https://www.youtube.com/watch?v=_SOdkulo4vc&t=4s# * https://youtu.be/1noXmiHLqt4# ChRoot * https://github.com/ksylvan/MyPassportWirelessHacks/tree/master/ncat# ToolChain ===== LINUX ===== * 3.2 < 3.10 * https://community.wd.com/t/how-to-install-transmission-bittorent-client-on-mypassport-wireless/137634/3 ===== BooT ===== * https://community.wd.com/t/alternative-os-for-mpw/100912/17 * http://downloads.wdc.com/gpl/buildroot-GPL_1_01_09.tgz ./buildroot-GPL/.config BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BOARDNAME="am335x_evm" * http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User's_Guide * https://community.wd.com/t/anyway-to-recover-if-i-brick/100914/11# 2 bootloaders ===== LINKS ===== * https://eewiki.net/display/linuxonarm/BeagleBone#BeagleBone-LinuxKernel# MainLine * http://blog.wizzup.org/blog/beaglebone-mainline-3.13-rc7 * https://elinux.org/Building_for_BeagleBone#Mainline_Kernelam335x * https://beagleboard.org/project/bbb-mainline-linux-kernel/ * http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel * http://arago-project.org/wiki/index.php/Main_Page# YoctO * http://bbb.io/boot# SbC ===== MORE ===== @TaG: SfX DaC BuildRoot