• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 ... 5 6 [7] 8 9 10
91  Linux Stuff / Linux distributions / Re: Ubuntu 9.04: No Updates since month? on: March 08, 2010, 06:28:08 AM
yep, worked for me.
92  Linux Stuff / Linux distributions / Re: Ubuntu 9.04: No Updates since month? on: March 04, 2010, 03:00:24 AM
Hmm, just got aware that sb else is having more repositories in his sources.list than me.

In my /etc/apt/sources.list I just got:
deb http://ports.ubuntu.com/ jaunty main restricted universe multiverse

He's having those additionally:
deb http://ports.ubuntu.com/ jaunty-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ jaunty-security main restricted universe multiverse
deb http://ports.ubuntu.com/ jaunty-proposed main restricted universe multiverse
deb http://ports.ubuntu.com/ jaunty-backports main restricted universe multiverse


If I add them as well it's the first I'll see suggestions for an update:

root@Share:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  bind9-host dnsutils libbind9-40 libdns45 libisc45 libisccc40 libisccfg40
  liblwres40
The following packages will be upgraded:
  consolekit cron dbus dbus-x11 dhcp3-client dhcp3-common dnsmasq dnsmasq-base
  file gzip language-pack-en libck-connector0 libcups2 libcurl3-gnutls
  libdbus-1-3 libexpat1 libglib2.0-0 libglib2.0-data libgnutls26 libkrb53
  libmagic1 libmpfr1ldbl libnewt0.52 libpam-ck-connector libpam-modules
  libpam-runtime libpam0g libsasl2-2 libsasl2-modules libsqlite3-0 libssl0.9.8
  libvolume-id1 libwbclient0 libxcb1 libxml2 linux-libc-dev lsb-base
  lsb-release ntpdate openssl perl perl-base perl-modules python-newt
  python2.5 python2.5-minimal samba samba-common samba-doc screen-profiles
  smbclient smbfs sudo swat tzdata udev wget whiptail
58 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 50.2MB of archives.
After this operation, 815kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.


However, I want to make a backup first ... ;-)
93  Linux Stuff / General Linux questions / Re: Double Default routes Ubuntu SheevaPlug on: February 13, 2010, 12:41:05 PM
Hi pancho,

I just noticed that your /etc/network/interfaces does not conform to current spec ($ man interfaces), around the 'iface lo inet loopback' line.
It seems that the lines:

I guess you're right (haven't checked it, yet). It comes like this when the plug gets shipped!?

