• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  Hardware and U-Boot firmware / U-Boot stuff / Making a raw copy of the NAND Flash on: September 17, 2009, 02:47:38 AM
Hello,

can I somehow make a copy of the NAND Flash to a USB Stick (as a copy, same as making an image of an Harddrive), and next step: if I can do this, how do I put it back on again ?

Kind regards,

Luke
2  Linux Stuff / General Linux questions / installing some aplications on external USB-drive on: July 04, 2009, 12:20:39 PM
Hi,

I would like to install some applications on the Plug, but my flash on the plug is almost full.

How can I:
1) install remaining applications on the external USB drive. I am always using ap-get to install stuff
2) remove unuse applications (how can I actually know what is installed, and what is really necessary ?)

Kind regards,

Luke
3  General Category / Success stories / Re: Bittorrent anyone ? on: June 14, 2009, 11:43:44 AM
After a lot of searching I found a good site myself (I think it is good, didnt try it yet):
http://forum.transmissionbt.com/viewtopic.php?f=1&t=7033
It is for an Ubuntu Server.

Kind regards,

Luke
4  General Category / Success stories / Re: Bittorrent anyone ? on: June 14, 2009, 10:39:03 AM
Plugit, I am a bit late with my question:

How do I install this transmission ? Should I somehwo only install the transmission-cli ? I would like to use it together with this transmission remote dotnet application.

Is it enough to have transmission running, should I also have samba running. Can I somehow switch it off when I unplug my USB drive ? Can I also automatically have it running again when I plug in the hard drive ?

But First things first, how do I install it. I am rather new at this, slowly catching up.

Kind regards

Luke
5  Linux Stuff / General Linux questions / Re: Safely removing USB drive on: June 14, 2009, 10:21:24 AM
Theoretically they are made for Hot swapping, but I wonder if the heads get the time to go to home position if you power them down. But that is another discussion.

I tried umount already, but the plug told me some process was using the drive, so I couldnt umount it.

How do I sync ? Do I first sync and then umount , or the other way around ?

Kind regards,

Luke
6  Linux Stuff / General Linux questions / Safely removing USB drive on: June 14, 2009, 03:01:45 AM
Hi,

Can somebody tell me how I  can Safely remove USB Hard drive with the Sheeva Plug.
I am always affraid when I just pull out the USB plug (USB Powered Drive). I cant imagine it to be safe.

So how should I actually do this with the plug ?

Kind regards,

Luke
7  Linux Stuff / Kernel / Re: apt-get intall ntfs-3g Errs out from ports.ubuntu.com on: June 14, 2009, 02:26:51 AM
bfmorgan,

did you actually get this to work ? I would like to mount an NTFS drive.

I have no idea how to start with. I am not even sure if my USB drive is properly working (since it is a buspowered drive(recent one)).

Kind regards,

Luke
8  Hardware and U-Boot firmware / U-Boot stuff / anybody experience with the SheevaPlug Installer ? on: May 26, 2009, 12:33:24 PM
Hi,

I found this on the wiki: http://plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer
Anybody tried this one to restore a bricked Sheevaplug ? Sounds like an ideal tool to restore the sheevaplug. But I cant find any topic on this in the forum. Anybody used this already. I am planning to try it.

Kind regards,

Luke
9  Hardware and U-Boot firmware / U-Boot stuff / Re: NFS boot problem on: May 26, 2009, 11:41:11 AM
Hi Kilowatt,

I tried what you proposed: I changed /etc/network/interfaces in the /sheevaplug/ubuntu/ directory, but I took address 23 instead of 21
Unfortunately it didn't change anything.
I still wonder how I could have a problem with DHCP: my router is assigning an address based on the MAC address, so every time I login with the Plug I always get the same address (Thats what I understand from my router listing).
Kind regards,

Luke
10  Hardware and U-Boot firmware / U-Boot stuff / Re: NFS boot problem on: May 25, 2009, 03:14:31 AM
Thank you,

