View Single Post
Old 11-03-2006, 07:56 PM   #10
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
In case no one has seen it, this is what the iLiad's boot looks like from the system log perspective.

[code]Oct 17 02:47:46 ereader syslog.info syslogd started: BusyBox v1.01 (2006.07.31-1
4:32+0000)
Oct 17 02:47:47 ereader daemon.info cardmgr[234]: executing: 'modprobe cf8385 2>
&1'
Oct 17 02:47:47 ereader daemon.info cardmgr[234]: + Using /lib/modules/2.4.19-rm
k7-pxa2-irex1/kernel/drivers/pcmcia/cfio.o
Oct 17 02:47:47 ereader user.warn kernel: Before calling register_pccard_driver
Oct 17 02:47:47 ereader user.warn kernel: After calling register_pccard_driver
Oct 17 02:47:47 ereader daemon.info cardmgr[234]: + Using /lib/modules/2.4.19-rm
k7-pxa2-irex1/kernel/drivers/pcmcia/cf8385.o
Oct 17 02:47:47 ereader user.warn kernel: Entering cf_attach()
Oct 17 02:47:47 ereader user.warn kernel: Before registering the client
Oct 17 02:47:47 ereader user.warn kernel: Resetting WLAN.
Oct 17 02:47:47 ereader user.warn kernel: BasePort1=0xf7000000, AssignedIRQ=68
Oct 17 02:47:48 ereader user.warn kernel: After calling wlan_add_card function
Oct 17 02:47:48 ereader user.warn kernel: Leaving cf_attach()
Oct 17 02:47:50 ereader daemon.info cardmgr[234]: executing: './network start wlan0 2>&1'
Oct 17 02:47:50 ereader daemon.info cardmgr[234]: + Default Config
Oct 17 02:47:50 ereader daemon.info cardmgr[234]: + /sbin/iwconfig wlan0 mode Managed
Oct 17 02:47:51 ereader daemon.info cardmgr[234]: + /sbin/iwconfig wlan0 rate auto
Oct 17 02:47:51 ereader daemon.info cardmgr[234]: + /sbin/iwconfig wlan0 essid "any"
Oct 17 02:47:54 ereader daemon.info cardmgr[234]: + Error for wireless request "Set ESSID" (8B1A) :
Oct 17 02:47:54 ereader daemon.info cardmgr[234]: + SET failed on device wlan0 ; Network is down.
Oct 17 02:47:54 ereader daemon.info cardmgr[234]: + Sample private network setup
Oct 17 02:47:58 ereader user.info kernel: hal_pxa250.c: 1362-hal Initialization Success
Oct 17 02:47:59 ereader user.warn kernel: td_cache = c02f59f0
Oct 17 02:47:59 ereader user.warn kernel: ed_cache = c02f5a60
Oct 17 02:47:59 ereader user.info kernel: usb.c: new USB bus registered, assigned bus number 1
Oct 17 02:47:59 ereader user.info kernel: hub.c: USB hub found
Oct 17 02:47:59 ereader user.info kernel: hub.c: 2 ports detected
Oct 17 02:47:59 ereader user.warn kernel: USB HAL: HC suspend
Oct 17 02:47:59 ereader user.info kernel: usb_phci.c: usb-phci Initialization Success
Oct 17 02:47:59 ereader user.info kernel: SCSI subsystem driver Revision: 1.00
Oct 17 02:47:59 ereader user.info kernel: Initializing USB Mass Storage driver...
Oct 17 02:47:59 ereader user.info kernel: usb.c: registered new driver usb-storage
Oct 17 02:47:59 ereader user.info kernel: USB Mass Storage support registered.
Oct 17 02:48:01 ereader user.warn kernel: VFS: busy inodes on changed media.
Oct 17 02:48:03 ereader user.warn kernel: MMC:Configured GPIO 07 (SDD) as input.
Oct 17 02:48:03 ereader user.warn kernel: MMC:Configured GPIO 73 (SDWP) as input.
Oct 17 02:48:03 ereader user.warn kernel: MMC:Configured GPIO 06 (SDCLK) to alternate function 1.
Oct 17 02:48:03 ereader user.warn kernel: MMC:Configured GPIO 08 (CS) as output.
Oct 17 02:48:03 ereader user.info kernel: mmca1
Oct 17 02:48:03 ereader user.warn kernel: MSDOS FS: IO charset utf8
Oct 17 02:48:04 ereader user.warn kernel: USB HAL: DC suspend
Oct 17 02:48:04 ereader user.info kernel: usb_pdc.c: usb-pdc Initialization Success
Oct 17 02:48:04 ereader user.info kernel: pdc_bus.c: Registered Driver devmscd
Oct 17 02:48:04 ereader user.info kernel: devmscd.c: devmscd Initialization Success
Oct 17 02:48:04 ereader user.err kernel: wlan0 (WE) : Buffer for request SIOCGIW
PRIV too small (16<75)
Oct 17 02:48:04 ereader user.err kernel: wlan0 (WE) : Buffer for request SIOCGIW
PRIV too small (32<75)
Oct 17 02:48:04 ereader user.err kernel: wlan0 (WE) : Buffer for request SIOCGIW
PRIV too small (64<75)
Oct 17 02:48:04 ereader user.warn kernel: Before calling wlan_remove function
Oct 17 02:48:04 ereader user.warn kernel: After calling wlan_remove function
Oct 17 02:48:05 ereader user.notice net.agent[688]: unregister event not handled
Oct 17 02:48:13 ereader user.warn kernel: einkfb: einkfb_ioctl enter[code]

