[maemo-developers] N800 Power cycles

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue Jun 16 19:19:00 EEST 2009
Hi,

ext Rainer Dorsch wrote:
>> I modified that too
>>
>>         if [ x"$bootreason" = x"charger" ]; then
>>                 echo "Showing the 'charger connected' image"
>>                 /usr/bin/fb-chaimage -l
>> /usr/share/images/qgn_indi_charger_connection_detected -b 0 -c -p 0 -s 15 &
>>         else
>>           text2screen -t "Bootreason: `cat /proc/bootreason`" -H center -y
>> 360 -s 6 -B 0xffff
>>         fi
>>
>> This way I have at least some information when I run in that problem next
>> time.
>>
>> Is there any other debug information which would be useful to print?

maybe statistics from /var/lib/dsme/stats/ files?


>> Is
>> there a way (by changing linuxrc further) to get a lot more information
>> during boot instead of the nice but almost informationfree image?

Using the text2screen utility above?


> I just noticed that I cannot write that file, the fs is mounted readonly:
> 
> /dev/root on /mnt/initfs type jffs2 (ro)
> 
> If I remount it rw
> 
> mount -o remount,rw /mnt/initfs
> 
> to do the change, would that break something?

Initfs may be too full for changes.  You need to remove things first
(e.g. initfs factory test stuff you can "find -name '*test*'").


	- Eero

More information about the maemo-developers mailing list