webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes
First
...
3 8 9 10 11 12 13
14 15 16 17 18 23
...
Last
Member:
danguy
at: 02:20 AM 06/10/2009
Originally Posted by joshewah:
Heres a file containing a list of every file on the phone incase anyone is interested
Thanks for that, it answered some of my previously posted questions. (for example, the wifi driver is sd8xxx)
EDIT: Based on the firmware, it is the Marvell sd8686. Maybe everyone else already knew that.
Member:
iphony
at: 02:21 AM 06/10/2009
Originally Posted by eekfuh:
/usr/lib/palmos/rom0
That has the actual old school PalmOS rom. Interesting.
that's for motionapps emulator, i believe
Member:
joshewah
at: 02:27 AM 06/10/2009
Heres the kernel threads, has more than what is loaded by module:
[code]
PID TTY STAT TIME COMMAND
2 ? S< 0:00 [kthreadd]
3 ? S< 0:00 \_ [ksoftirqd/0]
4 ? S< 0:00 \_ [watchdog/0]
5 ? S< 0:02 \_ [events/0]
6 ? S< 0:00 \_ [khelper]
98 ? S< 0:00 \_ [kblockd/0]
101 ? S< 0:00 \_ [cqueue/0]
115 ? S< 0:00 \_ [twl4030-irq]
124 ? S< 0:08 \_ [omap2_mcspi]
132 ? S< 0:00 \_ [ksuspend_usbd]
137 ? S< 0:00 \_ [khubd]
142 ? S< 0:00 \_ [kmmcd]
171 ? S 0:00 \_ [pdflush]
172 ? S 0:00 \_ [pdflush]
173 ? S< 0:00 \_ [kswapd0]
174 ? S< 0:00 \_ [aio/0]
175 ? S< 0:00 \_ [cifsoplockd]
176 ? S< 0:00 \_ [cifsdnotifyd]
297 ? S< 0:00 \_ [modem_act]
298 ? S< 0:00 \_ [modem_rmw]
334 ? S< 0:00 \_ [cdc-acm]
335 ? S< 0:00 \_ [gadget_event]
346 ? S< 0:04 \_ [tp_wq]
352 ? S< 0:02 \_ [temt6200_light]
364 ? S< 0:00 \_ [w1_control]
367 ? S< 0:00 \_ [w1_bus_master1]
369 ? S< 0:00 \_ [ksnapd]
370 ? S< 0:00 \_ [kondemand/0]
401 ? S< 0:00 \_ [rpciod/0]
409 ? S< 0:03 \_ [mmcqd]
415 ? S< 0:00 \_ [kjournald]
457 ? S< 0:00 \_ [kjournald]
818 ? S< 0:00 \_ [kjournald]
819 ? S< 0:00 \_ [kjournald]
926 ? S< 0:00 \_ [usb_charger]
927 ? S< 0:00 \_ [file-storage-ga]
1361 ? S< 0:05 \_ [wlan_main_servi]
[/code]
[code]
root@castle:/var/home/root# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 498.07
Features : swp half thumb fastmult vfp edsp
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3
Control reg : 0xc5387f
Aux control reg : 0x42
L1 instruction cache:
features : read-alloc
size : 16 KB
assoc : 4
line length : 64
sets : 64
L1 data cache:
features : write-through write-back read-alloc
size : 16 KB
assoc : 4
line length : 64
sets : 64
L2 unified cache:
features : write-through write-back read-alloc write-alloc
size : 256 KB
assoc : 8
line length : 64
sets : 512
Cache LoC : 2
Cache LoU : 1
Hardware : Sirloin OMAP3430 board
Revision : 34304332
Serial : 0000000000000000
[/code]
[code]
root@castle:/var/home/root# ifconfig -a
bsl0 Link encap:Ethernet HWaddr 00:1D:FE:34:8C:BC
inet addr:10.1.1.10 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:1D:FE:9E:10:74
inet addr:10.5.5.64 Bcast:10.5.5.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18255 errors:0 dropped:0 overruns:0 frame:0
TX packets:6906 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10530604 (10.0 MiB) TX bytes:3038978 (2.8 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1595 errors:0 dropped:0 overruns:0 frame:0
TX packets:1595 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:198938 (194.2 KiB) TX bytes:198938 (194.2 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:[REMOVED MY IP] P-t-P:68.28.121.71 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:194 errors:0 dropped:0 overruns:0 frame:0
TX packets:203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:31322 (30.5 KiB) TX bytes:19206 (18.7 KiB)
[/code]
[code]
root@castle:/var/home/root# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev binfmt_misc
nodev debugfs
nodev sockfs
nodev pipefs
nodev anon_inodefs
nodev futexfs
nodev tmpfs
nodev inotifyfs
nodev devpts
ext3
ext2
nodev ramfs
msdos
vfat
nodev nfs
nodev nfs4
nodev cifs
nodev fuse
fuseblk
nodev fusectl
nodev badfs
nodev rpc_pipefs
nodev gadgetfs
[/code]
Member:
bear24rw
at: 02:30 AM 06/10/2009
Hey are there any jpegs under /var/log/bootchart? Im really curious if it generates a bootchart image
Member:
scm6079
at: 02:30 AM 06/10/2009
Here's the rest of the request:
root@castle:/proc# iwconfig
lo no wireless extensions.
eth0 MRVL-SD8686 ESSID:"nopdesign" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: 00:1E:E5:38:A4:C8
Bit Rate:54 Mb/s Tx-Power=10 dBm
Retry limit:9 RTS thr=2347 B Fragment thr=2346 B
Encryption key:<too big> Security mode

pen
Power Management

n
Link Quality:0/100 Signal level:-59 dBm Noise level:-92 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:64103
Tx excessive retries:247 Invalid misc:953 Missed beacon:0
bsl0 no wireless extensions.
ppp0 no wireless extensions.
root@castle:/proc# ifconfig -a
bsl0 Link encap:Ethernet HWaddr 00:1D:FE:33:CE:CD
inet addr:10.1.1.10 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:1D:FE:9D:52:85
inet addr:10.0.2.119 Bcast:10.0.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:648 errors:0 dropped:0 overruns:0 frame:0
TX packets:265 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:168323 (164.3 KiB) TX bytes:31711 (30.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:724 errors:0 dropped:0 overruns:0 frame:0
TX packets:724 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72322 (70.6 KiB) TX bytes:72322 (70.6 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:99.203.198.9 P-t-P:68.28.57.71 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:140 errors:0 dropped:0 overruns:0 frame:0
TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:37414 (36.5 KiB) TX bytes:17023 (16.6 KiB)
root@castle:/proc# lsmod
Module Size Used by
sd8xxx 184732 1
bridgedriver 187924 1
g_composite 99292 4
dmesg has nothing interesting.
root@castle:/var/log# tail messages
2009-06-10T06:20:27.324920Z [3916] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.mail.transports.eas.EasDownloader$EasDownloaderThread-EAS_Download-59373627900228)
2009-06-10T06:21:01.395538Z [3950] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.mail.transports.eas.EasTransportThread-EAS_Sync-45079976738821) for 900000ms => true
2009-06-10T06:21:01.804992Z [3951] castle user.warning powerd: POWERD-SUSPEND: IdleCheck can't sleep because because an activity is active:
2009-06-10T06:21:01.805206Z [3951] castle user.info powerd: POWERD-SUSPEND: Activities since wake:
2009-06-10T06:21:01.805328Z [3951] castle user.info powerd: POWERD-ACTIVITY: (com.palm.mail.transports.eas.EasTransportThread-EAS_Sync-45079976738821) for 900000 ms, expiry in 899590 ms
2009-06-10T06:21:02.159240Z [3951] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.mail.transports.eas.EasDownloader$EasDownloaderThread-EAS_Download-59373627900229) for 900000ms => true
2009-06-10T06:21:02.381561Z [3951] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.mail.transports.eas.EasTransportThread-EAS_Sync-45079976738821)
2009-06-10T06:21:02.724639Z [3952] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.mail.transports.eas.EasDownloader$EasDownloaderThread-EAS_Download-59373627900229)
2009-06-10T06:22:35.462738Z [4045] castle user.info powerd: BATTERY: (1182.500000mAh, 65%, 68%_ui, 32C, 376mA, 3996mV, authentic)
2009-06-10T06:24:00.463317Z [4130] castle user.info powerd: BATTERY: (1182.500000mAh, 66%, 69%_ui, 32C, 376mA, 4006mV, authentic)
root@castle:/var/log# more sprintd.log
[main: 232]: Launching SprintDaemon
[WanDaemonUpCB: 631]: Wan Daemon down
[WanDaemonUpCB: 626]: Wan Daemon available
And finally - some neat things in the omadm log (I yanked my session ids out in case they are still valid)...
<<<<recv message header
[RDM_COMMS_sendMessage: 1784]: HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
x-syncml-hmac: algorithm=MD5, username="omadm.swupdate.palm.com", mac=jcGAcitOOQQhATF6jPR2ag==
Cache-Control: no-store
Content-Type: application/vnd.syncml.dm+xml
Date: Wed, 10 Jun 2009 03:23:53 GMT
Content-Length: 1366
Connection: close
[RDM_COMMS_recvMessage: 1642]: ===DM session 0 - DM session details 12===
[RDM_COMMS_recvMessage: 1678]:
<<<<recv message
[RDM_COMMS_recvMessage: 1679]: <?xml version="1.0" encoding="UTF-8"?><SyncML xmlns='SYNCML:SYNCML1.2'>
<SyncHdr>
<VerProto>DM/1.2</VerProto>
<SessionID>0</SessionID>
<VerDTD>1.2</VerDTD>
<MsgID>3</MsgID>
<Target>
<LocURI>MEID:A1000006XXXXXXX</LocURI>
</Target>
<Source>
<LocURI>https://ps.palmws.com/palmcsext/swupdateserver;jsessionid=XXXXXXXX?sessiontype=1200</LocURI>
</Source>
<RespURI>https://ps.palmws.com/palmcsext/swupdateserver;jsessionid=XXXXXXX?sessiontype=1200</RespURI>
</SyncHdr>
<SyncBody>
ps.palmws.com:443/palmcsext/swupdateserver ... and many other urls in there.