@pingtoo: this plug is strange. As advised I removed the IP address etc  info from the bootargs (btw: I'm using a Debian Lenny install on another SD card this time, but it has been the same issue as to my previous post (link insite: no interface).

bootcmd_nand=setenv bootargs $(bootargs_nand); nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootcmd_sd=setenv bootargs $(bootargs_sd); mmcinit; ext2load mmc 0 0x8000000 /uImage; bootm 0x8000000
bootcmd=run bootcmd_sd; run bootcmd_nand
bootargs_nand=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw
bootargs_sd=console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=10 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw


If I now boot into NAND, which has still the Ubuntu (thou updated kernel), it comes up with both interface lo and eth0 and eth0 gets the right IP from my DHCP server (based on the MAC).

Marvell>> run bootcmd_nand
[...]
root@debian:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:43:01:d8:11
          inet addr:a.b.c.253  Bcast:a.b.c.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe01:d811/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1888 (1.8 KB)  TX bytes:4649 (4.6 KB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@debian:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto eth0
iface eth0 inet dhcp


However, if I boot into the debian on the SD (same kernel) I have no eth interface at all, but just the lo!!

debian:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)


When I revert back to the IP settings in the uboot commands

setenv bootargs_sd 'console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=10 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw ip=a.b.c.253:a.b.c.1:a.b.c.1:255.255.255.0:Sheeva:eth0:none'

I can spot the following messages during the boot process

net eth0: port 0 with MAC address 00:50:43:01:d8:11
[....]
IP-Config: Complete:
     device=eth0, addr=a.b.c.253, mask=255.255.255.0, gw=a.b.c.1,
     host=Sheeva, domain=, nis-domain=(none),
     bootserver=a.b.c.1, rootserver=a.b.c.1, rootpath=
[...]
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[...]

Waiting for /dev to be fully populated...udevd-event[725]: rename_netif: error changing netif name eth0 to eth1: Device or resource busy
[...]
Cleaning up ifupdown....
[...]
Setting up networking....
Configuring network interfaces...done.


and after the login I have eth0 with the right IP address

debian:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:43:01:d8:11
          inet addr:194.174.11.253  Bcast:194.174.11.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe01:d811/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2850 (2.7 KiB)  TX bytes:856 (856.0 B)
          Interrupt:11


however I can ping (two times) Wink

debian:~# ping a.b.c.1
PING a.b.c.1 (a.b.c.1) 56(84) bytes of data.
64 bytes from a.b.c.1: icmp_seq=1 ttl=64 time=6.31 ms
64 bytes from a.b.c.1: icmp_seq=2 ttl=64 time=0.249 ms
^C
--- a.b.c.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.249/3.279/6.310/3.031 ms


I can't access the interface

debian:~# ifdown eth0
ifdown: interface eth0 not configured
debian:~# ifdown eth1
ifdown: interface eth1 not configured
94  Linux Stuff / General Linux questions / Re: Double Default routes Ubuntu SheevaPlug on: February 12, 2010, 07:15:00 AM
@pingtoo: hmm, frankly don't got what you mean with "I recommend take the ip=...none". Do you mean to remove the part of the string?

If I recall correctly I once added it by intend, as without IPs the interface wasn't there at all (http://plugcomputer.org/plugforum/index.php?topic=950.0).

However as for now I left the SD card I usually boot from in my spare Plug and made it the productive one. Benefit: I can do some more testing with the "faulty" one and can also watch, if that network/Samba black-outs for my "users" are still there or gone.

Anyhow, here comes the outcome of the ifdown and up you asked for (strange):

root@Share:~# ip route
a.b.c.0/24 dev eth0  proto kernel  scope link  src a.b.c.254
default via a.b.c.1 dev eth0
default via a.b.c.1 dev eth0  metric 100
root@Share:~# ifdown eth0
root@Share:~# ifup -v eth0
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/dhclient3-apparmor

ifconfig eth0 a.b.c.254 netmask 255.255.255.0              up
 route add default gw a.b.c.1 metric 100 eth0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/openvpn
root@Share:~# ip route
a.b.c.0/24 dev eth0  proto kernel  scope link  src a.b.c.254
default via a.b.c.1 dev eth0  metric 100


Further: why do you think they have a different kernel? IMO both had 2.6.32.7 (and are now at 2.6.32.8 ). Where did you spot the difference?

PS: do you know what's happening with the latest uboot version? Your patched ones work for me, but the one rooster posted which should have included your patches didn't! rooster never came back with any feedback ...

PPS: at least the smbd message

Feb 12 15:15:03 Share nmbd[1633]:   queue_query_name: interface 1 has NULL IP address !


is still there, though this device boots up with just one default route entry ...
95  Hardware and U-Boot firmware / U-Boot stuff / Re: unsetenv? How do you unset an env in UBoot? on: February 12, 2010, 06:32:05 AM
I think it's good enough to issue the setenv command for the variable without a value for it.

E.g.

> setenv MyVar 'MyVal'

will create (if's not present yet) and set the value MyVal

> setenv MyVar

will clear/'"delete" the variable?!
96  Linux Stuff / General Linux questions / Re: Double Default routes Ubuntu SheevaPlug on: February 11, 2010, 09:39:04 AM
@pingtoo - have to do this when I'm at home having access to the console. Anyhow here's a brief update of the comparison of the uboot's environment variables: Nothing really catches my eye, rather than some of the args are in a different order (and of course different IP and MAC addresses). What I can try is to increase the rootdelay?

$ diff 1stPlugEnv.txt 2ndPlugEnv.txt
9d8
< console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
27a27
> console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
28a29
> bootargs_nand=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=a.b.c.1:a.b.c.253:a.b.c.253:255.255.255.0:DB88FXX81:eth0:none
30,31c31
< bootcmd=run bootcmd_sd; run bootcmd_nand
< bootargs_nand=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
---
> bootargs_sd=console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=5 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw ip=a.b.c.1:a.b.c.253:a.b.c.253:255.255.255.0:DB88FXX81:eth0:none
33,34c33
< bootargs_sd=console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=10 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw ip=a.b.c.254:a.b.c.1:a.b.c.1:255.255.255.0:DB88FXX81:eth0:none
< ethaddr=00:50:43:01:d8:11
---
> bootcmd=run bootcmd_sd; run bootcmd_nand
35a35
> ethaddr=00:50:43:01:da:3b
57c57
< Environment size: 1859/131068 bytes
\ No newline at end of file
---
> Environment size: 1873/131068 bytes
\ No newline at end of file
97  Linux Stuff / General Linux questions / Re: Double Default routes Ubuntu SheevaPlug on: February 11, 2010, 03:01:58 AM
tnx pancho. Will have a look at it. However I guess it's not the main cause. I spared some few minutes this morning again to do another test.

To double check I placed the same SD card I use in my primary Plug (with the double entries) into my spare device, making no changes to the OS/FS/configs. The 2nd comes up without the double, it has just one default route entry. So my guess is that it's not the OS in the first instance which causes this behaviour.

I also checked the uboot version. Both claim to have

Marvell>> version
U-Boot 1.1.4 (Dec 27 2009 - 22:03:21) Marvell version: 3.4.27 - pingtoo patch.01


So I also copied the printenv output of both Plugs, but haven't had time yet to compare them and spot the differences (will follow up on this, there are differences; not only mac address, but also in the order of the variables ...).

However IMO worth nothing: though the boot in the second Plug of cause created a 2nd entry in /etc/udev/rules.d/70-persistent-net.rules

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# net device ()
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:43:01:d8:11", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# net device ()
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:43:01:da:3b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"


it comes up with just one default route for eth0. Of course I deleted the file before plugging the SD card back into my primary Sheeva.
98  Linux Stuff / General Linux questions / Re: Double Default routes Ubuntu SheevaPlug on: February 10, 2010, 08:52:30 AM
Hi pancho,

yeah, that is what I exactly did before opening this thread:

re the hints in http://plugcomputer.org/plugforum/index.php?topic=1292.msg8029#msg8029 I got one of my weired Ethernet issues fixed (thx for that).

However I still have some odd issue with a second default route active when my system reboots.

IMO the file looked clean, but I will double check. (And yes, it's at the same place with the Ubuntu).
99  Linux Stuff / General Linux questions / Re: Double Default routes Ubuntu SheevaPlug on: February 10, 2010, 04:05:09 AM
Hi folks, a brief (though strange) update. I reserved few minutes this morning to clone the OS/FS from the SD card I use in my "production" system to another SD card and plugged it into my spare SheevaPlug. Of course I had to adapt the fixed IP (and lowering the PDC level of the running Samba) before booting, however I was surprised to find this device not to have that second default route once booted. How can this be?!?

Maybe some odd difference in the U-Boot config? As I recall both use a 3.427 "pingtoo" version (http://plugcomputer.org/plugforum/index.php?topic=1134.msg7016#msg7016) though maybe at different patch levels? (I've to double check).

root@Share:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto eth0
# iface eth0 inet dhcp
iface eth0 inet static
        address a.b.c.36
        netmask 255.255.255.0
        gateway a.b.c.1

root@Share:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:43:01:da:3b
          inet addr:a.b.c.36  Bcast:a.b.c.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe01:da3b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2513 (2.5 KB)  TX bytes:4625 (4.6 KB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@Share:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
a.b.c.0            0.0.0.0            255.255.255.0   U         0    0            0    eth0
0.0.0.0            a.b.c.1            0.0.0.0               UG       0    0            0    eth0

root@Share:~# ip route
a.b.c.0/24 dev eth0  proto kernel  scope link  src a.b.c.36
default via a.b.c.1 dev eth0  metric 100
100  Linux Stuff / General Linux questions / Re: Double Default routes Ubuntu SheevaPlug on: February 09, 2010, 04:28:17 AM
No, I'm not aware of any fancy routing stuff. BTW: IP a.b.c/24 is an official IP address, that's why I'm hiding it ;-) And actual kernel is

Linux Share 2.6.32.7 #1 PREEMPT Thu Jan 28 19:00:37 MST 2010 armv5tel

running from 1GB SD card.

root@Share:~# ip route
a.b.c.0/24 dev eth0  proto kernel  scope link  src a.b.c.254
default via a.b.c.1 dev eth0  metric 100


root@Share:~# ip rule
RTNETLINK answers: Operation not supported
Dump terminated


PS: before deleting one of the default routes manually it looks like this:

root@Share:~# ip route
a.b.c.0/24 dev eth0  proto kernel  scope link  src a.b.c.254

default via a.b.c.1 dev eth0
default via a.b.c.1 dev eth0  metric 100

root@Share:~# ip rule
RTNETLINK answers: Operation not supported
Dump terminated
101  Linux Stuff / General Linux questions / Double Default routes Ubuntu SheevaPlug on: February 09, 2010, 03:00:53 AM
Hi folks,

re the hints in http://plugcomputer.org/plugforum/index.php?topic=1292.msg8029#msg8029 I got one of my weired Ethernet issues fixed (thx for that).

However I still have some odd issue with a second default route active when my system reboots. My config looks like this

root@Share:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:43:01:d8:11
          inet addr:a.b.c.254       Bcast:a.b.c.255       Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe01:d811/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:77 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8820 (8.8 KB)  TX bytes:16895 (16.8 KB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@Share:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
a.b.c.0            0.0.0.0            255.255.255.0   U          0 0              0 eth0
0.0.0.0            a.b.c.1            0.0.0.0               UG        0 0              0 eth0

0.0.0.0            a.b.c.1            0.0.0.0               UG        0 0              0 eth0

root@Share:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto eth0
# iface eth0 inet dhcp
iface eth0 inet static
        address a.b.c.254
        netmask 255.255.255.0
        gateway a.b.c.1


I can delete one of the default route entries

root@Share:~# route del default

and it still works

root@Share:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
a.b.c.0            0.0.0.0         255.255.255.0    U          0 0                0 eth0
0.0.0.0           a.b.c.1          0.0.0.0                UG        0 0                0 eth0


however I'd like to understand where this double entry is coming from!?

Further - though I don't know if it's related - I still have an odd Samba message in my syslog which cause I couldn't "google" so far:

Feb  9 10:41:55 Share nmbd[1641]:   queue_query_name: interface 1 has NULL IP address !

Would sb have an idea where to look at? thx!
102  Linux Stuff / General Linux questions / Re: eth0 Debian SheevaPlug on: February 08, 2010, 07:16:10 AM
I think it does - I was just on my way to post a request on the odd things ran into since some weeks http://plugcomputer.org/plugforum/index.php?topic=950.0 and the strange double default route I noticed today.

root@Share:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
a.b.c.0         0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         a.b.c.1         0.0.0.0         UG        0 0          0 eth0
0.0.0.0         a.b.c.1         0.0.0.0         UG        0 0          0 eth0


root@Share:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:43:00:02:2f
          inet addr:a.b.c.254  Bcast:a.b.c.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe00:22f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16307 (16.3 KB)  TX bytes:24555 (24.5 KB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
103  Linux Stuff / Kernel / Truecrypt for Marvell ARM with Crypto Support (2.6.32+) on: January 16, 2010, 08:18:55 AM
Hi folks,

is there a package of the above around somewhere?
--
tnx & cheers
104  Hardware and U-Boot firmware / U-Boot stuff / Re: new uboot version 3.4.27 on: January 14, 2010, 01:59:18 AM
here is patched (with pingtoo`s patch http://plugcomputer.org/plugforum/index.php?topic=1134.msg7028#msg7028) 3.4.27 image

Hi rooster, though pingtoo's versions works for me same issue with yours as pancho reported.

Marvell>> version

U-Boot 1.1.4 (Dec 27 2009 - 22:03:21) Marvell version: 3.4.27 - pingtoo patch.01
Marvell>> bubt u-boot-rd88f6281Sheevaplug_400db_nand.bin
Using egiga0 device
TFTP from server 194.a.b.c; our IP address is 194.a.b.d
Filename 'u-boot-rd88f6281Sheevaplug_400db_nand.bin'.
Load address: 0x2000000
Loading: #################################################################
         ############################
done
Bytes transferred = 474592 (73de0 hex)

**Warning**
If U-Boot Endiannes is going to change (LE->BE or BE->LE), Then Env parameters should be overriden..
Override Env parameters? (y/n) n
Erase 0 - 655360 ...
Copy to Nand Flash...
done
Marvell>> reset
[...]
Marvell>> version

U-Boot 1.1.4 (Dec 29 2009 - 13:18:27) Marvell version: 3.4.27
Marvell>> run bootcmd_sd
Error! cmd : 8, err : 0201
SD found. Card desciption is:
Manufacturer:       0x1c, OEM "SV"
Product name:       "SDM  ", revision 1.0
Serial number:      2415946749
Manufacturing date: 3/2007
CRC:                0x00, b0 = 0

2860756 bytes read
## Booting image at 08000000 ...
   Image Name:   Linux-2.6.32.3
   Created:      2010-01-07  23:31:19 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2860692 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC

105  Hardware and U-Boot firmware / U-Boot stuff / Re: new uboot version 3.4.27 on: December 28, 2009, 01:26:27 PM
Hey pingtoo,

I found the problem for why ext2load having problem ...

superb - works like a charm, now! :-) To you and all working a this a big thanx!

Quote
Error! cmd : 8, err : 0201

As far as I recall all of my SD cards show this error message, but none of my SDHC. Would this mean that it will be more save to use SDHC rather than SD as the plug ignores the message or can not offer the right voltage level?

And maybe two other notes while fixing the version. There are some little blemish in the "help" output
 IMO all command explanations should be aligned (if allowed by the command
 word lenght) starting with a dash and just start with a lower capital character and the
 sentences should end without a dot "."
 On command "map": change "Diasplay" to "display"

And I noticed this strange? behavior: while I made the update of the uboot I didn't reset the environment variables.

since then it came up with

[...]
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash:  0 kB
[...]
Marvell>> resetenv
Erase Env parameters offset 0xa0000... done
Warning: Default Environment Variables will take effect Only after RESET
Marvell>> reset
[...]
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
*** Warning - bad CRC or NAND, using default environment

Flash:  0 kB
[...]


I was upset when I first read it, because I thought I screwed something now.

Is "bad" really the right word here!? Shouldn't we better use "empty"?

Without modifying any environment variable I just did a
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> reset
[...]
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> reset
[...]


and the error is gone again. (just my 2 cent)
Pages: 1 ... 5 6 [7] 8 9 10