swamswam_h wrote:I was wondering about this:
The system software (original lacie) sets the eeprom status bit to enable a reboot or halt. After that is resets the unit and Uboot boots up again, checks the status in the eeprom and turns off power or reboots. Right? Or did I get it all wrong... But if this is so, shouldn't the 'magic bullet' to our problem be incorporated in the lacie uboot source (which is free, available and heavily modified by lacie)??
As i read it indeed this makes u-boot wait to receive a magic packet (WOL). When this is implemented as on later lacie devices then this will need software present int the lacie firmware as the the network card doesn't support real WOL. So setting this bit and not using the Lacie firmware may make you edmini_v2 wait forever.
Making it work again will then require rerstoring the old firmware to reset the bit.
Also this WOL method of lacie means that the edmini_v2 is not fully powered of, the cpu will be running as well as the power of on the network card. probably only the fan and HDD power are not yet initiated.
The kernel could be adapted to run a kernel process to which you can sent commands from user space. Its the way we also use on the nwsp1 and spd8020. When the kernel receives a message it can then switch of power of HDD, FAN and leds, if we now the right GPIO pins and then halt the system. That will then be almost a complete shutdown.
To figure all this out time will ne necessary and unfortunate it is not on the top of my priority list. So for the moment I think you need to live with it, you can halt the system and then pull the power plug. I know not perfect but most NAS system are always running and only seldom switch down.
I will do some investigations later and maybe later adapt the kernel.
To make the red led working could be easy if we now which GPIO pin it uses