Would be some fun things to put a sniffer on...
Member:
joshewah
at: 02:33 AM 06/10/2009
/var/log/ doesn't have a bootchart on my phone.
Heres the mount output:
[code]
root@castle:/var/log# mount
rootfs on / type rootfs (rw)
/dev/root on /boot type ext3 (ro,data=ordered)
/dev/mapper/store-root on / type ext3 (ro,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/mapper/store-root on /dev/.static/dev type ext3 (ro,data=ordered)
tmpfs on /dev type tmpfs (rw)
/dev/mapper/store-var on /var type ext3 (rw,noatime,data=ordered)
/dev/mapper/store-log on /var/log type ext3 (rw,noatime,data=ordered)
devpts on /dev/pts type devpts (rw)
tmpfs on /tmp type tmpfs (rw)
tmpfs on /media/ram type tmpfs (rw)
/dev/mapper/store-media on /media/internal type vfat (rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)
none on /dev/gadget type gadgetfs (rw)
extractfs on /var/luna/data/extractfs type fuse.extractfs (rw,nosuid,nodev,user_id=0,group_id=0)
[/code]
and /etc/fstab:
[code]
root@castle:/var/log# cat /etc/fstab
# <filesystem> <mount point> <type> <options> <dump> <pass>
rootfs / ext3 ro,suid,dev,exec,auto,nouser,async,noatime 1 1
/dev/mapper/store-var /var ext3 noatime 0 0
/dev/mapper/store-log /var/log ext3 noatime 0 0
/dev/mapper/store-update /var/lib/update ext3 noauto,noatime 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
tmpfs /tmp tmpfs size=64M,mode=1777 0 0
tmpfs /media/ram tmpfs defaults 0 0
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed 0 0
[/code]
EDIT:
pasted the same thing twice... fixed.
Member:
danguy
at: 02:33 AM 06/10/2009
Originally Posted by bear24rw:
Hey are there any jpegs under /var/log/bootchart? Im really curious if it generates a bootchart image
Based on joshewah's list of files, bootchartd is not running.
Member:
bear24rw
at: 02:35 AM 06/10/2009
Originally Posted by danguy:
Based on joshewah's list of files, bootchartd is not running.
How can you tell?
Member:
iphony
at: 02:35 AM 06/10/2009
Originally Posted by bear24rw:
Hey are there any jpegs under /var/log/bootchart? Im really curious if it generates a bootchart image
bootchart needs to replace the default init, right?
where do we change the kernel command line on Pre?
Member:
danguy
at: 02:40 AM 06/10/2009
Originally Posted by bear24rw:
How can you tell?
bootchartd.conf specifies /tmp/bootchart.tgz as the log file, and that does not exist.
Originally Posted by iphony:
bootchart needs to replace the default init, right?
where do we change the kernel command line on Pre?
/sbin/bootchartd_enable seems to do it for you.
Member:
joshewah
at: 02:43 AM 06/10/2009
I'm not familiar with bootchartd. But theres a set of enable/disable scripts:
[code]
root@castle:/var/log# cat /sbin/bootchart_enable
#!/bin/sh
# Our bootchart assumes that /sbin/upstart exists
if [ ! -x /sbin/upstart ]; then
echo "/sbin/upstart not found"
elif [ ! -x /sbin/bootchartd ]; then
echo "/sbin/bootchartd not found"
else
if [ ! -f /sbin/old_init ]; then
mv /sbin/init /sbin/old_init || exit 1
fi
cp -a /sbin/bootchartd /sbin/init || exit 1
mkdir -p /bootchart || exit 1
sync
echo "bootchart installed"
fi
[/code]
Member:
bear24rw
at: 02:45 AM 06/10/2009
Originally Posted by danguy:
bootchartd.conf specifies /tmp/bootchart.tgz as the log file, and that does not exist.
/sbin/bootchartd_enable seems to do it for you.
Ah I wish I had a pre there are so many things to try! Gotta wait for verizon to get it
Member:
danguy
at: 02:46 AM 06/10/2009
Originally Posted by bear24rw:
Ah I wish I had a pre there are so many things to try! Gotta wait for verizon to get it 
I'm waiting for Bell Canada. It should be interesting to see who waits longer
Member:
iphony
at: 02:47 AM 06/10/2009
Originally Posted by joshewah:
I'm not familiar with bootchartd. But theres a set of enable/disable scripts:
[code]
root@castle:/var/log# cat /sbin/bootchart_enable
#!/bin/sh
# Our bootchart assumes that /sbin/upstart exists
if [ ! -x /sbin/upstart ]; then
echo "/sbin/upstart not found"
elif [ ! -x /sbin/bootchartd ]; then
echo "/sbin/bootchartd not found"
else
if [ ! -f /sbin/old_init ]; then
mv /sbin/init /sbin/old_init || exit 1
fi
cp -a /sbin/bootchartd /sbin/init || exit 1
mkdir -p /bootchart || exit 1
sync
echo "bootchart installed"
fi
[/code]
interesting, it make a copy of init and replace it. But since no write access to root, so we can't enable it.
Member:
bear24rw
at: 02:47 AM 06/10/2009
Originally Posted by danguy:
I'm waiting for Bell Canada. It should be interesting to see who waits longer 
Ha, do you have any idea on a release date? I think verizon is 6 months?
EDIT: has anyone found the kernel boot line? I looked through /boot and didnt see anything..
EDIT: you also need to set AUTO_RENDER to yes in
\etc\bootchartd.conf
Member:
iphony
at: 02:53 AM 06/10/2009
bootchart_enable simply doesn't work because of the readonly filesystem
Member:
atlanta
at: 02:54 AM 06/10/2009
oOHHHHHHHHHHHH man its 2am here now but i will definitely having some phone with this and the pre later 2mro
Member:
bear24rw
at: 02:56 AM 06/10/2009
Originally Posted by iphony:
bootchart_enable simply doesn't work because of the readonly filesystem
has anyone tried running
\etc\init.d\checkroot.sh
it talks about mounted rootfs as rw
Member:
Gup
at: 02:57 AM 06/10/2009
What's in this file:
/boot/realroot
???
Member:
joshewah
at: 02:58 AM 06/10/2009
Saw this:
[code]
Package bootloader (1.0.0-145.2.5) is installed on root and has the following files:
/boot/boot.bin
/usr/share/bootie/castle.xml
/boot/bootheader
[/code]
Which leads to this:
[code]
root@castle:/boot# cat /usr/share/bootie/castle.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Installer Rules for Castle Hardware -->
<TrenchCoat>
<CPU type="OMAP34xx"/>
<Flash type="mmc" alignment="524288" device="/dev/mmcblk0">
<Entry type="space" size="512" align="false" reformat="false"/>
<Entry type="bootloader" size="192KB" file="/boot/boot.bin"/>
<Entry type="space" size="*" reformat="false"/>
</Flash>
</TrenchCoat>
[/code]
First
...
3 8 9 10 11 12 13
14 15 16 17 18 23
...
Last
webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes