Hi,

I did hack a bit in m0n0wall on the net4801 platform and I now get to a
point where this line of rc.firmware:

/usr/bin/gunzip -S "" -c $2 | dd of=/dev/$CFDEVICE bs=16k > /dev/null 2>&1

doesn't work as expected.


I added a shell access to my running system to see what's happening:

cat /var/etc/cfdevice
ad0

gunzip -S "" -c ./net48xx-2.0.img |dd of=/dev/ad0 bs=16k
dd: /dev/ad0: Invalid argument
25+1 records in
25+0 records out
409600 bytes transferred in 0.219173 secs (1868844 bytes/sec)

I see the CF light turning on for a fraction of second.. (0.219173 I guess).

If I remove the bs=16k , it writes forever until I disconnect the power 5
minutes later...


Any idea of what could the problem?

Thanks!

-- 
Dominic Blais


_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to