How can I do this ?
I also dont understand (and I would like to understand it), why I could get in trouble with DHCP.

Kind regards,

Luke
11  Hardware and U-Boot firmware / U-Boot stuff / NFS boot problem on: May 22, 2009, 12:00:02 PM
Guys,

I am trying to boot my pogoplug using NFS. It is almost working, but apparently something goes wrong during booting:
Code:
                                                                             
U-Boot 1.1.4                                                                 
                                                                             
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0 1200Mhz L2 running @ 400Mhz     
SysClock = 5 tRP = 5 tRAS = 18 tRCD=6   
DRAM CS[0] base 0x0h                   
Flash:  0 kB                           
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initializ Done               
NAND:512 MB                             

CPU : Marvell Feroceon (Rev 1)CLOUD ENGINES BO
Streaming disabled
W                                                                               
                                                                               
USB 0: host mode                                                               
PEX 0: interfaceegiga0 [PRIME], egiga1                                         
Hit any key to stop autoboot:  0                                               
2.168.178.21; our IP address is 192.168.178.23                                 
Filename 'uImage.sheeva.040309'.                                               
Load address: 0x2000000                                                         
Loading: #####################################                                 
         ###########################################                           
         ####################################                                   
         ####################################                                   
         ####################################                                   
         ##############################################                         
done                                                                           
Bytes tr## Booting image at 02000000 ...                                       
   Ima9-04-04   1:49:44 UTC                                                     
   Image Type:   ARM Linux Kernel Image (uncompressed)                         
   Data Size:    2070252 00008000                                               
   Entry Point:  00008000                                                       
   VerifyinOK                                                                   
OK                                                                             
                                                                               
