|
Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 06, 2018 07:40AM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 06, 2018 03:08PM |
Admin Registered: 15 years ago Posts: 20,034 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 07, 2018 12:35PM |
Registered: 7 years ago Posts: 10 |
Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found scanning bus for devices...the uboot hangs forever. In armada_38x.h there is
#define CONFIG_SYS_64BIT_LBA /* Support disk over 2TB */ #define CONFIG_LBA48so I hoped that GPT would be supported?
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 07, 2018 02:43PM |
Admin Registered: 15 years ago Posts: 20,034 |
uboot_version=U-Boot 2013.01-svn48797 (Jan 18 2016 - 03:10:12) Marvell version: 2014_T3.0p6
setenv sata_init 'mw.l f1018100 20420000; mw.l f1018140 003ca800; sleep 3; scsi init'
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 08, 2018 03:15AM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 08, 2018 03:15PM |
Admin Registered: 15 years ago Posts: 20,034 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 08, 2018 04:28PM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 10, 2018 04:56AM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 10, 2018 02:46PM |
Admin Registered: 15 years ago Posts: 20,034 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 10, 2018 04:13PM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 10, 2018 04:42PM |
Admin Registered: 15 years ago Posts: 20,034 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 11, 2018 07:43AM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 11, 2018 04:09PM |
Admin Registered: 15 years ago Posts: 20,034 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 26, 2018 07:18AM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 26, 2018 10:43AM |
Registered: 12 years ago Posts: 1,303 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 26, 2018 01:36PM |
Admin Registered: 15 years ago Posts: 20,034 |
printenv
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra September 27, 2018 11:54PM |
Admin Registered: 15 years ago Posts: 20,034 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra October 21, 2018 12:51PM |
Registered: 7 years ago Posts: 10 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 24, 2022 07:32AM |
Registered: 3 years ago Posts: 144 |
Marvell>> usb storage
Device 0: Vendor: PNY Rev: 1100 Prod: USB 2.0 FD
Type: Removable Hard Disk
Capacity: 3894.1 MB = 3.8 GB (7975296 x 512)
Marvell>> fatload usb 0:1 0xa00000 uImage
reading uImage
Marvell>> fatload usb 0:1 0x2000000 uRamdisk
reading uRamdisk
1622632 bytes read in 70 ms (22.1 MiB/s)
Marvell>> bootm 0xa00000 0x2000000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
Image Name: WDMC-Gen2
Created: 2022-11-23 15:00:20 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3886291 Bytes = 3.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
Image Name: Custom initramfs
Created: 2021-07-28 7:11:31 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 1622568 Bytes = 1.5 MiB
Load Address: 00e00000
Entry Point: 00000000
Verifying Checksum ... OK
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
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig videol
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0x02000020 0x0500000 0x0500000; nand read.e 0x2900000 0x0a00000 0x0500000; bootm 0x02000020 0x2900000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath i;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000;
bootdelay=1
cacheShare=no
console=console=ttyS0,115200
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:36:2c:34
eth1mtu=1500
eth2addr=00:50:43:36:98:34
eth2mtu=1500
eth3addr=00:50:43:2c:98:36
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:98:2c:34
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@23)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:34:98:36
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=1
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
Environment size: 3221/524284 bytes
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 24, 2022 08:12AM |
Registered: 3 years ago Posts: 144 |
Marvell>> usb start
(Re)start USB...
USB0: Port (usbActive) : 1 Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> fatload usb 0:1 0x02000020 uImage
reading uImage
3886355 bytes read in 147 ms (25.2 MiB/s)
Marvell>> fatload usb 0:1 0x2900000 uRamdisk
reading uRamdisk
1622632 bytes read in 76 ms (20.4 MiB/s)
Marvell>> bootm 0x02000020 0x2900000
## Booting image at 02000020 ...
## Booting kernel from Legacy Image at 02000020 ...
Image Name: WDMC-Gen2
Created: 2022-11-23 15:00:20 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3886291 Bytes = 3.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
Image Name: Custom initramfs
Created: 2021-07-28 7:11:31 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 1622568 Bytes = 1.5 MiB
Load Address: 00e00000
Entry Point: 00000000
Verifying Checksum ... OK
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 24, 2022 01:37PM |
Registered: 3 years ago Posts: 144 |
Marvell>> fatload usb 0:1 0x00a00000 boot_mio/uimage reading boot_mio/uimage 3886355 bytes read in 154 ms (24.1 MiB/s) Marvell>> fatload usb 0:1 0x00f00000 boot_mio/uramdisk reading boot_mio/uramdisk 1622632 bytes read in 87 ms (17.8 MiB/s) Marvell>> bootm 0x00a00000 0x00f00000 ## Booting image at 00a00000 ... ## Booting kernel from Legacy Image at 00a00000 ... Image Name: WDMC-Gen2 Created: 2022-11-23 15:00:20 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3886291 Bytes = 3.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 00f00000 ... Image Name: Custom initramfs Created: 2021-07-28 7:11:31 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 1622568 Bytes = 1.5 MiB Load Address: 00e00000 Entry Point: 00000000 Verifying Checksum ... OK
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 24, 2022 02:48PM |
Admin Registered: 15 years ago Posts: 20,034 |
Quote
uImage 0x800000
uInitrd 0x2100000
setenv initrd_high 0xffffffff
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 04:01AM |
Registered: 3 years ago Posts: 144 |
Marvell>> setenv fdt_skip_update yes Marvell>> setenv initrd_high 0xffffffff Marvell>> setenv bootargs root=/dev/sda2 console=ttyS0,115200 earlyprintk=serial Marvell>> fatload usb 0:1 0x800000 uimage reading uimage 5236606 bytes read in 224 ms (22.3 MiB/s) Marvell>> fatload usb 0:1 0x2100000 uInitrd reading uInitrd 9649885 bytes read in 397 ms (23.2 MiB/s) Marvell>> bootm 0x800000 0x2100000 ## Booting image at 00800000 ... ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.13.8-mvebu-tld-1 Created: 2022-11-25 9:49:59 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5236542 Bytes = 5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 02100000 ... Image Name: initramfs-5.13.8-mvebu-tld-1 Created: 2021-09-24 7:54:32 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9649821 Bytes = 9.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 04:13AM |
Registered: 3 years ago Posts: 144 |
Marvell>> setenv fdt_skip_update yes Marvell>> setenv initrd_high 0xffffffff Marvell>> setenv bootargs root=/dev/sda2 console=ttyS0,115200 earlyprintk=serial Marvell>> fatload usb 0:1 0xa00000 uimage reading uimage 5236606 bytes read in 224 ms (22.3 MiB/s) Marvell>> fatload usb 0:1 0x1200000 uInitrd reading uInitrd 9649885 bytes read in 397 ms (23.2 MiB/s) Marvell>> bootm 0xa00000 0x1200000 ## Booting image at 00a00000 ... ## Booting kernel from Legacy Image at 00a00000 ... Image Name: Linux-5.13.8-mvebu-tld-1 Created: 2022-11-25 9:49:59 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5236542 Bytes = 5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01200000 ... Image Name: initramfs-5.13.8-mvebu-tld-1 Created: 2021-09-24 7:54:32 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9649821 Bytes = 9.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 07:04AM |
Registered: 3 years ago Posts: 144 |
Marvell>> setenv fdt_skip_update yes Marvell>> setenv initrd_high 0xffffffff Marvell>> setenv bootargs root=/dev/sda2 console=ttyS0,115200 earlyprintk=serial Marvell>> fatload usb 0:1 0x800000 uimage reading uimage 5236606 bytes read in 225 ms (22.2 MiB/s) Marvell>> fatload usb 0:1 0x2100000 uramdisk reading uramdisk 2679866 bytes read in 129 ms (19.8 MiB/s) Marvell>> bootm 0x800000 0x2100000 ## Booting image at 00800000 ... ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.13.8-mvebu-tld-1 Created: 2022-11-25 9:49:59 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5236542 Bytes = 5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 02100000 ... Image Name: Ramdisk Created: 2017-02-04 18:43:13 UTC Image Type: ARM Linux RAMDisk Image (lzma compressed) Data Size: 2679802 Bytes = 2.6 MiB Load Address: 00e00000 Entry Point: 00e00000 Verifying Checksum ... OK
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 10:54AM |
Registered: 3 years ago Posts: 144 |
root@MyCloudEX2Ultra root # cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 1 (v7l) BogoMIPS : 2655.84 Features : swp half thumb fastmult vfp edsp neon vfpv3 tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x4 CPU part : 0xc09 CPU revision : 1 processor : 1 model name : ARMv7 Processor rev 1 (v7l) BogoMIPS : 2655.84 Features : swp half thumb fastmult vfp edsp neon vfpv3 tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x4 CPU part : 0xc09 CPU revision : 1 Hardware : Marvell Armada 380/381/382/385/388 (Device Tree) Revision : 0000 Serial : 0000000000000000
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 02:00PM |
Admin Registered: 15 years ago Posts: 20,034 |
ext2load usb 0:1 0x00800000 /boot/uimage ext2load usb 0:1 0x02100000 /boot/uInitrd
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 02:06PM |
Registered: 3 years ago Posts: 144 |
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 02:20PM |
Registered: 3 years ago Posts: 144 |
Marvell>> usb start
(Re)start USB...
USB0: Port (usbActive) : 1 Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> setenv fdt_skip_update yes
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv bootargs root=/dev/sda2 console=ttyS0,115200 earlyprintk=serial
Marvell>> ext2load usb 0:1 0x00800000 uimage
ERROR unknown endpoint state for ep
Marvell>> ext2ls usb 0:1 ERROR unknown endpoint state for ep
|
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra November 25, 2022 02:43PM |
Admin Registered: 15 years ago Posts: 20,034 |
Marvell>> setenv fdt_skip_update yes Marvell>> setenv bootargs root=/dev/sda2 console=ttyS0,115200 earlyprintk=serial Marvell>> fatload usb 0:1 0x02000000 uimageand then
bootm 0x02000000