Re: [no distro] What console s/w are linux people using to communicate with the Neo FR boot loader?

2009-01-15 Thread Fielder George Dowding
On Wed, Jan 14, 2009 at 12:10 PM, Al Johnson
openm...@mazikeen.demon.co.uk wrote:
 On Wednesday 14 January 2009, john dowd wrote:
 The communication works fine with neocon. Thanks.

 My problem now is that I follow the wiki for setting up the SD to be a
 backup system. I get into the boot loader and add the menu line:

 setenv menu_2 Boot from microSD part2 (ext2+ext2): setenv bootargs
 \${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5
 \${mtdparts}\; mmcinit\; ext2load mmc 1 0x3200 \${sd_image_name}\;
 bootm 0x3200

 Looks right from memory. I tend to keep the kernel on the same partition as
 the rootfs rather than having a separate boot partition as I find it easier
 when managing multiple rootfs partitions, but that's just preference.

 I also check it with the printenv command and then use the saveenv
 to write it to NAND. What happens is that the command returns :


 GTA02v6 # saveenv
 Saving Environment to NAND...
 Erasing Nand...GTA02v6 #

 and when I restart to the boot loader menu, my menu entry is not there.

 Check that you're doing this in the NAND uboot (Pwr then Aux) not the NOR
 uboot (Aux then Pwr). I don't think the NOR one can save its environment, but
 I don't know what the message is if you try, so it could be unrelated.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Greetings John Dowd,

Hmmm... it looks like your name got truncated, or maybe mine got
extended =:-)}}}

I put FDOM on a large ~300MB partition of the microSD card with the
rootfs in /dev/mmcblk0pr and the kernel in /dev/mmcblk0p4/boot/

In order to get it to boot, I put a soft link at the card's root
pointing to the desired kernel (I have two of them in there at the
moment), thusly:

(as root in where /dev/mmcblk0p? is mounted) # ln -s
boot/long-kernel-name.bin uImage.bin

There are still a bunch of things I need to get correct about booting
from the microSD card, but it does boot from just one partition.

Cheerio!
-- 
Fielder George Dowding, KL7FHX
dba Iceworm Enterprises
Debian GNU/Linux Lenny
User Number 269482

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Community update

2009-01-14 Thread Fielder George Dowding
On Tue, Jan 13, 2009 at 9:38 PM, Christ van Willegen
cvwille...@gmail.com wrote:
 Minh,

 On Mon, Jan 12, 2009 at 3:36 PM, Minh Ha Duong hadu...@centre-cired.fr 
 wrote:
 6. Tips and tricks

* Howto get the wrench and QWERTY buttons in 2008.12 with the ASU theme.

 I followed the instructions, but misread the second step. It told me
 to 'put asu in /etc/enlightenment/default_profile'.

 So, I did 'mv asutab /etc/enlightenment/default_profile' and borked
 my default_profile file.

 Could anyone put this file either on the mailing list, or on the Wiki for me?

 Thanks in advance!

 Christ van Willegen
 --
 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

I have been very disappointed with the predictive input method. I have
no trouble using the terminal virtual keyboard with a plastic
stylus, the pointy top of a ball-point pen, or the point of a
sharpened wooden lead pencil. Note: I do have a protective cover over
the touch screen. I have been trying to figure out how to get the
choice to use the terminal virtual keyboard to no avail. The
instructions referred to above require a non-free (shareware) utility
to extract a file (rar archive???). Surely the FreeRunner can be kept
Free and Open.

Note to Christ van Wilegen: my default_profile contains one line:
E_PROFILE=-profile asu with a couple of line-feeds.

I do hope we can have this choice. Cheerio!
-- 
Fielder George Dowding, KL7FHX
dba Iceworm Enterprises
Debian GNU/Linux Lenny
User Number 269482

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: stupid networking question

2009-01-13 Thread Fielder George Dowding
On Tue, Jan 13, 2009 at 6:01 AM, Peter Nijs pe...@familienijs.be wrote:
 Sadly, this doesn't work on my suse (/etc/sysconfig/...) based system.

 depeje

 On Thursday 08 January 2009 12:58:09 Thomas Otterbein wrote:
 FYI:

 On my kubuntu (ubuntu with KDE installed by default) using the KDE
 NetworkManager I followed the advices on
 http://wiki.openmoko.org/wiki/USB_Networking#Debian.2C_Ubuntu_and_others

 but insereted auto usb0 into /etc/network/interfaces as suggested by
 arne. It looks now like that:

   auto lo
   iface lo inet loopback

   # freerunner
   auto usb0
   allow-hotplug usb0
   iface usb0 inet static
   address 192.168.0.200
   netmask 255.255.255.192
   post-up /etc/network/freerunner start
   pre-down /etc/network/freerunner stop

 After a reboot (NetworkManager did not want to play well i.e. did not adopt
 to the changes) I get Device usb0: unmanaged and everything works as
 expected: My FR get's configured by /etc/network/freerunner and my
 (W)LAN-connections a correctly handled by NetworkManager.

 I guess this solution solves the issue for Ubuntu and all it's derivates
 too. Probably for all KDE-Installations as it seems that the key is to make
 the NetworkManager ignore the usb0-Interface.

 Regards
   thomas


Greetings!

I have Debian lenny on a 686 and for the record, I do use the KDE
for my window manager. I doubt KDE has any effect on the kernel level
networking. That said, I am open to learning.

I put this stanza in my /etc/network/interfaces file, to wit:

allow-hotplug usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0

I did not include the auto usb0 because I don't always have my
FreeRunner (gta02, Date Code: 20070731) connected via the USB cable.
Now, then, when I boot the desktop box, arno-iptables-firewall
complains about usb0 not being there yet. Then, when I do boot my
FreeRunner and connect the USB cable, I find I have an interface with
the appropriate address automatically setup for me. Here is the output
of a series of commands, before and after connecting:

BEFORE:

f...@irad:~$ ip link show
1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:11:11:36:c9:b8 brd ff:ff:ff:ff:ff:ff


f...@irad:~$ ip addr show
1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:11:11:36:c9:b8 brd ff:ff:ff:ff:ff:ff
inet 192.168.35.11/24 brd 192.168.35.255 scope global eth0
inet6 fe80::211:11ff:fe36:c9b8/64 scope link
   valid_lft forever preferred_lft forever

AFTER:

f...@irad:~$ ip link show
1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:11:11:36:c9:b8 brd ff:ff:ff:ff:ff:ff
4: usb0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether fa:b5:c2:e2:09:ea brd ff:ff:ff:ff:ff:ff

f...@irad:~$ ip addr show
1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:11:11:36:c9:b8 brd ff:ff:ff:ff:ff:ff
inet 192.168.35.11/24 brd 192.168.35.255 scope global eth0
inet6 fe80::211:11ff:fe36:c9b8/64 scope link
   valid_lft forever preferred_lft forever
4: usb0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether fa:b5:c2:e2:09:ea brd ff:ff:ff:ff:ff:ff
inet 192.168.0.200/24 brd 192.168.0.255 scope global usb0
inet6 fe80::f8b5:c2ff:fee2:9ea/64 scope link
   valid_lft forever preferred_lft forever

I use arno-iptables-firewall to set up my firewall and nat routing
from the usb0 interface through my regular eth0 connection to my local
router and Internet connection. I am delighted that this hotplug
thingy works.

Cheerio!
-- 
Fielder George Dowding, KL7FHX
dba Iceworm Enterprises
Debian GNU/Linux Lenny
User Number 269482

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community