Re: RN10400 January 28, 2021 07:14AM |
Registered: 4 years ago Posts: 116 |
Re: RN10400 January 28, 2021 02:07PM |
Registered: 4 years ago Posts: 116 |
wipe /dev/sdb1 Okay to WIPE 1 special file ? (Yes/No) Yes Wiping /dev/sdb1, pass 1 (1 ) ^C 2009 / 945992] ETA 1d 19h *** Interrupted by signal 2 *** If you want to resume wiping while preserving the pass order, use these options: *** -X 1 -x 0,1,2,3,19,16,26,14,13,29,8,30,21,24,9,7,28,23,15,12,18,17,22,4,20,10,27,11,25,5,6,31,32,33,34 umount /media/sdb1 umount: /media/sdb1: not mounted. mkfs.ext3 -L rootfs /dev/sdb1 mke2fs 1.44.5 (15-Dec-2018) /dev/sdb1 is mounted; will not make a filesystem here! umount /media/sdb1 umount: /media/sdb1: not mounted. mkfs.ext3 -L rootfs /dev/sdb1 mke2fs 1.44.5 (15-Dec-2018) /dev/sdb1 is mounted; will not make a filesystem here! mkfs.ext3 -L rootfs /dev/sdb1 mke2fs 1.44.5 (15-Dec-2018) Creating filesystem with 3783968 4k blocks and 946560 inodes Filesystem UUID: 290c0f57-08b5-4f37-885d-3e7eec793f5b Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done mount /dev/sdb1 /media/sdb1 cd /media/sdb1 tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 umount /media/sdb1 umount: /media/sdb1: not mounted.
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start;fatload usb 0:1 0x2000000 /uImage-recovery;fatload usb 0:1 0x3000000 /initrd-recovery.gz;nand read 0x1000000 0xD4000 0x6000; bootm 0x2000000 0x3000000 0x1000000 bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2349/131068 bytes Marvell>>
Re: RN10400 January 28, 2021 04:15PM |
Admin Registered: 14 years ago Posts: 19,325 |
dmesg | grep USB(The last USB drive that was plugged in will show the activities at the end of dmesg)
fdisk /dev/sdc
mkfs.ext3 -L rootfs /dev/sdc1
mkdir /media/sdc1 mount /dev/sdc1 /media/sdc1
cd /media/sdb1 tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 sync umount /media/sdc1
man fdisk man mkfs.ext3
Re: RN10400 January 28, 2021 05:04PM |
Registered: 4 years ago Posts: 116 |
Re: RN10400 January 28, 2021 05:24PM |
Registered: 4 years ago Posts: 116 |
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start;fatload usb 0:1 0x2000000 /uImage-recovery;fatload usb 0:1 0x3000000 /initrd-recovery.gz;nand read 0x1000000 0xD4000 0x6000; bootm 0x2000000 0x3000000 0x1000000 bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2349/131068 bytes Marvell>>I wil try again later on.
Re: RN10400 January 28, 2021 05:43PM |
Registered: 4 years ago Posts: 116 |
dmesg | grep USB [ 3.207419] ACPI: bus type USB registered [ 3.257036] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.287683] ehci-pci 0000:00:10.4: new USB bus registered, assigned bus number 1 [ 3.301180] ehci-pci 0000:00:10.4: USB 2.0 started, EHCI 1.00 [ 3.301356] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 3.301359] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.301685] hub 1-0:1.0: USB hub found [ 3.314329] uhci_hcd: USB Universal Host Controller Interface driver [ 3.314706] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 [ 3.314905] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 3.314908] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.315181] hub 2-0:1.0: USB hub found [ 3.328848] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 [ 3.336542] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 3.336547] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.336921] hub 3-0:1.0: USB hub found [ 3.337375] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 [ 3.337554] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 3.337557] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.344248] hub 4-0:1.0: USB hub found [ 3.368222] uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5 [ 3.368404] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 3.368407] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.368695] hub 5-0:1.0: USB hub found [ 806.227668] usb 1-5: new high-speed USB device number 2 using ehci-pci [ 806.389554] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [ 806.389561] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 806.389563] usb 1-5: Product: USB DISK 2.0 [ 806.628332] usb-storage 1-5:1.0: USB Mass Storage device detected [ 808.468741] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [ 5245.531073] usb 1-5: USB disconnect, device number 2 [ 5269.940274] usb 3-2: new full-speed USB device number 2 using uhci_hcd [ 5270.156308] usb 3-2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00 [ 5270.156315] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5270.156318] usb 3-2: Product: CP2102 USB to UART Bridge Controller [ 5270.361391] usbserial: USB Serial support registered for generic [ 5270.390829] usbserial: USB Serial support registered for cp210x [ 5270.400536] usb 3-2: cp210x converter now attached to ttyUSB0 [ 5651.165417] usb 1-5: new high-speed USB device number 4 using ehci-pci [ 5651.327398] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [ 5651.327404] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5651.327406] usb 1-5: Product: USB DISK 2.0 [ 5651.333614] usb-storage 1-5:1.0: USB Mass Storage device detected [ 5653.179808] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [ 6881.428960] usb 3-2: USB disconnect, device number 2 [ 6881.429388] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [12940.280373] usb 1-5: USB disconnect, device number 4 [12952.924901] usb 1-5: new high-speed USB device number 5 using ehci-pci [12953.090974] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [12953.090982] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12953.090984] usb 1-5: Product: USB DISK 2.0 [12953.095461] usb-storage 1-5:1.0: USB Mass Storage device detected [12954.827377] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [15626.628114] usb 1-5: USB disconnect, device number 5 [15810.428014] usb 1-5: new high-speed USB device number 6 using ehci-pci [15810.585967] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [15810.585973] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [15810.585975] usb 1-5: Product: USB DISK 2.0 [15810.592385] usb-storage 1-5:1.0: USB Mass Storage device detected [15812.595671] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [19096.837442] usb 3-2: new full-speed USB device number 3 using uhci_hcd [19097.053479] usb 3-2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00 [19097.053487] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [19097.053490] usb 3-2: Product: CP2102 USB to UART Bridge Controller [19097.070717] usb 3-2: cp210x converter now attached to ttyUSB0 [19097.634406] usb 1-5: USB disconnect, device number 6 [24915.997157] usb 1-5: new high-speed USB device number 8 using ehci-pci [24916.163211] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [24916.163218] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [24916.163221] usb 1-5: Product: USB DISK 2.0 [24916.169395] usb-storage 1-5:1.0: USB Mass Storage device detected [24918.017878] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [26914.166170] usb 1-5: USB disconnect, device number 8 [26924.671323] usb 1-5: new high-speed USB device number 9 using ehci-pci [26924.833446] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [26924.833456] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [26924.833459] usb 1-5: Product: USB DISK 2.0 [26924.839969] usb-storage 1-5:1.0: USB Mass Storage device detected [26926.870395] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [27309.307663] usb 1-5: USB disconnect, device number 9 [27424.537832] usb 1-5: new high-speed USB device number 10 using ehci-pci [27424.695892] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [27424.695900] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [27424.695902] usb 1-5: Product: USB DISK 2.0 [27424.702545] usb-storage 1-5:1.0: USB Mass Storage device detected [27426.440666] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [28040.307699] usb 1-5: USB disconnect, device number 10 [28043.257690] usb 1-6: new high-speed USB device number 11 using ehci-pci [28043.423807] usb 1-6: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [28043.423814] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [28043.423817] usb 1-6: Product: USB DISK 2.0 [28043.430328] usb-storage 1-6:1.0: USB Mass Storage device detected [28044.980570] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [28119.963793] usb 1-6: USB disconnect, device number 11 [28122.703651] usb 1-5: new high-speed USB device number 12 using ehci-pci [28122.873292] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [28122.873298] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [28122.873301] usb 1-5: Product: USB DISK 2.0 [28122.875536] usb-storage 1-5:1.0: USB Mass Storage device detected [28124.438433] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [33859.447349] usb 1-5: USB disconnect, device number 12 [33936.991889] usb 1-5: new high-speed USB device number 13 using ehci-pci [33937.157955] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [33937.157965] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [33937.157967] usb 1-5: Product: USB DISK 2.0 [33937.163465] usb-storage 1-5:1.0: USB Mass Storage device detected [33939.087527] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4 [34129.511973] usb 1-5: USB disconnect, device number 13 [35113.765105] usb 1-5: new high-speed USB device number 14 using ehci-pci [35113.927192] usb 1-5: New USB device found, idVendor=13fe, idProduct=4300, bcdDevice= 1.00 [35113.927199] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [35113.927201] usb 1-5: Product: USB DISK 2.0 [35113.933327] usb-storage 1-5:1.0: USB Mass Storage device detected [35115.755184] scsi 4:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4
Re: RN10400 January 28, 2021 09:10PM |
Admin Registered: 14 years ago Posts: 19,325 |
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'And then,
printenv boot
Re: RN10400 January 30, 2021 03:08AM |
Registered: 4 years ago Posts: 116 |
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>> <INTERRUPT> Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>>
Re: RN10400 January 30, 2021 03:22AM |
Registered: 4 years ago Posts: 116 |
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>>
Re: RN10400 January 30, 2021 03:44PM |
Admin Registered: 14 years ago Posts: 19,325 |
Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage
free -h mount ls -lart /media/sdc1/boot
Re: RN10400 January 30, 2021 07:19PM |
Registered: 4 years ago Posts: 116 |
free -h total used free shared buff/cache available Mem: 3.8Gi 810Mi 1.1Gi 186Mi 1.9Gi 2.5Gi Swap: 3.9Gi 0B 3.9Gi mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1972516k,nr_inodes=184834,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=397660k,mode=755) /dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13539) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=397656k,mode=700) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2) ls -lart /media/sdc1/boot ls: cannot access '/media/sdc1/boot': No such file or directory ls -lart /media/sdb1/boot ls: cannot access '/media/sdb1/boot': No such file or directory
mkfs.ext3 -L rootfs /dev/sdb1and have run the install again
cd /media/sdb1 tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2then
syncand
cd / umount /media/sdb1Then when done move USB drive to RN10400 and start up and it is the same. So i don't know what is wrong.
Re: RN10400 January 30, 2021 09:04PM |
Admin Registered: 14 years ago Posts: 19,325 |
mkdir -p /media/sdb1 mount /dev/sdb1 /media/sdb1
ls -lart /media/sdb1/boot
Re: RN10400 January 31, 2021 03:53AM |
Registered: 4 years ago Posts: 116 |
free -h total used free shared buff/cache available Mem: 3.8Gi 755Mi 1.1Gi 186Mi 1.9Gi 2.5Gi Swap: 3.9Gi 0.0Ki 3.9GiThen Next command
mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1972484k,nr_inodes=184818,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=397652k,mode=755) /dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11763) mqueue on /dev/mqueue type mqueue (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) debugfs on /sys/kernel/debug type debugfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=397648k,mode=700) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sda1 on /media/root/6979e70a-644f-45b0-9dcb-a83bbfcc3ae6 type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2) /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)Then the last command.
ls -lart /media/sdb1/boot total 46192 drwxrwxrwx 21 root root 4096 Jan 20 2017 .. -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage-5.2.9-mvebu-tld-1 -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage -rw-r--r-- 1 root root 183639 Aug 19 2019 config-5.2.9-mvebu-tld-1 -rw------- 1 root root 5057632 Aug 19 2019 vmlinuz-5.2.9-mvebu-tld-1 -rw------- 1 root root 3266081 Aug 19 2019 System.map-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9676808 Aug 19 2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb drwxr-xr-x 2 root root 4096 Aug 19 2019 dts -rw-r--r-- 1 root root 9488554 Aug 26 2019 initrd.img-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9488618 Aug 26 2019 uInitrd drwxr-xr-x 3 root root 4096 Sep 5 2019 .
Re: RN10400 January 31, 2021 09:35AM |
Registered: 4 years ago Posts: 116 |
mkfs.ext3 -L rootfs /dev/sdb1Then make dir
mkdir /media/sdb1 mount /dev/sdb1 /media/sdb1And then
cd /media/stb1 tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2And
syncand then
cd / umount /media/sdb1then i move USB drive to NR10400
picocom --b 115200 --f n --p n --d 8 /dev/ttyUSB0Here is the read out
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image!
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> <INTERRUPT> Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>>
free -h total used free shared buff/cache available Mem: 3.8Gi 1.1Gi 1.1Gi 242Mi 1.6Gi 2.1Gi Swap: 3.9Gi 0B 3.9Gi
mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1972148k,nr_inodes=184650,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=397584k,mode=755) /dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10962) debugfs on /sys/kernel/debug type debugfs (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=397580k,mode=700) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sda1 on /media/root/6979e70a-644f-45b0-9dcb-a83bbfcc3ae6 type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2) /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)Then the last command.
ls -lart /media/sdb1/boot total 46192 drwxrwxrwx 21 root root 4096 Jan 20 2017 .. -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage-5.2.9-mvebu-tld-1 -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage -rw-r--r-- 1 root root 183639 Aug 19 2019 config-5.2.9-mvebu-tld-1 -rw------- 1 root root 5057632 Aug 19 2019 vmlinuz-5.2.9-mvebu-tld-1 -rw------- 1 root root 3266081 Aug 19 2019 System.map-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9676808 Aug 19 2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb drwxr-xr-x 2 root root 4096 Aug 19 2019 dts -rw-r--r-- 1 root root 9488554 Aug 26 2019 initrd.img-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9488618 Aug 26 2019 uInitrd drwxr-xr-x 3 root root 4096 Sep 5 2019 .
Re: RN10400 January 31, 2021 09:59AM |
Registered: 4 years ago Posts: 116 |
Re: RN10400 January 31, 2021 03:54PM |
Admin Registered: 14 years ago Posts: 19,325 |
mount ... /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)
cd /media/root/rootfs tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 sync sync
umount /media/root/rootfsNow you have the rootfs in the USB.
mount
mountNow you will see it is mounted at /media/root/rootfs again.
Re: RN10400 February 01, 2021 01:31AM |
Registered: 4 years ago Posts: 116 |
Re: RN10400 February 05, 2021 07:15AM |
Registered: 4 years ago Posts: 116 |
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>> FATAL: read zero bytes from port term_exitfunc: reset failed for dev UNKNOWN: Input/output error
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> <INTERRUPT> Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>>
free -h total used free shared buff/cache available Mem: 3.8Gi 1.1Gi 1.1Gi 240Mi 1.7Gi 2.2Gi Swap: 3.9Gi 0B 3.9GiThen next one.
mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1972544k,nr_inodes=184848,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=397664k,mode=755) /dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13323) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=397660k,mode=700) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sda1 on /media/root/6979e70a-644f-45b0-9dcb-a83bbfcc3ae6 type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2) /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)And last one.
ls -lart /media/sdb1/boot total 46192 drwxrwxrwx 21 root root 4096 Jan 20 2017 .. -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage-5.2.9-mvebu-tld-1 -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage -rw-r--r-- 1 root root 183639 Aug 19 2019 config-5.2.9-mvebu-tld-1 -rw------- 1 root root 5057632 Aug 19 2019 vmlinuz-5.2.9-mvebu-tld-1 -rw------- 1 root root 3266081 Aug 19 2019 System.map-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9676808 Aug 19 2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb drwxr-xr-x 2 root root 4096 Aug 19 2019 dts -rw-r--r-- 1 root root 9488554 Aug 26 2019 initrd.img-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9488618 Aug 26 2019 uInitrd drwxr-xr-x 3 root root 4096 Sep 5 2019 .Yes and now i use this.:-
cd /media/root/rootfs tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 sync syncBut it look like the same or what do you think.
Re: RN10400 February 05, 2021 09:16AM |
Registered: 4 years ago Posts: 116 |
Re: RN10400 February 05, 2021 04:59PM |
Admin Registered: 14 years ago Posts: 19,325 |
Quote
ls -lart /media/sdb1/boot
rm /media/sdb1 -rfNow you have no /media/sdb1 folder.
cd /media/root/rootfs tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 sync sync
Re: RN10400 February 05, 2021 04:59PM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: RN10400 February 06, 2021 01:37AM |
Registered: 4 years ago Posts: 116 |
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga0, egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>> Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start;fatload usb 0:1 0x2000000 /uImage-recovery;fatload usb 0:1 0x3000000 /initrd-recovery.gz;nand read 0x1000000 0xD4000 0x6000; bootm 0x2000000 0x3000000 0x1000000 bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2349/131068 bytes Marvell>>Yes that was the first and here come the readout after i put in the setenv send me.
FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>>
free -h total used free shared buff/cache available Mem: 3.8Gi 1.0Gi 1.1Gi 199Mi 1.7Gi 2.2Gi Swap: 3.9Gi 0B 3.9GiAnd then this command.
mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1972544k,nr_inodes=184848,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=397664k,mode=755) /dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13323) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=397660k,mode=700) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sda1 on /media/root/6979e70a-644f-45b0-9dcb-a83bbfcc3ae6 type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2) /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)Then the last command.
ls -lart /media/sdb1/boot total 46192 drwxrwxrwx 21 root root 4096 Jan 20 2017 .. -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage-5.2.9-mvebu-tld-1 -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage -rw-r--r-- 1 root root 183639 Aug 19 2019 config-5.2.9-mvebu-tld-1 -rw------- 1 root root 5057632 Aug 19 2019 vmlinuz-5.2.9-mvebu-tld-1 -rw------- 1 root root 3266081 Aug 19 2019 System.map-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9676808 Aug 19 2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb drwxr-xr-x 2 root root 4096 Aug 19 2019 dts -rw-r--r-- 1 root root 9488554 Aug 26 2019 initrd.img-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9488618 Aug 26 2019 uInitrd drwxr-xr-x 3 root root 4096 Sep 5 2019 .Yes this was one more time i try it and what do you see here.
Re: RN10400 February 06, 2021 01:52AM |
Registered: 4 years ago Posts: 116 |
Quote
There should be no files in /media/sdb1. To avoid confusing the issue, before plugging in the USB drive to format it, delele this folder and everything underneath:
(be extra careful when you do this, rm-rf at the wrong place would wipe out your Linux host file system
Re: RN10400 February 06, 2021 12:17PM |
Registered: 4 years ago Posts: 116 |
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>>
free -h total used free shared buff/cache available Mem: 3.8Gi 854Mi 1.3Gi 157Mi 1.7Gi 2.5Gi Swap: 3.9Gi 0.0Ki 3.9Gi
mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1972544k,nr_inodes=184848,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=397664k,mode=755) /dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13323) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=397660k,mode=700) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sda1 on /media/root/6979e70a-644f-45b0-9dcb-a83bbfcc3ae6 type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2) /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)
ls -lart /media/root/rootfs/boot total 46284 drwxrwxrwx 21 root root 4096 Jan 20 2017 .. -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage-5.2.9-mvebu-tld-1 -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage -rw-r--r-- 1 root root 183639 Aug 19 2019 config-5.2.9-mvebu-tld-1 -rw------- 1 root root 5057632 Aug 19 2019 vmlinuz-5.2.9-mvebu-tld-1 -rw------- 1 root root 3266081 Aug 19 2019 System.map-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9676808 Aug 19 2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb drwxr-xr-x 2 root root 4096 Aug 19 2019 dts -rw-r--r-- 1 root root 9488554 Aug 26 2019 initrd.img-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9488618 Aug 26 2019 uInitrd drwxr-xr-x 3 root root 4096 Sep 5 2019 .
Re: RN10400 February 06, 2021 06:12PM |
Admin Registered: 14 years ago Posts: 19,325 |
/dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)
ls -lart /media/root/rootfs/boot total 46284 drwxrwxrwx 21 root root 4096 Jan 20 2017 .. -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage-5.2.9-mvebu-tld-1 -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage -rw-r--r-- 1 root root 183639 Aug 19 2019 config-5.2.9-mvebu-tld-1 -rw------- 1 root root 5057632 Aug 19 2019 vmlinuz-5.2.9-mvebu-tld-1 -rw------- 1 root root 3266081 Aug 19 2019 System.map-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9676808 Aug 19 2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb drwxr-xr-x 2 root root 4096 Aug 19 2019 dts -rw-r--r-- 1 root root 9488554 Aug 26 2019 initrd.img-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9488618 Aug 26 2019 uInitrd drwxr-xr-x 3 root root 4096 Sep 5 2019 .
Re: RN10400 February 07, 2021 02:05PM |
Registered: 4 years ago Posts: 116 |
mkfs.ext3 -L rootfs /dev/sdb1And
cd /media/root/rootfs tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 sync syncBut i can't see it sync. Well then i did this
umount /media/root/rootfsSo then i take it over to the RN104 motherboard and turn on and then this.
Terminal ready BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0001 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv AC_Power_fail_detect=open CASset=min HW_version=MVT MALLOC_len=5 Manufacturer=NETGEAR Product=ReadyNAS 104 SKUNum=RN104 SerialNum=3EPE51EM006E2 Startup=Normal UUID=8ad06a7e-97fc-11e4-9cf7-e8fcafe534ca Version=V1.0 autoload=no bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb start; run usb_bootcmd; usb stop; reset bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000 bootdelay=0 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no eeeEnable=no enaAutoRecovery=yes enaClockGating=yes enaExtDisk=no enaFPU=no enaMonExt=no enaWrAllo=no envver=3 eth1addr=E8:FC:AF:E5:34:CB eth1mtu=1500 ethact=egiga1 ethaddr=E8:FC:AF:E5:34:CA ethmtu=1500 ethprime=egiga1 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-370-db.dtb image_name=uImage initrd_name=uInitrd load_addr=0x02000000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd loadaddr=0x02000000 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 nandEcc=1bit netbsd_en=no netretry=no pcieTune=no pexMode=rc pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 sata_delay_reset=0 sata_dma_mode=yes setL2CacheWT=no standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr; stderr=serial stdin=serial stdout=serial usb0Mode=host usb1Mode=host usb2Mode=device usbActive=0 usb_boot=mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 2607/131068 bytes Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 9488618 bytes read Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. resetting ... BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:56:14) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-104 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Port0: phyAddr=0x0, Not Marvell PHY id1 ffff id2 ffff PHY error - shutdown port0 Map: Code: 0x1feef000:0x1ff9f514 BSS: 0x1ffef8a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: SDIO AUDIO TDM Modules/Interfaces Detected: RGMII0 Phy RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: egiga1 [PRIME] Warning: egiga1 MAC addresses don't match: Address in SROM is e8:fc:af:e5:34:cb Address in environment is e8:fc:af:e5:34:ca Power On! FDT loaded successfully Hit any key to stop autoboot: 0 (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading /uImage-recovery ** Unable to read "/uImage-recovery" from usb 0:1 ** reading /initrd-recovery.gz ** Unable to read "/initrd-recovery.gz" from usb 0:1 ** NAND read: device 0 offset 0xd4000, size 0x6000 24576 bytes read: OK Wrong Image Format for bootm command ERROR: can't get kernel image! Marvell>>Then this.
free -h total used free shared buff/cache available Mem: 3.8Gi 774Mi 1.6Gi 144Mi 1.5Gi 2.5Gi Swap: 3.9Gi 0B 3.9GiAnd.
mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1972512k,nr_inodes=184832,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=397660k,mode=755) /dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13239) mqueue on /dev/mqueue type mqueue (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=397656k,mode=700) gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0) /dev/sda1 on /media/root/6979e70a-644f-45b0-9dcb-a83bbfcc3ae6 type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2) /dev/sdb1 on /media/root/rootfs type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks2)And the last one.
ls -lart /media/root/rootfs total 263944 drwxr-xr-x 2 root root 4096 Apr 6 2015 sys drwxr-xr-x 2 root root 4096 Sep 12 2016 proc drwxr-xr-x 2 root root 4096 Sep 12 2016 home drwxr-xr-x 2 root root 4096 Jan 2 2017 srv drwxr-xr-x 2 root root 4096 Jan 2 2017 opt drwxr-xr-x 2 root root 4096 Jan 2 2017 mnt drwxr-xr-x 11 root root 4096 Jan 2 2017 var drwxr-xr-x 10 root root 4096 Jan 2 2017 usr drwxr-xr-x 4 root root 4096 Jan 2 2017 dev drwx------ 2 root root 16384 Jan 9 2017 lost+found drwxrwxrwx 21 root root 4096 Jan 20 2017 . drwxr-xr-x 2 root root 4096 Jan 20 2017 media drwxr-xr-x 8 root root 4096 Aug 25 2019 run drwxr-xr-x 13 root root 4096 Aug 26 2019 lib drwxr-xr-x 2 root root 4096 Aug 26 2019 bin drwxr-xr-x 2 root root 4096 Aug 26 2019 sbin drwxrwxrwt 2 root root 4096 Sep 5 2019 tmp drwxr-xr-x 70 root root 4096 Sep 5 2019 etc drwxr-xr-x 3 root root 4096 Sep 5 2019 boot drwx------ 5 root root 4096 Sep 10 2019 root -rw-r--r-- 1 root root 269907402 Jan 24 23:05 Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 drwxr-x---+ 4 root root 4096 Feb 7 20:43 ..
Re: RN10400 February 07, 2021 03:47PM |
Admin Registered: 14 years ago Posts: 19,325 |
> cd /media/root/rootfs > tar -xjf > Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 > sync > sync >> But i can't see it sync.
cd /media/root/rootfs/boot ls -lart
Quote
3. Create uImage with DTB appended. I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box.
cd /media/sdb1/boot
cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage
cd /media/root/rootfs/boot cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt cat dts/armada-370-netgear-rn104.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage sync
Re: RN10400 February 07, 2021 05:19PM |
Registered: 4 years ago Posts: 116 |
cd /media/root/rootfs/bootThen this.
ls -lart total 46292 drwxrwxrwx 21 root root 4096 Jan 20 2017 .. -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage-5.2.9-mvebu-tld-1 -rwxr-xr-x 1 root root 5057632 Aug 19 2019 zImage -rw-r--r-- 1 root root 183639 Aug 19 2019 config-5.2.9-mvebu-tld-1 -rw------- 1 root root 5057632 Aug 19 2019 vmlinuz-5.2.9-mvebu-tld-1 -rw------- 1 root root 3266081 Aug 19 2019 System.map-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9676808 Aug 19 2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb drwxr-xr-x 2 root root 4096 Aug 19 2019 dts drwxr-xr-x 7 root root 4096 Aug 26 2019 initrd.img-5.2 drwxr-xr-x 7 root root 4096 Aug 26 2019 'initrd.img-5 (1).2' -rw-r--r-- 1 root root 9488554 Aug 26 2019 initrd.img-5.2.9-mvebu-tld-1 -rw-r--r-- 1 root root 9488618 Aug 26 2019 uInitrd drwxr-xr-x 5 root root 4096 Feb 7 23:32 .Oky Doki,
Re: RN10400 March 02, 2021 05:38PM |
Registered: 4 years ago Posts: 116 |
Re: RN10400 March 03, 2021 01:17PM |
Registered: 4 years ago Posts: 116 |
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage bash: mkimage: command not found
mkimage bash: mkimage: command not found
cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdtAnd this
cat dts/armada-370-netgear-rn102.dtb >> zImage.fdtThis is in this dir
/media/root/rootfs/boot#Yes then i think i have with most of it.