StartiUncompressing Linux.......................................................
Linux version 2.6.22.18 (root@localhost.ease)) #1 Fri Apr 3 18:49:38 PDT 2009   
CPU: ARM9177                                                                   
Machine: Feroceon-KW                                                           
Using UBoot passing pdisabled, Data cache writeback                             
CPU0: D VIVT wriiativity 4, 32 byte lines, 128 sets                             
CPU 128 sets                                                                   
Built 1 zonelists.  Total pages: 6502parts=nand_mtd:0x00100000@0x0000b00000@0x0e
PID hash table entries: 1024 (order: 10, 40ntries: 32768 (order: 5, 131072 byte)
ntries: 16384 (order: 4, 65536 bytes)                                           
Memory: 256MB 0MB 0MB 0MB = 256MB total                                         
Memory: 255616KB available (3772K code, 258K data, 124K  Testing write buffer ck
NET: Regist                                                                     
-------------                                                                   
SDRAM_CS0 ....base 00000000, sidisable                                         
SDRAM_CS3 ....disable                                                           
PEX0_MEM ....base e8000000, size 128MB                                         
PEX0_IO ....base f2000000, size   1MB                                           
INTER_REGS ....base f10 size   2MB                                             
SPI_CS ....base f4000000,  ....no such                                         
CRYPT_ENG ....base f0000000, size SP Version KW_LSP_4.2.7_patch2)-- SHEEVA PLUGE
                                                                               
 Detected Tclk 2000d SysClk 400000000                                           
MV Buttons Device Load                                                         
Marce detected no Link.                                                         
PCI: bus0: Fast bastem initialized                                             
usbcore: registered new interface driver hub                                   
usbcore: registered new ly 2                                                   
Time: kw_clocksource clocksource htries: 2048 (order: 1, 8192 bytes)           
TCP establis65536 bytes)                                                       
TCP bind hash table entries: 8192 (order: ured (established 8192 bind 8192)     
TCP reno registered                                                             
RTC registered                                                                 
Use the XOR engiunctions:                                                       
  o RAID 5 Xor calculation                                                     
  o kernel memcpynes to use: 4                                                 
cesadev_init(c00117e4)                                                         
m0                                                                             
Warning: TS unit is powered off.                                               
MV Buttons Driver Load                                                         
JFFS2 version 2.2. (NAND) �egistered                                           
io scheduler anticipatory registered 1.90 $ 4 ports, IRQ sharing disabled       
seis a 16550A                                                                   
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A                   
RAMDISK driver initialized: 20 RAM disks of 4096K size 4096 blocksize           
Loading Marvell Ethernet Driver:                                               
  o Cached descriptors in DRAM                                                 
  o DRAM SW cache-coherency                                                     
  o Single RX Queue support - ETH_DEF_RXQ=0                                     
  o Single TX Queue support - ETH_DEF_TXQ=0                                     
  o TCP segmentation offload enabled                                           
  o Receive checksum offload enabled                                           
  o Transmit checksum offload enabled                                           
  o Network Fast Processing (Routing) supported                                 
  o Driver ERROR statistics enabled                                             
  o Driver INFO statistics enabled                                             
  o Proc tool API enabled                                                       
  o Rx descripors: q0=128                                                       
  o Tx descripors: q0=532                                                       
  o Loading network interface(s):                                               
    o eth0, ifindex = 1, GbE pordex = 2, GbE port = 1                           
                                                                               
mvFpRuleDb (cfe000 Network Driver - version 7.3.20-k2-NAPI                     
Copyright (Network Driver, 3.5.17-k4-NAPI                                       
e100: Copyright(c) 1999-2006 Intel Corpod Off                                   
NFTL driver: nftlcore.c $Revision: 1.98 anufacturer ID: 0xad, Chip ID: 0xdc (Hys
Bad eraseblock 1653 at 0x0cea0000                                               
Bad eraseblock 2690 at 0x1504000Bad eraseblock 3784 at 0x1d900000               
eblock 3931 at 0x1eb60000                                                       
3 cmdlinepart pamand line partition definition                                 
Creating 3 MTD partitions on "nand_mtd":                                       
0x00000000-0x00100000 : "uBoot"                                                 
                                                                               
0x00500000-0x20000000 : "rootfs"                                               
 Marvell Orion EHCI                                                             
ehci_marvell ehci_marvell.7r 1                                                 
ehci_marvell ehcehci_marvell ehcver 10 Dec 2004                                 
usb usb1: configuration und                                                     
hub 1-0:1.0: 1 port detected                                                   
USB Univ3.0                                                                     
usbcore: registered new interface driver use Class driver                       
Initializing USB Mass St interface driver usb-storage                           
USB Mass Storage vice common for all mice                                       
i2c /dev entries drivemvBoardVoiceAssembleModeGet: TDM not sup,irq=-1           
mp_check_config: Error, invalid voice agistered for level -1                   
md: raid0 personality registered for level 0                                   
md: raid1 personality registered foraid6: int32x1     97 MB/s                   
raid6: iraid6: int32x4    126 MB/s                                             
raid6: ix4 (126 MB/s)                                                           
md: raid6 personality registered tered for level 5                             
md: raid4 personality registepeed                                               
   arm4regs  :  1084.000 MB/sec                                                 
   8regs     :     32regs    :   899.600 MB/sec                                 
raid5: ce-mapper: ioctl: 4.11.0-ioctl (2006-10- OCF package.                   
sdhci: Secure Dige Ossman                                                       
mvsdmmc: irq =t                                                                 
usbcore: registered new interface driver usbhid                                 
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver                         
Advanced Linux Sound Archit5 2007 UTC).                                         
oCodecRegGet: Error while reading registLogic chip/rev ID!                     
Error - Cannot initialize audio decoder.at address =0xff<6>ALSA er             
TCP cubic registered                                                           
NET: Registered protocol family 1                                               
NET: Registered protocol faeth0: link down                                     
eth0: started                                                                   
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:

      device=eth0, addr=192.168.178.23, mask=255.255.255.0, gw=255.255.255.255,
     host=DB88FXX81, domain=, nis-domain=(none),
     bootserver=192.168.178.21, rootserver=192.168.178.21, rootpath=
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Looking up port of RPC 100003/2 on 192.168.178.21
eth0: link up, full duplex, speed 100 Mbps
Looking up port of RPC 100005/1 on 192.168.178.21
VFS: Mounted root (nfs filesystem).
Freeing init memory: 124K
 * Setting preliminary keymap...                                               
                                                                         [ OK ]
 * Setting the system clock
The Hardware Clock does not contain a valid time, so we cannot set the System Time from it.
Unable to set system clock.
 * Unable to set System Clock to: Sun Sep 15 03:59:46 UTC 1918
 * Starting basic networking...                                                 
                                                                         [ OK ]
 * Starting kernel event manager...                                             
                                                                         [ OK ]
 * Loading hardware drivers...                                                  end_request: I/O error, dev mtdblock1, sector 0
Buffer I/O error on device mtdblock1, logical block 0
end_request: I/O error, dev mtdblock1, sector 8
Buffer I/O error on device mtdblock1, logical block 1
end_request: I/O error, dev mtdblock1, sector 16
Buffer I/O error on device mtdblock1, logical block 2
end_request: I/O error, dev mtdblock1, sector 24
Buffer I/O error on device mtdblock1, logical block 3
end_request: I/O error, dev mtdblock1, sector 0
Buffer I/O error on device mtdblock1, logical block 0
end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0
end_request: I/O error, dev mtdblock0, sector 8
Buffer I/O error on device mtdblock0, logical block 1
end_request: I/O error, dev mtdblock0, sector 16
Buffer I/O error on device mtdblock0, logical block 2
end_request: I/O error, dev mtdblock0, sector 24
Buffer I/O error on device mtdblock0, logical block 3
end_request: I/O error, dev mtdblock0, sector 0

Buffer I/O error on device mtdblock0, logical block 0

                                                                         [ OK ]
 * Setting the system clock
The Hardware Clock does not contain a valid time, so we cannot set the System Time from it.
Unable to set system clock.
 * Unable to set System Clock to: Sun Sep 15 03:59:49 UTC 1918
 * Loading kernel modules...                                                     * Loading manual drivers...                                                   
                                                                         [ OK ]
 * Setting kernel variables (/etc/sysctl.conf)...                               
                                                                         [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...         
                                                                         [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...         
                                                                         [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-process-security.conf)...         error: "vm.mmap_min_addr" is an unknown key

                                                                         [fail]
 * Setting kernel variables (/etc/sysctl.d/10-tcp-timestamps-workaround.conf)...                                                                               
                                                                         [ OK ]
 * Activating swap...                                                           
                                                                         [ OK ]
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
 * Starting early crypto disks...                                               
                                                                         [ OK ]
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
 * Starting remaining crypto disks...                                           
                                                                         [ OK ]
 * Checking file systems...                                                     fsck 1.41.3 (12-Oct-2008)

                                                                         [ OK ]
 * Mounting local filesystems...                                               
                                                                         [ OK ]
 * Activating swapfile swap...                                                 
                                                                         [ OK ]
 * Configuring network interfaces...

Doesnt look to bad: but I cant do anything, I dont get a prompt.
my exports file:
Code:
/sheevaplug/ubuntu 192.168.178.20/30(rw,sync,no_root_squash)
/tftpboot 192.168.178.20/30(rw,sync,no_root_squash)
this uimage is in /tftpboot
and I untarred the full directory structure of ubuntu-9.04.tar.gz to /sheevaplug/ubuntu (so not the JFFS file but the directories)

my uboot settings are:
Code:
baudrate=115200

loads_echo=0
netmask=255.255.0.0
run_diag=yes
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/mtdblock2 ro
ceboardver=PP_GTI:3.0
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
ethaddr=00:25:31:00:02:07
cesvcid=WC5C3M7AH48P7CS3HPLVYTMYYJ
console_new=console=ttyS0,115200 mtdparts=nand_mtd:0x00100000@0x00000000(uBoot)ro,0x00400000@0x00100000(uImage),0x1fb00000@0x00500000(rootfs)
boottftp=tftpboot 0x2000000 $(image_name)
bootargs_nfs=root=/dev/nfs rw
boot_nfs=run boottftp;setenv bootargs $(console_new) $(bootargs_nfs) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end);bootm 0x2000000
bootnand=nand read.e 0x2000000 0x00100000 0x00500000
bootargs_nand=root=/dev/mtdblock2 rw
boot_nand=run bootnand;setenv bootargs $(console_new) $(bootargs_nand) ip=$(ipaddr):$(serverip)$(bootargs_end);bootm 0x2000000
bootargs_sd=root=/dev/mmcblk0p1 rw
boot_sd=run bootnand;setenv bootargs $(console_new) $(bootargs_sd) ip=$(ipaddr):$(serverip)$(bootargs_end);bootm 0x2000000
console_orig=console=ttyS0,115200
boot_orig=nand read 0x2000000 0x100000 0x200000; setenv bootargs $(console_orig) $(bootargs_root); bootm 0x2000000
ipaddr=192.168.178.23
serverip=192.168.178.21
rootpath=/sheevaplug/ubuntu
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage.sheeva.040309
bootcmd=run boot_nfs;
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no

How can I be sure he is using the file system from the NFS server and not from the pogoplug itself ? Or am i using an incompatible set of kernel image and ubuntu distribution ?

Next step would be too flash the pogoplug with the kernel and ubuntu version (this time the JFFS file)

Kind regards,

Luke
12  Hardware and U-Boot firmware / U-Boot stuff / Re: TFTP problems on: May 22, 2009, 11:30:15 AM
Thank you David,

I setup NFS but I used another website (https://help.ubuntu.com/community/SettingUpNFSHowTo). The ewiki was somewhat to cryptic for a nebie as me.
Kind regards,

Luke
13  Hardware and U-Boot firmware / U-Boot stuff / TFTP problems on: May 16, 2009, 10:59:43 AM
It sounds stupid, I know. But I just cant get get this TFTP to work, so I can do a TFTP/NFS boot.
I am a newbie (you probably guessed that).
Can somebody tell me which server they used, together with all configuration (or an howto you followed somewhere), and how I can test this server. I am using Ubuntu 9.04, does it already have a TFTP server running ? How can I check this ?

Kind regards,
Luke
14  Hardware and U-Boot firmware / U-Boot stuff / Re: u-boot Example Settings To Easily Switch Between TFTP/NFS and NAND on: May 09, 2009, 02:13:21 AM
Ok guys,
again: I am a newbie, who wants to learn. I have setup a tftp server,and I have setup an NFS server (do I really need both ?).
I suspect I need to put this uImage.sheeva.040309 somewhere, and I have to expand ubuntu-9.04.tar.gz to another directory. Which directory should this be ? I suspect I should find these directories back in your u-boot variables somewhere. This is a link I am missing in the settings of finkployd.
If I understood it well: the uImage will be loaded in DRAM and run form there (I suspect this one will need to be on the TFTP server), and the file system (expanded from ubuntu-9.04.tar.gz) will be accessed from the NFS server.

Please someone clarify, and post your server directories and your full Uboot variables settings. It would help me a lot.

Kind regards,

Luke
15  Hardware and U-Boot firmware / U-Boot stuff / Re: Bad Magic Number with uImage.sheeva.040309 and NFS on: May 03, 2009, 08:02:54 AM
GtkTerm, does have copy&paste functionality, but you need to use correct keyboard combination (I am also a newby, I had to search the internet for it):
copy: ctrl + insert
paste: shift + insert
cut: shift + delete

it worked for me, and I am a happy GTKTerm user now.

Luke
Pages: [1] 2