Gastal
Re: Debian on iomega storcenter ix4-200d: succes! May 10, 2017 03:58PM |
Re: Debian on iomega storcenter ix4-200d: succes! May 11, 2017 12:36AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Debian on iomega storcenter ix4-200d: succes! March 13, 2019 12:51PM |
Registered: 7 years ago Posts: 2 |
Re: Debian on iomega storcenter ix4-200d: succes! March 13, 2019 08:20PM |
Registered: 5 years ago Posts: 125 |
Re: Debian on iomega storcenter ix4-200d: succes! January 28, 2021 03:54PM |
Registered: 3 years ago Posts: 8 |
Marvell>> boot Unknown command 'usb' - try 'help' ** Block device usb 0 not supported ** Block device usb 0 not supported ## Booting image at 00800000 ... Bad Magic Number __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** uboot_ver:v1.0.0 ** ** MARVELL BOARD: IX4-110 LE U-Boot 1.1.4 (Jul 23 2009 - 14:25:44) Marvell version: 3.4.4 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006904EC Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2015.10-tld-1.sheevaplug.mtd0.kwb -pbut it stucks at
Sending boot message. Please reboot the target...\no matter how often I reboot or interrupt with ctrl-c and re-do kwboot as described in an other topic
Re: Debian on iomega storcenter ix4-200d: succes! January 28, 2021 07:28PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
I've often just seen the reference to the rootfs-post, but never actually an explaination on what to do after having the usb stick ready. Booting with serial and interrupt? The only thing I've found from that point were some posts where a custom uboot seemed already to be applied - which I couldn't load with kwboot.
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
Quote
Boot Kirkwood rootfs with stock u-boot:
https://forum.doozan.com/read.php?2,102054,105374#msg-105374
Re: Debian on iomega storcenter ix4-200d: succes! January 29, 2021 05:53AM |
Registered: 3 years ago Posts: 8 |
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' ** Too many args (max. 16) **Any workaround?
Re: Debian on iomega storcenter ix4-200d: succes! January 29, 2021 06:39AM |
Registered: 3 years ago Posts: 8 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** uboot_ver:v1.0.0 ** ** MARVELL BOARD: IX4-110 LE U-Boot 1.1.4 (Jul 23 2009 - 14:25:44) Marvell version: 3.4.4 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006904EC Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Found 0x20 i2c device Set Power State as Always On Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:32 MB Found ADT7473, program LED ...(led_volt=90) OK Found ADT7473, program thermal/Fan ...(pwm_min=0) (pwm_max=130) (therm=67) (temp_min=60) OK Marvell Serial ATA Adapter Integrated Sata device found CPU : Marvell Feroceon (Rev 1) Found initrd at 0x2d4000 Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is RGMII USB 0: host mode PCI 0: PCI Express Root Complex Interface PEX interface detected Link X1 SCSI: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x7 impl IDE mode flags: 64bit ncq stag led pmp slum part scanning bus for devices... Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 1 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; run load_uinitrd; bootm 0x800000 0x2100000' Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' Marvell>> printenv bootdelay=1 baudrate=115200 loads_echo=0 ipaddr=10.4.50.165 serverip=10.4.50.5 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage console=console=ttyS0,115200 mtdparts=nand_mtd:0xa0000@0x0(uboot),0x00010000@0x000a0000(param),32m@0x0(flash) standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x2000000; mvNetConfig=mv_net_config=(00:11:88:01:32:97,0:1:2:3),mtu=1500 usb0Mode=host netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no uboot_ver=v1.0.0 ethact=egiga0 uboot_start=0x0 uboot_size=0xa0000 env_start=0xa0000 env_size=0x10000 kernel_start=0xb0000 kernel_size=0x224000 initrd_size=0x224000 flash_load=run make_boot_args;nand read.e 0x2000000 $(kernel_start) $(kernel_size);nand read.e 0x12000000 $(initrd_start) $(initrd_size);bootm 0x2000000 0x12000000 make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)32m@0x0(flash); mfgmodel=ix4 fw_ver=v1_0_3_46472 preroot_ver=0.1.5 serial_number=556_______________ ethaddr=00:26:__:__:__:__ serialno=EUK_______ modelname=318522 runintime=10800 ftpserver=192.168.43.4 testfile=100M mfgtest_state=system_tested_ok usb_make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash) root=LABEL=rootfs rootdelay=10 load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no initrd_start=0x2d4000 disaMvPnp=no eth1addr=00:__:__:__:__:__ enaAutoRecovery=yes usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000 usb_bootcmd=run usb_set_bootargs; run usb_boot bootcmd=usb start; run usb_bootcmd; usb stop; reset Environment size: 2615/16380 bytes Marvell>> boot Unknown command 'usb' - try 'help' ** Block device usb 0 not supported ** Block device usb 0 not supported ## Booting image at 00800000 ... Bad Magic Number Unknown command 'usb' - try 'help' __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** uboot_ver:v1.0.0 ** ** MARVELL BOARD: IX4-110 LE U-Boot 1.1.4 (Jul 23 2009 - 14:25:44) Marvell version: 3.4.4 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006904EC Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Found 0x20 i2c device Set Power State as Always On Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:32 MB Found ADT7473, program LED ...(led_volt=90) OK Found ADT7473, program thermal/Fan ...(pwm_min=0) (pwm_max=130) (therm=67) (temp_min=60) OK Marvell Serial ATA Adapter Integrated Sata device found CPU : Marvell Feroceon (Rev 1) Found initrd at 0x2d4000 Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is RGMII USB 0: host mode PCI 0: PCI Express Root Complex Interface PEX interface detected Link X1 SCSI: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x7 impl IDE mode flags: 64bit ncq stag led pmp slum part scanning bus for devices... Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 1 0 Unknown command 'usb' - try 'help' ** Block device usb 0 not supported ** Block device usb 0 not supported ## Booting image at 00800000 ... Bad Magic Number Unknown command 'usb' - try 'help'
Re: Debian on iomega storcenter ix4-200d: succes! January 29, 2021 03:55PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Debian on iomega storcenter ix4-200d: succes! February 05, 2021 12:52PM |
Registered: 3 years ago Posts: 8 |
flash_eraseall /dev/mtd0 nandwrite -p /dev/mtd0 uboot-1.1.4-Mar-10-2011.mtd05. Reboot (or shutdown)
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 load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000' setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset' setenv rootfstype ext39. And then boot
boot
Marvell>> boot (Re)start USB... USB: scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found .... . ...... ............ ......................... ................................................... ...................................................................................................... ............................................................................................................................................................................................................ .... ....................................................................... 4972946 bytes read .... . ...... ............ ......................... ................................................... ...................................................................................................... ................................................................................................................................................................................................................. ......................................................................................................................................................................................................................................................................................................................................................................................................................... ............................................................................................................................ 9713936 bytes read ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2021-02-05 18:10:18 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4972882 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
Re: Debian on iomega storcenter ix4-200d: succes! February 05, 2021 05:22PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Debian on iomega storcenter ix4-200d: succes! February 07, 2021 12:08PM |
Registered: 5 years ago Posts: 255 |
Re: Debian on iomega storcenter ix4-200d: succes! February 07, 2021 03:56PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Debian on iomega storcenter ix4-200d: succes! February 07, 2021 04:01PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
> I was originally planning to do a bunch of other
> things for this device but ran into some
> roadblocks getting sata working on mine for some
> reason.
Re: Debian on iomega storcenter ix4-200d: succes! February 08, 2021 01:09PM |
Registered: 5 years ago Posts: 255 |
Quote
bodhi
Thanks, I defer to your experience about this :) I recall some binding for LCD in some Armada boxes. But I don't really know if this LCD needs some driver that is not in mainline yet.
Re: Debian on iomega storcenter ix4-200d: succes! May 16, 2021 06:27AM |
Registered: 3 years ago Posts: 15 |
Re: Debian on iomega storcenter ix4-200d: succes! May 16, 2021 04:27PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Updated 25 Aug 2019:
Basic Debian buster Kirkwood rootfs for most Kirwood plugs:
Re: Debian on iomega storcenter ix4-200d: succes! May 17, 2021 03:22AM |
Registered: 3 years ago Posts: 15 |
Re: Debian on iomega storcenter ix4-200d: succes! May 18, 2021 04:33PM |
Admin Registered: 13 years ago Posts: 18,821 |
Serial: Debian on iomega storcenter ix4-200d: succes! May 19, 2021 02:06AM |
Registered: 3 years ago Posts: 15 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 19, 2021 04:55PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 20, 2021 07:18AM |
Registered: 3 years ago Posts: 15 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 20, 2021 04:30PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 21, 2021 08:50AM |
Registered: 9 years ago Posts: 7 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 21, 2021 04:50PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 22, 2021 02:17AM |
Registered: 3 years ago Posts: 15 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 22, 2021 11:05AM |
Registered: 3 years ago Posts: 15 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 22, 2021 05:08PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
2) how do you commit the env, so when you reboot it uses rootfs?
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'
saveenv
printenv boot
Quote
3) to create the raid do you use fdisk?
Quote
4)how do you stop nfs as I dont need it
apt-get install rcconf rcconf
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 23, 2021 11:02AM |
Registered: 3 years ago Posts: 15 |
Re: Serial: Debian on iomega storcenter ix4-200d: succes! May 23, 2021 04:29PM |
Admin Registered: 13 years ago Posts: 18,821 |