added both pics to http://lacie.nas-central.org/index.php/ ... :EDmini_v2
....rosbif....i have something to test for you as soon as you have serial access.
I (knowingly) bought my EDmini V2 off eBay with no disk.
Serial access was the first thing I had to get going.
Otherwise I couldn't have guessed that by default it tries to boot a raw uImage (no filesystem) from /dev/sda6
all marvell orion based boards use the uboot bootloader...and the uboot bootloader is able to load kernels/initrds via tftp.
just hit enter to get to the uboot console and enter "help"...and post the commands here.
? - alias for 'help'
FSdel - del a file from the Flash MV FS
FSdir - ls the Flash MV FS
FSformat- format the Flash MV FS
FSlef - Load an exe file to the Flash MV FS
FSlf - Load a file to the Flash MV FS
FSrun - Load an exe file from the Flash MV FS and run it
FStftp - tftp a file to the Flash MV FS
FStftpe - tftp an exe file to the Flash MV FS
FStype - cat file from the Flash MV FS
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootext2 dev:boot_part1,boot_part2 addr boot_image linux_dev_name
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bubt - Burn an image on the Boot Flash.
chpart - change active partition
cmp - memory compare
cmpm - Compare Memory
cp - memory copy
cpumap - Display CPU memory mapping settings.
crc32 - checksum calculation
date - get/set/reset date & time
dclk - Display the MV device CLKs.
ddimm - Display SPD Dimm Info
dhcp - invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
dma - Perform DMA
echo - echo args to console
eeprom - EEPROM sub-system
erase - erase FLASH memory
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls- list files in a directory (default /)
fi - Find value in the memory.
flinfo - print FLASH memory information
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
g - start application at cached address 'addr'(default addr 0x40000)
go - start application at address 'addr'
help - print online help
icrc32 - checksum calculation
ide - IDE sub-system
iloop - infinite loop on address range
imd - i2c memory display
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
inm - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
ir - reading and changing MV internal register values.
ln - Load S-Record executable file through the network interface.
loop - infinite loop on address range
ls - list files in a directory (default /)
lump - Wait for a LUMP
map - Diasplay address decode windows
md - memory display
me - PCI master enable
mm - memory modify (auto-incrementing)
mp - map PCI BAR
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
pci - list and access PCI Configuraton Space
phyRead - Read Phy register
phyWrite - Write Phy register
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
resetenv - Return all environment variable to default.
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
se - PCI Slave enable
setenv - set environment variables
sg - scanning the PHYs status
sleep - delay execution for some time
snapboot -boot image from snapshot partition
sp - Scan PCI bus.
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
wol - Enter Wake On LAN mode
Tftpboot is there but I didn't try it as I have never been able to get it to work
Additionally I am having some DNS problems at the moment.
However I wrote the image to the disk ...
... and it booted
I used the bootargs "console=ttyS0,115200 root=/dev/sda8 rw mem=64m enaWrAlloc=no".
I don't know yet whether the last two are necessary
It gave me a login screen instead of a root shell so I had to Google for the login
The web interface worked too but it confirmed that I have DNS problems
Kudos to you for the great work.
EDIT : DNS is now working but I hadn't seen a bigger problem : SATA doesn't work
And yet AFAIK SATA is generic Feroceon so shouldn't depend on the board.
Would you like me to send you the boot log?
Some comments :
There was a very long wait after the "Freeing init memory" line and I thought it had crashed.
However the next line was something about JFS and I have already had problems with the lousy uBoot and flash implementation by LaCie (or Marvell ?).
I have managed to compile and boot a 22.214.171.124 kernel but I haven't managed to get the Ricoh RTC working. I don't know whether it's an I2C or an RTC problem.
Would you mind sending me your .config please?
this is a kernel with initramfs....nothing on your hdd/flash is touched....its just trying to boot a kernel with built in rootfs (foonas-em)
if it works it would not be that hard to add support for this machine in the vanilla kernel + foonas/foonas-em .....and debian would work as soon as the kernel.org supports the box..
Most things do indeed work.
It needs support for the LaCie specifics : mainly the switch, the LED, the fan and maybe a temperature sensor and the flash.
I was thinking of trying to add this myself to a current kernel.
EDIT: please post a dmesg from the stock kernel as well so we can post it on the wikipage.
The flash is rather small (512 KB) and just contains uBoot.
I have no original disk and therefore no stock kernel
The LaCie updates seem to be encrypted and I have been unable to compile their GPL source tree.
(Rather than wasting my time on this I have been compiling a 126.96.36.199 kernel.)
However there is a boot log for the Ethernet Big Disk here:-http://legacy.not404.com/node/8
IMHO it is the same but with two drives : it even says it is an EDmini V2
Thank you very much for all your help.