Accelerometers in Kernel 2.6.28-rc4

Andy Green andy at
Wed Feb 4 16:28:52 CET 2009

Hash: SHA1

Somebody in the thread at some point said:
| QI
|> Make sure you have the "rw" in there, and the /boot/append-GTA02 is in
|> the partition with the rootfs.  Try adding a space before the rw in case
|> I mangled it with recent changes.
|> It's a bug I think if the rootfs does not remount root rw.
| the same failed to set owner root for  /var/volatile/cache/
| the same failed to set mode 0755 for  /var/volatile/cache/

Hum meant to be a tmpfs there.  You should be able to mount on one a ro
filesystem AFAIK.

|> You need to escape the ; with backslashes.  Your setenv is only setting
|> the text as far as the first ; as it stands, then taking the nand and
|> bootm as new commands and running them right away.
| I did the following:
| root at X:~# chown uucp.uucp /dev/ttyACM0
| root at X:~# cu -l /dev/ttyACM0
| GTA02v5 #  setenv bootcmd setenv bootargs \${bootargs_base}
| nand read.e 0x32000000 kernel 0x300000\; bootm 0x32000000
| GTA02v5 #  saveenv
| Saving Environment to NAND...
| Erasing Nand...GTA02v5 #
| If I now choose boot from the bootloader it boots fine,
| But after a reboot I have to do the same again it, it doesn't save it.

If you come up in NOR U-Boot it doesn't seem to impact NAND environment,
no idea why but nothing can be done about it now.

So if that's the case try whatever dance of death needed to get a
console on NAND U-Boot and do the same there.

| usb0   Link encap:Ethernet  Hwaddr DA:DF:7E:17:08:9A
|           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
|           RX packets:17 errors:0 dropped:0 overruns:0 frame:0
|           TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
|           Collisions:0 txqueuelen:1000
|           RX bytes:9792 (9.7 KB)  TX bytes:4140 (4.1 KB)

Well there's no IP on usb0.

ifconfig usb0 netmask up

should help with that.

If this is with a kernel with the Ethernet gadget built as a module, I
wonder if there's a race somewhere between inserting the module and
trying to bring up the interface in initscripts.

|> route -n
| Kernel-IP-routingtable
| Dest            Gateway          Genmask         Flags Metric Ref
Use Iface
|> say?  dmesg on the PC side?
| [23821.176092] usb 1-1: new full speed USB device using uhci_hcd and
| 108
| [23821.384140] usb 1-1: configuration #1 chosen from 2 choices
| [23821.392754] usb0: register 'cdc_ether' at usb-0000:00:1a.0-1, CDC
| Device, 9e:08:34:97:d5:f8
| [23834.084104] usb0: no IPv6 routers present

It's pretty happy otherwise.

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -


More information about the community mailing list