• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 2 [3]
31  Linux Stuff / Kernel / Re: Correct way to install new Kernel? on: January 26, 2010, 03:55:26 AM
Is there a way that I can compile orion v2.6.31.1, from a usb drive, onto the nand?
Or am I going about this the wrong way?

Hello Doose,

Why not try writing your compiled uImage directly into the NAND partition of the sheevaplug? If you already have your compiled uImage, put it in your USB thumbdrive then do a nandwrite.

See below:


root@ubuntu:/mnt# ls
uImage
root@ubuntu:/mnt# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00020000 "uImage"
mtd1: 1fb00000 00020000 "rootfs"
root@ubuntu:/mnt# flash_eraseall /dev/mtd0
Erasing 128 Kibyte @ 3e0000 -- 96 % complete.
root@ubuntu:/mnt# nandwrite -p /dev/mtd0 uImage
...                                                 
root@ubuntu:/mnt#

Just ensure that you are modifying the nand partition for the kernel. After that perform a reboot.
Hope this helps.  Smiley
If I just take the latest precompiled sheeva-2.6.32.6-uImage from http://sheeva.with-linux.com , and put it on a directory or usb mount, I can run the above commands and have the new kernel ready after it finishes, with out the need of sheeva-2.6.32.6-Modules.tar.gz ?'?
If I'm booting of the nand, can I nandwrite the new kernel or I must boot from another source (like mmc or USB) to nandwrite the kernel ? 
32  General Category / General Discussion / Re: Installer Error on: January 19, 2010, 03:33:03 PM
All my problems and many error messages like yours, disappeared when I compiled on my host ubuntu pc,the latest openocd.
   
33  Hardware and U-Boot firmware / U-Boot stuff / Re: new uboot version 3.4.25 on: January 10, 2010, 04:24:01 AM
It would be nice if the moderators/administrators of the forum and wiki, take all the above mentioned updated images of kernel, uboot, distribution and update the installer's files and configuration with all the new stuff and after testing it with the help of the members that provided them, post them online
And award the contributors/anonymous members with a generous discount on the next plugcomputer model.
Today I decided to do all the dirty work by my self and debug the all process with the help of the forum members through thiw post --> http://plugcomputer.org/plugforum/index.php?topic=1188.0 , but after reading the above post, I changed my mind and decided to wait for a bit, because this year I didn't received any present from santa ... yet!  Roll Eyes
34  General Category / General Discussion / Re: SheevaPlug Installer with updated kernel, uboot, distro ? on: January 10, 2010, 04:23:00 AM
It would be nice if the moderators/administrators of the forum and wiki, take all the above mentioned updated images of kernel, uboot, distribution and update the installer's files and configuration with all the new stuff and after testing it with the help of the members that provided them, post them online
And award the contributors/anonymous members with a generous discount on the next plugcomputer model.
Today I decided to do all the dirty work by my self and debug the all process with the help of the forum members, but after reading this post -->
http://plugcomputer.org/plugforum/index.php?topic=1134.msg7362#msg7362
I changed my mind and decided to wait for a bit, because this year I didn't received any present from santa ... yet!  Roll Eyes
35  General Category / General Discussion / SheevaPlug Installer with updated kernel, uboot, distro ? on: January 08, 2010, 08:14:14 AM
I have my plug for some weeks up and running with the installer 1  provided kernel 2.6.30.2 , ubuntu, and uboot, and I can multiboot from nand, sd card or usb.
Now I want to install debian squeeze, the latest kernel and the latest uboot, and considering that for the installer 1 you need from the readme:
5.  Copy the following to the USB stick root directory:
      a. Root file-system (packed into rootfs.tar.gz)
      b. Kernel (named uImage)
      c. Kernel modules (packed into modules.tar.gz)
      d. Init ramdisk (uImage.initrd)
    If you do not have all, you can download from:
      a. http://plugcomputer.org/index.php/us/resources/downloads (distro, kernel(LSP), uboot)
      b. http://plugcomputer.org/plugwiki/index.php/Main_Page     (distrio,uboot)
      c. http://sheeva.with-linux.com/sheeva                      (mainline kernel+modules)


