Debian installation instructions for WD EX2100 February 12, 2018 12:29AM |
Registered: 1 year ago Posts: 112 |
BootROM - 1.73 Booting from NAND flash General initialization - Version: 1.0.0 Detected Device ID 6820 High speed PHY - Version: 2.0 Load WD Yosemite Serdes Config: board SerDes lanes topology details: | Lane # | Speed | Type | -------------------------------- | 0 | 06 | SATA0 | | 1 | 05 | PCIe0 | | 2 | 06 | SATA1 | | 3 | 05 | USB3 HOST1 | | 4 | 05 | USB3 HOST0 | | 5 | 00 | SGMII2 | -------------------------------- PCIe, Idx 0: detected no link High speed PHY - Ended Successfully DDR3 Training Sequence - Ver TIP-1.26.0 mvSysEnvGetTopologyUpdateInfo: TWSI Read failed DDR3 Training Sequence - Switching XBAR Window to FastPath Window DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2013.01_v1.08 (Jan 29 2015 - 10:18:06) Marvell version: 2014_T3.0p6 Board: Yosemite DB6820 SoC: MV88F6820 Rev A0 running 2 CPUs CPU: ARM Cortex A9 MPCore (Rev 1) LE
sudo parted --script /dev/sdX \ mklabel msdos \ mkpart primary ext3 1MiB 100% sudo mkfs.ext3 -L rootfs /dev/sdX1
ROOTFSDIR=$(mktemp -d) mount /dev/sdX1 $ROOTFSDIR tar -C $ROOTFSDIR -jxvf Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2
tar -C $ROOTFSDIR/boot/ -xvf linux-dtb-4.14.1-mvebu-tld-1.tar
cd $ROOTFSDIR/boot/ cat zImage dts/armada-385-wd-ex2100.dtb > zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.4-mvebu-tld-1 -d zImage.fdt uImage
tar -zxvf u-boot-a38x-Yosemite_2014T3_PQ.tar.gz
cp u-boot-a38x-Yosemite_2014T3_PQ-nand.bin $ROOTFSDIR/root/
sudo umount $ROOTFSDIR
./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-Yosemite_2014T3_PQ-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...-�$�"Ufw�$�"U����$ Dfw�$�"U�\�$�"U����$�DUf�$�"Uw��"U����$4"U���$�"Uw�$�"U���$�DUf|fD�&T���$�"U�E�$�"Df3DD�DU�E7$�"U����$4"U���$�"U�E�4"U�/7@� ��$DUw�$�"U����$�DUff�$�"D��fD$U�� Sending boot image... 0 % [......................................................................]If the handshake was unsuccessful, you will see normal u-boot output as you should have seen in the “Uart output” section above. Repeat the procedure until you see kwboot say “Sending boot image…” followed by loading u-boot via uart. This takes some time (~90 seconds).
Enable HD1 Enable HD2
Enable HD1 Enable HD2 Net: | port | Interface | PHY address | |--------|-----------|--------------| | egiga0 | RGMII | 0x00 | | egiga1 | RGMII | In-Band | | egiga2 | SGMII | 0x01 | egiga0 [PRIME], egiga1, egiga2 Hit any key to stop autoboot: 0 Marvell>> 1111
setenv bootdev usb setenv device '0:1' setenv load_initrd_addr 0x2900000 setenv load_image_addr 0x02000000 setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd' setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage' setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"' setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr' setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset' printenv run bootcmd_usb
mkdir nand_backup cd nand_backup nanddump --noecc --omitoob -f mtd{0,7}.bin /dev/mtd{0,7}
setenv bootdev usb setenv device '0:1' setenv load_initrd_addr 0x2900000 setenv load_image_addr 0x02000000 setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd' setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage' setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"' setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr' setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset' saveenv run bootcmd_usb
echo “/dev/mtd0 0x100000 0x80000 0x20000 4” > /etc/fw_env.config
root@debian:~# fw_printenv CASset=max MALLOC_len=5 MPmode=SMP autoload=no baudrate=115200 boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr bootargs=root=/dev/ram console=ttyS0,115200 …
root@debian:~# mtd_debug info /dev/mtd0 mtd.type = MTD_NANDFLASH mtd.flags = MTD_CAP_NANDFLASH mtd.size = 5242880 (5M) mtd.erasesize = 131072 (128K) mtd.writesize = 2048 (2K) mtd.oobsize = 64 regions = 0
nanddump --noecc --omitoob -s 0x100000 -l 0x80000 -f ubootenv.bin /dev/mtd0
flash_erase /dev/mtd0 0 8 nandwrite -p /dev/mtd0 u-boot-a38x-Yosemite_2014T3_PQ-nand.bin nandwrite -p /dev/mtd0 -s 0x100000 ubootenv.bin
Re: Debian installation instructions for WD EX2100 February 12, 2018 12:29AM |
Registered: 1 year ago Posts: 112 |
Ray Carbuhn
Re: Debian installation instructions for WD EX2100 September 29, 2018 07:57PM |
Re: Debian installation instructions for WD EX2100 September 29, 2018 11:20PM |
Admin Registered: 8 years ago Posts: 12,009 |