• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  General Category / General Discussion / Re: Boot Sheevaplug from Sdcard or NAND on: February 07, 2014, 05:43:25 AM

Thanks bigbear59, that link was the hint I needed.

I fixed the lines to be able to boot from ubifs.

Assuming the partitions on NAND:
Code:
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 1fb00000 00020000 "root"

And assuming partitions on sdcard:
Code:
# fdisk -l /dev/mmcblk0

/dev/mmcblk0p1   *        2048      499711      248832   83  Linux
/dev/mmcblk0p2          499712    30472191    14986240   83  Linux
/dev/mmcblk0p3        30472192    31291391      409600   82  Linux Swap / Solaris


for ubifs it shoud look like this:

Code:
setenv bootcmd_mmc 'mmc init; mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd'
setenv bootargs_nand 'rootfstype=ubifs console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ubi.mtd=1 root=ubi0:rootfs rw
setenv root '/dev/mtdblock1 rw ip=:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none'
setenv bootcmd_nand 'setenv bootargs $(bootargs_nand); nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000; run bootcmd_nand'
saveenv


Now I have a fallback system if the SDCard shouldn't work.

Regards,
 Peter
2  General Category / General Discussion / Boot Sheevaplug from Sdcard or NAND on: January 27, 2014, 09:12:30 AM
Hello,

I have a sheevaplug with an ubuntu installed on NAND (ubifs). Now I would like to Install debian on Sdcard.

Is it possible to boot from sdcard as long as an sdcard is plugged in but when it is removed, it should boot from NAND ?

Somehow like my dockstar: it is always booting from usb.stick, but when the stick is not inserted, it boots from its internal image.

Regards,
 Peter
3  General Category / Success stories / Re: Android adb utility ported on: October 26, 2012, 04:50:50 AM
Hi Juanisan,

i canīt get adb running; after typing adb get-serialno i get "unknown" as response.
In fact i tried even more linux distributions, but adb cannot detect the device.

Do You have a hint how to get it runnning ?

regards,
 Peter
4  General Category / General Discussion / Re: Gimme a button to unmount on: January 08, 2010, 06:55:23 AM


Maybe auto-mounting/unmounting your USB drive with autofs would help?

More info here: http://wiki.debian.org/AutoFs

[/quote]

I already use autofs for automounting.

Besides I find the unmount feature in autofs pretty insecure. The manual says, the HDD gets unmounted when itīs not used. So before I plug off the USB-HDD I must know if it is already in mounted or unmounted state;

Now that is a point I didn't consider: I must have something like a feedback from the plug if the unmount procedure has succeeded (sometimes it is not possible to unmount a HDD). I think flashing one of the LEDs would be the right thing...

So it should look like: press button to unmount; wait some secs; if the blue LED is blinking longer than 5 seconds the unmount procedure succeeded; the USB-HDD can be now removed from the USB port.

Regards,
Peter
5  General Category / General Discussion / Re: Gimme a button to unmount on: January 08, 2010, 03:37:28 AM
Thanks for the answer, but I wonīt spend that much money for just one button, thats ridiculous. I think I will try using  the console port for transmitting a signal to the sheevaplug. Unfortunately I donīt know where to start.
Greetings,
 Peter
6  General Category / General Discussion / Gimme a button to unmount on: January 07, 2010, 01:07:12 AM
Hello,

I regularly have to unmount my external 500GB USB-harddisk before I can pull it out safely. This means I must switch on my notebook, login with ssh onto the sheevaplug, unmount and shut down the notebook.
I want the Sheevaplug to have a button so I just have to push this button, the harddrive gets unmounted and I can pull it out safely. Unfortunately there is no such button Wink .

Anyone here who maybe solved it another way ? Is there a possibility to reconfigure the reset button ?

Any help is appreciated !

Regards,
  Peter
7  General Category / General Discussion / Re: 32GB SDCard, choppy records on: September 16, 2009, 01:48:16 AM
uname -a:

Linux hostname 2.6.30-rc6 #2 PREEMPT Wed May 20 05:42:04 MDT 2009 armv5tel GNU/Linux

I have to find out how to raise the block size for reiserfs, so results follow later.

By the way:  does anyone know how to set reiserfs flash-memory friendly ?

regards,

 Peter
8  General Category / General Discussion / Re: 32GB SDCard, choppy records on: September 14, 2009, 01:06:39 AM
Some news,
Actually I tried the combination of ReiserFS and CIFS. Now it is much better, though it stutters every 2-4 minutes for a half second.
I still have to change the block size, however I donīt know how to find the internal block size of the sdcard.
Cheers,

 Peter
9  General Category / General Discussion / Re: LibUSB, OpenUSB and Sheeva on: September 11, 2009, 02:01:02 PM
Greetings,

Sorry for asking instead of helping:
What is Your intention of using OpenUSB, or in other words: what is the difference between both methods ?

cheers,
 Peter
10  General Category / General Discussion / 32GB SDCard, choppy records on: September 11, 2009, 09:17:24 AM
Hi !

I am experiencing strange problems with my 32GB SDCard.
When recording from my dreambox500 to the sheevaplug using cifs to a usb-attached harddrive there are no problems.

But when I try to record to the 32gb card, the recording is very choppy, after half an hour the dreambox even stops the
recording with the message "write error on share".

- I tried using cifs- and nfs-shares, no change, still choppy:
- I put the card into a card reader and attached it via USB to the sheevaplug, still choppy;
- The card has been tested; it was filled completely with a file, then compared with the original: no problems;
- When i copy manually files to the sdcard while attached to the plug there are no problems as well;

Some more info:
- the streaming is never more then 800kb/sec, the card is capable transferring 4MB/sec;
- i used sheevaplug-installer-alpha-6 on the plug
- i even used a kernel with sdcard slowdown, no change

some observation on the plug:
- while recording on the USB-Harddrive one can see regular flickering of the Network-LED,
- when using the sdcard one can see irregular flickering. There are breaks in the transfer up to 8 seconds. Watching the  increase of bytes of the recording files looks very similar: after regular growing of the file, there are often stops of ten seconds in the increase;


first guess:  The card is too big, the plug has too much DMA overhead, or something
second guess: SD Cards write with a certain block-size, which has to be set ... or something

Unfortunately i find my guesses not really logical, since copying a simple file over network to the file works smoothly.

What do You think about it ? Every guess is welcome.

cheers,

 Peter
Pages: [1]