can i just replace the above files with the updated ones provided by some developers/members of the forum ?
rootfs.tar.gz   from  http://www.mediafire.com/sheeva-with-debian provided by mgillespie this post]http://plugcomputer.org/plugforum/index.php?topic=878.0]this post
kernel  from http://sheeva.with-linux.com/sheeva/  provided by cbxbiker61
and uboot from rooster  http://plugcomputer.org/plugforum/index.php?topic=1134.0 (see attached file uboot.bin )
and then follow the installer's steps to reflash my plug with all the new stuff?
and if that can be done what is the proper way to do this all together and not one by one?
36  Hardware and U-Boot firmware / Hardware / Re: Choosing a USB powered hard drive for the Sheeva on: January 03, 2010, 01:36:29 PM
I also bought the Western Digital My Passport Essential  500 GB 2.5", WDBAAA5000ABK-EES, and all I can say is that it works smoothly with the plug.
I pushed it a little further and test it with the following running simultaneously for a couple of days:
samba
irssi (downloading two or more big files with dcc and chatting )
rtorrent (downloading and seeding about 7 big torrents)
watch from an ubuntu pc connected to the same lan with the plug an xvid movie streamed from the usb disk.
Another windows vista pc connected to the same lan was reading and writing files to the disk.
The disk worked fine without a glitch and the plug was showing 4-20% cpu load with average 6-12%.
It also goes to standby mode after some 5-10 minutes of inactivity, and the plug can wake it up easily in 1-2 seconds.
The most of the cpu load was under the ntfs-3g, the driver for linux to see ntfs drives.
Ntfs-3g is power hungry but the big disadvantage is that it reaches terrible speeds from other computers on the same lan:
download to usb disk 14 MB/sec
upload                        7  MB/sec

With another fat32 usbdisk connected to the plug, I had speeds ~ 23 MB/sec down. 16 MB/sec upload.
(with 2 windows pcs I have speeds ranging around 25-40 MB/sec, transfering files between them.)
I guess that formating the disk with ext3 or ext4 I will have better speeds.
What file system is recommended to format the usb disk of the plug to have better speeds considering that I boot from the SD card which is formated with ext2 ?'??
37  Hardware and U-Boot firmware / Hardware / Re: Choosing a USB powered hard drive for the Sheeva on: December 29, 2009, 07:15:32 AM
I'm glad that it works with the Sheevaplug, but the strange thing is that in this page from Western Digital Knowledge Base -->
http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=1731
says that "Drive Maximum Power Draw (milliamps) 1000 Ma " and the Sheevaplug goes to usb output max=780 mA
It seems like if you stress the disk, the sheevaplug's usb power, won't have enough juice to feed the drive so maybe sometime you will have a problem.
Considering that the max output of the plug is 780 mA, I was going to buy a WD PASSPORT (not MY PASSPORT) with 320GB (WD3200U017, WDXMSA2500, WDXMSB2500, WDXMSC2500, WDXMSE2500) which needs "Drive Maximum Power Draw (milliamps) 650 Ma" as it says in that page --> http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=1555
But after your last post saying that My Passport Essential 500GB, works with the sheevaplug I don't know what to do.
Maybe some experts here in the forum that have more knowledge about the sheevaplug hardware capabilities will give us their opinion.

The stupid hard disk companies say that the drives are usb compatible but the usb specification for power --> http://en.wikipedia.org/wiki/Universal_Serial_Bus#Power   says that "A unit load is defined as 100 mA in USB 2.0, and was raised to 150 mA in USB 3.0. A maximum of 5 unit loads (500 mA) can be drawn from a port in USB 2.0, which was raised to 6 (900 mA) in USB 3.0.is under 500 mA "
So making usb devices that draw so much (650 or 1000 mA) that the provided usb power from a pc or a plug can not reach, are not usb compatible in my book...
For those who want to see the specifications of Western Digital passport portables and their disks click this link --> http://support.wdc.com/product/kb.asp?level1=2&lang=en

