Hacking náhodné desky WD Passport (duo ?)

po připojení 3.3 ttl to do konzole vybleje boot vystup

U-Boot 2009.08-svn65645 (Oct 08 2012 – 14:36:50), Build: 0.2.5

CPU: AMCC PowerPC UNKNOWN (PVR=12c41c83) at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
Bootstrap Option E – Boot ROM Location NOR/SRAM (8 bits)
32 kB I-Cache 32 kB D-Cache
Board: Apollo-3G – APM82181 Board, 2SATA, 1USB
I2C: ready
DRAM: Auto calibration 256 MB
FLASH: 512 kB
DTT: 1 FAILED INIT
Net: PHY EC1 Register: 0x2c8c
ppc_4xx_eth0

Type run flash_nfs to mount root filesystem over NFS

Hit any key to stop autoboot: 0


architektura

Konfigurak uBoot

bootcmd=run boot_sata_script
bootdelay=5
baudrate=115200
loads_echo=
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
hostname=apollo3g
netdev=eth0
serverip=172.25.102.35
fresh_install=dhcp; run net_nfs
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs} ip=dhcp
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
addmisc=setenv bootargs ${bootargs}
initrd_high=30000000
kernel_addr_r=1000000
fdt_addr_r=1800000
ramdisk_addr_r=1900000
hostname=apollo3g
bootfile=apollo3g/uImage
ramdisk_file=apollo3g/uRamdisk
sata_controller=sata1
load_boot=if run load_boot_file_1; then echo Loaded part 1; else echo Try part 2; run load_boot_file_2; fi
load_boot_file_1=sata init; ext2load sata 1:1 100000 /boot/boot.scr
load_boot_file_2=sata init; ext2load sata 1:2 100000 /boot/boot.scr
boot_sata_script=run load_boot; source 100000
rootpath=/nfs/debian_ppc/rootfs
flash_nfs=run nfsargs addip addtty addmisc;bootm ${kernel_addr} - ${fdt_addr}
net_nfs=tftp ${kernel_addr_r} ${bootfile}; tftp ${fdt_addr_r} ${fdt_file}; run nfsargs addip addtty addmisc;bootm ${kernel_addr_r} - ${fdt_addr_r}
net_self_load=tftp ${kernel_addr_r} ${bootfile};tftp ${fdt_addr_r} ${fdt_file};tftp ${ramdisk_addr_r} ${ramdisk_file};
net_self=run net_self_load;run ramargs addip addtty addmisc;bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
fdt_file=apollo3g/apollo3g.dtb
load=tftp 200000 apollo3g/u-boot.bin
update=protect off 0xFFFA0000 FFFFFFFF;era 0xFFFA0000 FFFFFFFF;cp.b ${fileaddr} 0xFFFA0000 ${filesize};setenv filesize;saveenv
upd=run load update
nload=tftp 200000 apollo3g/u-boot-nand.bin
nupdate=nand erase 0 100000;nand write 200000 0 100000;setenv filesize;saveenv
nupd=run nload nupdate
kernel_addr=fc000000
fdt_addr=fc1e0000
ramdisk_addr=fc200000
pciconfighost=1
pcie_mode=RP:RP
ethact=ppc_4xx_eth0
filesize=1E
ipaddr=192.168.5.3
3g_self_test=0
ethaddr=00:90:A9:BF:9F:84
do_vft=false
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.08-svn65645 (Oct 08 2012 - 14:36:50)
Environment size: 2098/4091 bytes

Deska

napajeni

kdovíco

Flash pamět 512k

RAM DDR2

ethernet transiever


Links

T8284 je stepdown, https://www.richtek.com/Products/Switching%20Regulators/DC_DC%20StepDown%20Convertor/RT8284?sc_lang=en

NXP AHC244 netusim

39VF040 – 512Kb flash – tady je „system“ NT5TU64M16GG-AC – DDR2@400Mhz, udajne 1GB na desce jsou dve. system reportuje 256mb https://www.memory-distributor.com/nt5tu64m16gg-ac.html

BCM54610C1KMLG – broadcom gigabit TRANSCEIVER (ta velka hranata vec k tomu jsou civky) https://cz.mouser.com/datasheet/2/678/broadcom_limited_brdcs01301-1-1747579.pdf