The above log covers the time for the below code in the /home/root/start.sh to execute.

Code:
/sbin/syslogd
export DISPLAY=:0
export LD_LIBRARY_PATH=/usr/lib/mozilla-minimo
export MOZILLA_FIVE_HOME=/usr/lib/mozilla-minimo
export HOME=/home/root
export MBPIXBUF_FORCE_32BPP_INTERNAL=1
/usr/bin/displayMgr -p -w /var/waveform.bin&
/usr/bin/erbusyd &
/usr/bin/Xfbdev -screen 768x1024x8 -3button -dpi 160 -ac &
/usr/bin/matchbox-window-manager -use_titlebar no -use_cursor no &
/usr/bin/pageBar&

# start toolbar and wait till it runs
/usr/bin/matchbox-panel --size 39 --no-menu --bgcolor White --no-session --default-apps mb-applet-icon-container &
app=mb-applet-icon-container
echo "Waiting for $app ..."
rip=10
while [ $rip -gt 0 ]
do
    sleep 1
    n=`ps | awk "BEGIN              { n = 0   }
                 \\$5 == \\"$app\\" { n++     }
                 END                { print n }"`
    if [ $n -eq 0 ]
    then
        rip=$((rip-1))
    else
        rip=0
    fi
    echo -n .
done
echo "... wait done"

/usr/bin/contentLister --sync &
/usr/bin/powerMgr&
modprobe phci
modprobe usb-storage
/etc/init.d/hotplug start
modprobe mscd
msdisk &

# Temporary fix to show the WiFi mac address to the user
if [ ! -e /mnt/free/wlan_mac.txt ]
then
    echo "WiFi card MAC address:" > /mnt/free/wlan_mac.txt
    ifconfig wlan0 | awk '$4 ~ /HWaddr/ { mac = $5; gsub(/:/, "-", mac); print mac }' >> /mnt/free/wlan_mac.txt
fi

/usr/bin/wireless.sh stop
Total time roughly 25 seconds.

Out of that 25 seconds they spend at least 9 seconds powering up and shutting down the WLAN.

I don't know about all of you, but I'd like those 9 seconds back.
scotty1024 is offline   Reply With Quote