38  General Category / General Discussion / Re: Benefits/Downsides to moving to SDHC based booting. on: December 28, 2009, 05:58:12 AM
Here are some tips to reduce wear
Tips for running Linux on a flash device
http://www.cyrius.com/debian/nslu2/linux-on-flash.html
39  Hardware and U-Boot firmware / Hardware / Re: Choosing a USB powered hard drive for the Sheeva on: December 28, 2009, 05:26:52 AM
...
Thanks. I've actually just ordered a Western Digital My Passport Essential 500GB! Will let you guys know how I get on with it. Probably best if we add results of all these hard drives in the external hard drive section of the Plug Computer WIKI.

So monkeyhybrid what are the news?
The Western Digital My Passport Essential 500GB can work with only the usb power of the plug? or it needs an extra usb hub?
40  Hardware and U-Boot firmware / Hardware / NAND device: ......Bad eraseblock on: December 27, 2009, 02:21:16 PM
Hi.
After I setup/upgrade my plug with the new installer and make it boot from SD, when I run "dmesg" I get always somewhere in the middle of the print out :

....
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 3553 at 0x00001bc20000
Bad eraseblock 3554 at 0x00001bc40000
Bad eraseblock 3555 at 0x00001bc60000
Bad eraseblock 3556 at 0x00001bc80000
Bad eraseblock 3557 at 0x00001bca0000
Bad eraseblock 3558 at 0x00001bcc0000
Bad eraseblock 3559 at 0x00001bce0000
Bad eraseblock 3560 at 0x00001bd00000
Bad eraseblock 3561 at 0x00001bd20000
Bad eraseblock 3562 at 0x00001bd40000
Bad eraseblock 3563 at 0x00001bd60000
Creating 3 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "root"
...


I always get those 11 Bad eraseblocks
Should I worry that some day I won't be able to boot from NAND?
I look to other dmesg posts and I see that most of the people have 2-3, so considering that  I have 11 should I return the plug to theretailer?
Can I do something to fix those errors?
Thanx in advance
41  General Category / General Discussion / apt-get dist-upgrade on: December 19, 2009, 05:07:58 AM
Hi
Linux noob here but a happy one because after 10 days of linux (Ubuntu 9.04) on my desktop and 3 days of eye bleeding of the readme - wiki - forum reading and many errors on the flash process with the installer 1.0, I finally managed to finish the process only after building on my desktop the openocd and moved it in the intstaller folder replacing the one that was there and then "run php runme.php nand".http://www.openplug.org/plugwiki/index.php/SheevaPlug_Installer / Troubleshooting
FYI:I have cpu amd-64 - Ubuntu 9.04 32bit
Next step is to make it boot from sd card.
I will make a thread later when i have some time and tell you all the details and what I've done to help someone that has same problems like me.
Now I have done  apt-get update and apt-get upgrade to my sheevaplug.

My noob question is this: is it safe to run apt-get dist-upgrade ?
I'm asking this because I am reading that the new Ubuntu 9.10 has no support for arm5 cpu (plugcomputer's cpu).
Or the apt-get dist-upgrade has nothing to do with upgrading the plugcomputer from Ubuntu 9.04 to 910?
42  Linux Stuff / Linux distributions / Re: [IMPORTANT] Ubuntu 9.10 Karmic Koala *WON'T* work on the sheevaplug on: December 10, 2009, 10:16:47 AM
Hi.
Because the sheevaplug works with Ubuntu 9.04, is it better to have the same version of Ubuntu on my desktop pc (to play with sheevaplug like make it boot from SD memory card or from a usb hard drive or transfer apps from my desktop pc , etc) or it will work fine if I have Ubuntu 9.10 on my desktop pc ?
Pages: 1 2 [3]