Ankündigung

Einklappen
Keine Ankündigung bisher.

Support for Lacie internet space 500 Gb in openwrt

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Network Space Support for Lacie internet space 500 Gb in openwrt

    Hi,
    I bring some information about the device Lacie Internet Space. https://www.lacie.com/ie/support/sup...4&article=1313
    It seems it has the chipset "orion" MV88F5182 which I read in openwrt wiki is basically the same (sister they say) as MV88F5181 with an SATA port. (here http://wiki.openwrt.org/toh/linksys/wrt350nv2 you can read "Documentation at http://www.embeddedarm.com/ under Support → Documentation → Third-Party manuals → MV88F5182 files (sister SoC with additional SATA support)"
    You can download the source code from here
    https://www.lacie.com/no/support/dri...r.htm?id=10165
    or here
    https://app.box.com/s/vr2y4sihw3agcbaoas1ufnvexxszy6l5
    also, in the last link you'll find the device's OEM boot message.
    Think It's possible to add support for it? It could be turned into a wifi acces point, a 3g wired router and, of course, it is a NAS.
    Kind regards

    According to http://forum.nas-central.org/viewtopic.php?f=146&t=71
    the serial and jtag pinout is:
    Code:
    The J2 pinout is:
    1 VCC (+5V)
    2 GND
    3 JTAG TMS   : input to board
    4 JTAG TCK   : input to board
    5 JTAG TDO   : output from board
    6 JTAG TDI    : input to board
    7 Serial RxD	: input to board
    8 Serial TxD	: output from board
    Zuletzt geändert von fratzicu; 02.07.2015, 18:32.

  • #2
    Hi;

    first you need to know, how this thing boots.
    The bootloader is uboot and you nedd the enviroment (bootargs) maybe there is some flash.
    Get is the bootloader and do "printenv" to get the enviroment.

    Other thing you need to know where are the GPIO for the LED's or Pushbutton.
    One easy way is to read out the rootfs of the device
    The directory /etc may give you some hints.
    Or do a
    Code:
    strings
    on some programs (maybe with 'grep -i' to filter out the messages)

    Marvell Orion is to my knowledge in OpenWRT.
    But you need Info about Flash, RAM (found in bootlog) and other things.
    Some random kernel coder
    Lots of stuff attached to serial console

    Kommentar


    • #3
      Hi,
      Here is the bootlog
      Code:
              __  __                      _ _
              |  \/  | __ _ _ ____   _____| | |
              | |\/| |/ _` | '__\ \ / / _ \ | |
              | |  | | (_| | |   \ V /  __/ | |
              |_|  |_|\__,_|_|    \_/ \___|_|_|
       _   _     ____              _
      | | | |   | __ )  ___   ___ | |_ 
      | | | |___|  _ \ / _ \ / _ \| __| 
      | |_| |___| |_) | (_) | (_) | |_ 
       \___/    |____/ \___/ \___/ \__|  ** LOADER **
       ** MARVELL BOARD: DB-88F5182-EDmini-V2 LE 
      
      
      U-Boot 1.1.1 (Sep  3 2008 - 07:36:51) Marvell version: 1.7.3 - LaCie version: 1 
      
      
      DRAM CS[0] base 0x00000000   size  64MB 
      DRAM Total size  64MB 
      Flash: flashStructGet manu 0xff id 0xff 
      [0kB@fff80000] ## Unknown FLASH at fff80000: Size = 0x00000000 = 0 MB
      Flash:  0 kB
      Addresses 20M - 0M are saved for the U-Boot usage.
      Mem malloc Initialization (20M - 16M): Done
      *** Warning - bad CRC, using default environment
                                                                                      
                                                                                      
      Soc: MV88F5182 Rev 2                                                            
      CPU: ARM926 (Rev 0) running @ 400Mhz                                            
      SysClock = 200Mhz , TClock = 166Mhz                                             
                                                                                      
                                                                                      
      USB 0: host mode                                                                
      USB 1: device mode                                                              
      PCI 0: PCI Express Root Complex Interface                                       
      PCI 1: Conventional PCI, speed = 33000000                                       
      Net:   egiga0 [PRIME]                                                           
      Hit any key to stop autoboot:  0                                                
      Waiting for LUMP (2)                                                            
      Using egiga0 device                                                             
      no lump receive; continuing                                                     
                                                                                      
      Reset IDE:                                                                      
      Marvell Serial ATA Adapter                                                      
      Intergrated Sata device found                                                   
      StartChannel                                                                    
        Device 1: OK                                                                  
      Model: Hitachi HDP725050GLA360                  Firm: GM4OA5CA Ser#:       GEC5J
                  Type: Hard Disk                                                     
                  Supports 48-bit addressing                                          
                  Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)                  
                                                                                      
      ** Bad partition - 1:9 1:9 **                                                   
                                                                                      
      Loading from IDE device 1, partition 6: Name: hdb6                              
        Type: U-Boot                                                                  
         Image Name:   Linux-2.6.12.6-arm1-lacie5b                                    
         Created:      2007-04-20  15:44:19 UTC                                       
         Image Type:   ARM Linux Kernel Image (uncompressed)                          
         Data Size:    1662140 Bytes =  1.6 MB                                        
         Load Address: 00008000                                                       
         Entry Point:  00008000                                                       
      ## Booting image at 00400000 ...                                                
         Image Name:   Linux-2.6.12.6-arm1-lacie5b                                    
         Created:      2007-04-20  15:44:19 UTC                                       
         Image Type:   ARM Linux Kernel Image (uncompressed)                          
         Data Size:    1662140 Bytes =  1.6 MB                                        
         Load Address: 00008000                                                       
         Entry Point:  00008000                                                       
         Verifying Checksum ... OK                                                    
      OK

      Kommentar


      • #4
        and part 2
        Code:
        Starting kernel ...                                                             
                                                                                        
        Uncompressing Linux.............................................................
        Linux version 2.6.12.6-arm1-lacie5b (root@lacie) (gcc version 3.4.4 (release) (7
        CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)                          
        CPU0: D VIVT write-back cache                                                   
        CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets           
        CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets           
        Machine: MV-88fxx81                                                             
        Using UBoot passing parameters structure                                        
        Sys Clk = 200000000, Tclk = 166666667                                           
        Memory policy: ECC disabled, Data cache writeback                               
        Built 1 zonelists                                                               
        Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro                     
        PID hash table entries: 512 (order: 9, 8192 bytes)                              
        Console: colour dummy device 80x30                                              
        Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                  
        Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)                    
        Memory: 64MB 0MB 0MB 0MB = 64MB total                                           
        Memory: 61184KB available (3084K code, 465K data, 104K init)                    
        Mount-cache hash table entries: 512                                             
        CPU: Testing write buffer coherency: ok                                         
        NET: Registered protocol family 16                                              
                                                                                        
        CPU Interface                                                                   
        -------------                                                                   
        SDRAM_CS0 ....base 00000000, size  64MB                                         
        SDRAM_CS1 ....disable                                                           
        SDRAM_CS2 ....disable                                                           
        SDRAM_CS3 ....disable                                                           
        PEX0_MEM ....base e0000000, size 128MB                                          
        PEX0_IO ....base f2000000, size   1MB                                           
        PCI0_MEM ....base e8000000, size 128MB                                          
        PCI0_IO ....base f2100000, size   1MB                                           
        INTER_REGS ....base f1000000, size   1MB                                        
        DEVICE_CS0 ....no such                                                          
        DEVICE_CS1 ....base f4000000, size  16MB                                        
        DEVICE_CS2 ....no such                                                          
        DEV_BOOCS ....base ff800000, size   8MB                                         
        CRYPTO ENG ....base f0000000, size  64KB                                        
                                                                                        
          LaCie EDmini V2 (MV LSP Version 1.10.3.patch2_DB_NAS)-- RD-88F5182-EDMV2  Soc2
                                                                                        
         Detected Tclk 166666667 and SysClk 200000000                                   
        Marvell USB EHCI Host controller #0: c045fb00                                   
        Marvell USB EHCI Gadget controller #1: c045fa40                                 
        pexBarOverlapDetect: winNum 2 overlap current 0                                 
        mvPexInit:Warning :Bar 2 size is illigal                                        
        it will be disabled                                                             
        please check Pex and CPU windows configuration                                  
        PCI: bus0: Fast back to back transfers enabled                                  
        PCI: bus1: Fast back to back transfers enabled                                  
        SCSI subsystem initialized                                                      
        usbcore: registered new driver usbfs                                            
        usbcore: registered new driver hub                                              
        Use the XOR engines (offloading) for enhancing the following functions:         
          o RAID 5 Xor calculation                                                      
          o kernel memcpy                                                               
          o kenrel memzero                                                              
          o copy user to/from kernel buffers                                            
        Number of XOR engines to use: 2                                                 
        Fast Floating Point Emulator V0.9 (c) Peter Teichmann.                          
        inotify device minor=63                                                         
        Registering unionfs 1.1.5                                                       
        Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled       
        ttyS0 at MMIO 0x0 (irq = 3) is a 16550A                                         
        io scheduler noop registered                                                    
        io scheduler anticipatory registered                                            
        io scheduler deadline registered                                                
        io scheduler cfq registered                                                     
        loop: loaded (max 8 devices)                                                    
        Marvell Gigabit Ethernet Driver 'egiga':                                        
          o Ethernet descriptors in DRAM                                                
          o DRAM SW cache-coherency                                                     
          o Checksum offload enabled                                                    
          o Loading network interface 'eth0'                                            
        Intergrated Sata device found                                                   
        scsi0 : Marvell SCSI to SATA adapter                                            
        scsi1 : Marvell SCSI to SATA adapter                                            
          Vendor: Hitachi   Model: HDP725050GLA360   Rev: GM4O                          
          Type:   Direct-Access                      ANSI SCSI revision: 03             
        SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)                    
        SCSI device sda: drive cache: write back                                        
        SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)                    
        SCSI device sda: drive cache: write back                                        
         sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >                                    
        Attached scsi disk sda at scsi1, channel 0, id 0, lun 0                         
        Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0             
        physmap flash device: 80000 at ff800000                                         
        phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank                     
         Amd/Fujitsu Extended Query Table at 0x0040                                     
        phys_mapped_flash: CFI does not contain boot bank location. Assuming top.       
        number of CFI chips: 1                                                          
        cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.        
        cmdlinepart partition parsing not available                                     
        RedBoot partition parsing not available                                         
        ehci_platform ehci_platform.4523: EHCI Host Controller                          
        ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1 
        ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000                     
        ehci_platform ehci_platform.4523: park 0                                        
        ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec4
        hub 1-0:1.0: USB hub found                                                      
        hub 1-0:1.0: 1 port detected                                                    
        usbcore: registered new driver usblp                                            
        drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver               
        Initializing USB Mass Storage driver...                                         
        usbcore: registered new driver usb-storage                                      
        USB Mass Storage support registered.                                            
        usbcore: registered new driver usbhid                                           
        drivers/usb/input/hid-core.c: v2.01:USB HID core driver                         
        mice: PS/2 mouse device common for all mice                                     
        edmini_power 1.0 initialised                                                    
        md: linear personality registered as nr 1                                       
        md: raid0 personality registered as nr 2                                        
        md: raid1 personality registered as nr 3                                        
        md: raid10 personality registered as nr 9                                       
        md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27                            
        device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com        
        NET: Registered protocol family 2                                               
        IP: routing cache hash table of 512 buckets, 4Kbytes                            
        TCP established hash table entries: 4096 (order: 3, 32768 bytes)                
        TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                       
        TCP: Hash tables configured (established 4096 bind 4096)                        
        ip_conntrack version 2.1 (512 buckets, 4096 max) - 248 bytes per conntrack      
        ip_tables: (C) 2000-2002 Netfilter core team                                    
        NET: Registered protocol family 1                                               
        NET: Registered protocol family 17                                              
        NET: Registered protocol family 5                                               
        Loading I2C based RTC driver device interface.                                  
        Found TWSI adapter with id: 0                                                   
        Found I2C RTC rs5c372 @ 0x32                                                    
        md: Autodetecting RAID arrays.                                                  
        md: autorun ...                                                                 
        md: ... autorun DONE.                                                           
        EXT3-fs: mounted filesystem with ordered data mode.                             
        VFS: Mounted root (ext3 filesystem) readonly.                                   
        Freeing init memory: 104K                                                       
        kjournald starting.  Commit interval 5 seconds                                  
        + /sbin/leds -A !gr                                                             
        /sbin/leds: /sbin/leds: 1: Syntax error: word unexpected (expecting ")")        
        + export PATH=/sbin:/bin:/usr/sbin:/usr/bin                                     
        + . /etc/default/functions                                                      
        + have_drive /dev/sda1                                                          
        + echo Checking hard drive /dev/sda1..                                          
        Checking hard drive /dev/sda1..                                                 
        + mdadm --query /dev/sda1                                                       
        + grep -v No such                                                               
        /dev/sda1: is not an md array                                                   
        + echo Found hard drive /dev/sda1                                               
        Found hard drive /dev/sda1                                                      
        + echo yes                                                                      
        + test -n /dev/sda1 -a yes = yes                                                
        + device=/dev/sda1                                                              
        + shift                                                                         
        + echo boot: rootfs: mount -t ext3 -o ro /dev/sda1                              
        boot: rootfs: mount -t ext3 -o ro /dev/sda1                                     
        + test  -gt 0                                                                   
        + mount -t ext3 -o ro /dev/sda1 /mnt                                            
        EXT3-fs: sda1: orphan cleanup on readonly fs                                    
        kjournald starting.  Commit interval 5 seconds                                  
        EXT3-fs: sda1: 2 orphan inodes deleted                                          
        EXT3-fs: recovery complete.                                                     
        EXT3-fs: mounted filesystem with ordered data mode.                             
        + checkmount /mnt                                                               
        + test ( -d /mnt/initrd -o -d /mnt/mnt ) -a ( -x /mnt/bin/sh -o -h /mnt/bin/sh )
        + test ! -f /mnt/axentra_reinstall                                              
        + sync                                                                          
        + cd /                                                                          
        + test -d /mnt/initrd                                                           
        + swivel mnt initrd                                                             
        + cd mnt                                                                        
        + exec                                                                          
        INIT: version 2.85 booting                                                      
                        Welcome to HipServ                                              
                        Press 'I' to enter interactive startup.                         
        Setting clock  (utc): Fri Jul 26 01:25:20 EEST 2013 [  OK  ]                    
        Starting udev:  [  OK  ]                                                        
        Initializing hardware...  storage network audio done[  OK  ]                    
        /etc/rc.d/rc.sysinit: line 265: nash: command not found                         
        Configuring kernel parameters:  [  OK  ]                                        
        Setting hostname axentraserver.fratzicu-storage.homelacie.com:  [  OK  ]        
        Your system appears to have shut down uncleanly                                 
        Press Y within 1 seconds to force file system integrity check...                
        Checking root filesystem                                                        
        [/sbin/fsck.ext2 (1) -- /initrd//dev/sda1] fsck.ext2 -a -q -p /initrd//dev/sda1 
        Warning: Risky preen mode is enabled!                                           
        /initrd//dev/sda1: clean, 15976/384000 files, 125584/767095 blocks              
        [  OK  ]                                                                        
        Remounting root filesystem in read-write mode:  [  OK  ]                        
        Setting up Logical Volume Management: [  OK  ]                                  
        Checking filesystems                                                            
        Checking all file systems.                                                      
        [  OK  ]                                                                        
        Mounting local filesystems:  mount: sysfs already mounted or /sys busy          
        mount: according to mtab, /sys is already mounted on /sys                       
        [FAILED]                                                                        
        Enabling swap space:  [  OK  ]                                                  
        INIT: Entering runlevel: 3                                                      
        Entering non-interactive startup                                                
        Updating Lacie LED status (Boot started):[  OK  ]                               
        Starting reset:  [  OK  ]                                                       
        Setting network parameters:  [  OK  ]                                           
        Bringing up loopback interface:  [  OK  ]                                       
        Bringing up interface eth0:  [  OK  ]                                           
        Starting net-server:  [  OK  ]                                                  
        Starting network plug daemon: [  OK  ]                                          
        Starting system logger: [  OK  ]                                                
        Starting kernel logger: [  OK  ]                                                
        installing fuse module:fuse init (API version 7.8)                              
        fuse distribution version: 2.6.3                                                
        [  OK  ]                                                                        
        Starting cups: [  OK  ]                                                         
        Starting vsftpd for vsftpd: [  OK  ]                                            
        Starting access-patrol:[  OK  ]                                                 
        Starting httpd: [  OK  ]
        Starting appserver: [  OK  ]
        Updating Lacie LED status (ready for serving):[  OK  ]
        Starting crond: [  OK  ]
        Starting nifd... 
        Starting NMB services: [  OK  ]
        Starting SMB services: [  OK  ]
        Starting mDNSResponder... [  OK  ]
        Starting sshd:[  OK  ]
        Starting xinetd: [  OK  ]
        Starting DAAP server: [  OK  ]
        Starting ntpd: [  OK  ]
        Starting igd-daemon:bind: Address already in use
        sh: /usr/sbin/oe-gateway-check: No such file or directory
        sh: /usr/sbin/oe-gateway-check: No such file or directory
        hipserv_lacie
        [  OK  ]
        Starting system message bus: [  OK  ]
        Starting /usr/local/TwonkyVision/twonkymedia ... Daemonizing...
        
        
        Starting MySafe: [  OK  ]

        Kommentar


        • #5
          I'll come back with other details

          Kommentar


          • #6
            Hi you need this kind of output
            Code:
            Marvell>> printenv 
            baudrate=115200
            loads_echo=0
            rootpath=/mnt/ARM_FS/
            netmask=255.255.255.0
            usbstart=usb start
            run_diag=yes
            console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
            CASset=min
            MALLOC_len=1
            bootargs_root=root=/dev/nfs rw
            bootargs_end=:::orion:eth0:none
            image_name=uImage
            standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
            ethmtu=1500
            eth1addr=00:50:43:5a:1a:2d
            eth1mtu=1500
            mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
            mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
            Please ceck if your board has flash, the bootloader says no but ...
            Te easiest way is to remove the hdd.
            Some random kernel coder
            Lots of stuff attached to serial console

            Kommentar


            • #7
              I'll do that and I'll give you pictures.

              Kommentar


              • #8
                Hi,
                I've put here https://app.box.com/s/vr2y4sihw3agcbaoas1ufnvexxszy6l5 some board pictures.

                On the board, the major chips write as follows:
                on the front:
                1) 84J7CYK and a small G4
                ALYCH162260
                2) a label with barcode
                J94904882
                0102C02 JCF
                82546UL3001RC

                on the back:
                3) 2 chips of the same kind, probably memory modules
                hynix KOR
                HY5PS561621B
                FP-25 831A
                H7FK0307A

                4) big MX
                SO84915
                29LV400CTTC-55Q seems is 4mb flash http://www.findchips.com/search/29lv400cttc-55q
                2Y598400AB
                TAIWAN
                5) big M
                88F5-BEG1
                GW73451A,0
                0803 A2E
                TW
                88F5182-A2
                C400
                6) big M
                88E1118R-MNG2
                A8933161-1
                0821 AOP
                TW

                This is what I could do.
                Zuletzt geändert von fratzicu; 08.02.2015, 23:39.

                Kommentar


                • #9
                  Flash Chip is
                  MX29LV400 -> 4 MBit -> 512kByte
                  Only for bootloader (uboot) and the config.

                  RAM
                  HY5PS561621 -> 256 MBit -> 32 MByte
                  which is 64 MByte on board (two chips)

                  The big M is Marvell
                  One chip is the SoC 88F5182-A2
                  the other is the PHY 88E1118R

                  So the kernel and other things must be on hdd (as Lacie does)

                  You need the bootconfig aka bootloader args.
                  Connect your BOX via serial, boot and hit ENTER and/or CTRL-C bevor the kernel ist loading.
                  And then
                  Code:
                  printenv
                  Zuletzt geändert von ElektromAn; 09.02.2015, 00:13.
                  Some random kernel coder
                  Lots of stuff attached to serial console

                  Kommentar


                  • #10
                    Code:
                             __  __                      _ _
                            |  \/  | __ _ _ ____   _____| | |
                            | |\/| |/ _` | '__\ \ / / _ \ | |
                            | |  | | (_| | |   \ V /  __/ | |
                            |_|  |_|\__,_|_|    \_/ \___|_|_|
                     _   _     ____              _
                    | | | |   | __ )  ___   ___ | |_ 
                    | | | |___|  _ \ / _ \ / _ \| __| 
                    | |_| |___| |_) | (_) | (_) | |_ 
                     \___/    |____/ \___/ \___/ \__|  ** LOADER **
                     ** MARVELL BOARD: DB-88F5182-EDmini-V2 LE 
                    
                    
                    U-Boot 1.1.1 (Sep  3 2008 - 07:36:51) Marvell version: 1.7.3 - LaCie version: 1.3.4 
                    
                    
                    DRAM CS[0] base 0x00000000   size  64MB 
                    DRAM Total size  64MB 
                    Flash: flashStructGet manu 0xff id 0xff 
                    [0kB@fff80000] ## Unknown FLASH at fff80000: Size = 0x00000000 = 0 MB
                    Flash:  0 kB
                    Addresses 20M - 0M are saved for the U-Boot usage.
                    Mem malloc Initialization (20M - 16M): Done
                    *** Warning - bad CRC, using default environment
                    
                    
                    
                    
                    Soc: MV88F5182 Rev 2
                    CPU: ARM926 (Rev 0) running @ 400Mhz 
                    SysClock = 200Mhz , TClock = 166Mhz 
                    
                    
                    
                    
                    USB 0: host mode
                    USB 1: device mode
                    PCI 0: PCI Express Root Complex Interface
                    PCI 1: Conventional PCI, speed = 33000000
                    Net:   egiga0 [PRIME]
                    Hit any key to stop autoboot:  3  0 
                    Marvell>> printenv
                    
                    
                    bootargs=console=ttyS0,115200 root=/dev/sda7 ro
                    bootcmd=if lump 2; then ; else run disk_disk; fi
                    baudrate=115200
                    loads_echo=0
                    kernel_addr=0x400000
                    boot_disk=disk ${kernel_addr} 1:6
                    snap_disk=if snapboot 1:9 ${kernel_addr}; then; else run boot_disk; fi
                    disk_disk=ide reset; run snap_disk; bootm ${kernel_addr};
                    ethaddr=00:d0:4b:88:1c:70
                    stdin=serial
                    stdout=serial
                    stderr=serial
                    cpuName=926
                    CASset=min
                    enaMonExt=no
                    enaFlashBuf=yes
                    enaCpuStream=no
                    MALLOC_len=4
                    ethprime=egiga0
                    bootdelay=3
                    disaMvPnp=no
                    overEthAddr=no
                    usb0Mode=host
                    usb1Mode=device
                    ethact=egiga0
                    
                    
                    Environment size: 558/40956 bytes

                    Kommentar


                    • #11
                      If your main goal is to get alternative firmware (maybe because homelacie.com is down), have a look at fvdw_sl: http://plugout.net/viewforum.php?f=12

                      Kommentar


                      • #12
                        It's not the only reason. Anyway, I found a cloud-like software in development that could be used instead of hipserv

                        Kommentar


                        • #13
                          Hi,
                          So is it possible to put openwrt on this device?
                          If yes, then how to retain the possibility to revert if it fails? I already made a hdd backup of the partitions except for the biggest one.

                          Kommentar


                          • #14
                            Actually, the box boots very simple. U-boot reads the kernel from raw partition sda6. (Written using 'dd if=uImage of=/dev/sda6'), then it boots the kernel with a 'rootfs=/dev/sda7' command line argument.

                            So if you prepare a disk with an OpenWRT orion kernel in sda6 and a rootfs in sda7, it might just boot to OpenWRT. And reverting is simple. Just put back the old disk.

                            The box doesn't have much peripherals to support. There is one button, one (2 color) led, no fan. The kernel doesn't need to support the flash.

                            If the stock u-boot isn't able to boot the new kernel, then you'll have to put a 2nd stage bootloader in sda6, or flash a new u-boot. In that case it becomes much more difficult.

                            Kommentar


                            • #15
                              I would take a spare hdd, size is not relevant for testing

                              Setup in OpenWRT
                              target : Orion
                              subtarget : harddisk

                              Target image is automagically set to : tar

                              Normaly OpenWRT generate a tar-file for the RootFS and a *uImage* for the kernel.

                              What do you need to check is during boot, is the kernel commandline for the missing rootfs directive
                              You see this in
                              Documentation/kernel-parameters.txt
                              in the kernel archive.
                              This is an example form my ALIX6F2 device
                              Code:
                              BOOT_IMAGE=/boot/vmlinuz root=/dev/sda2 rootfstype=ext4 rootwait console=ttyS0,38400n8 noinitrd
                              The best way for beginners is to edit the commandline with
                              Code:
                              make menuconfig
                              in the kenerlsource
                              And get the config via
                              Code:
                              grep -w.config CONFIG_CMDLINE
                              and append this to
                              Code:
                              target/linux/orion/harddisk/config-default
                              If you have in "linux-master" the kernel tree and in "openwrt" the OpenWRT sources.
                              And you are in the openwrt directory an simple
                              Code:
                              ~/openwrt $ grep -w CONFIG_CMDLINE ~/linux-master/.config >> .config
                              will do the work for you.
                              Some random kernel coder
                              Lots of stuff attached to serial console

                              Kommentar

                              Lädt...
                              X