maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] Maemo5 running 32GB eMMC root FS (scripts) (https://talk.maemo.org/showthread.php?t=59374)

pali 2011-04-15 17:27

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Quote:

Originally Posted by Radicalz38 (Post 989201)
@pali
your script copies boot.sh on /home/maemo5/boot.sh(if checked on NAND) and not in /home/boot.sh

Boot script must be on root of eMMC partition. I had a bug in install script M32GBboot.sh. Now it is fixed in my bzr branch.

Radicalz38 2011-04-15 18:04

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Thanks pali for the update! I hope it would work now... And regarding my problem with INT_CARD being mmcblk1p2 shown on bootmenu is it normal? Is it just some bug or I am having irregular issues?

pali 2011-04-15 19:22

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Problem with INT_CARD is not normal (it is internal eMMC card). But value in bootmenu is taken from sysfs - kernel (not udev). Try use default stock nokia kernel if this happen too.

And for my install scripts. I did not tested it yet, so maybe there will be other problem. Please write if now works.

Radicalz38 2011-04-16 01:43

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Hi pali! Still the same I still get stuck at starting boot.sh and when i checked /mnt/new_root I can't find anything inside where if I check boot.sh once it is executed it should create a folder named maemo5/home/user right? So I'm guessing it is still not executed. :(

Radicalz38 2011-04-16 01:54

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
And btw I use stock kernel since I tried reformatting and retrying again. So meaning I'm currently testing it with a fresh system. Nothing installed except bootmenu-n900 to boot the script. Also I tried changing INT_CARD to EXT_CARD on item file and see if it works but both failed.

pali 2011-04-16 02:02

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Use this "verbose" boot.sh script (copy it to /home/boot.sh) and post what it writing on screen.
Code:

#!/bin/sh
/usr/bin/text2screen -s 2 -H center -y 20 -T 0 -t "Starting boot.sh"
cd /
exec /bin/sh -c "`tail -n +4 $0`"
/usr/bin/text2screen -s 2 -H center -y 40 -T 0 -t "Tail boot.sh"
cd /mnt/new_root
mkdir -p maemo5/home/user
mount -t none -o bind user maemo5/home/user
mount -t none -o bind maemo5 .
cd .
/usr/bin/text2screen -s 2 -H center -y 60 -T 0 -t "Mount done"
umount /dev/pts
umount /sys
umount /tmp
umount /proc
rm -f /proc/mounts
/usr/bin/text2screen -s 2 -H center -y 80 -T 0 -t "Umount done"
mkdir -p mnt/initfs
pivot_root . mnt/initfs
/usr/bin/text2screen -s 2 -H center -y 100 -T 0 -t "Pivot_root done"
mount -t none -o move /mnt/initfs/mnt/new_root/maemo5/home/user /home/user
#umount /mnt/initfs/mnt/new_root
/sbin/fiasco-do-update
/usr/bin/text2screen -s 2 -H center -y 100 -T 0 -t "Fiasco-do-update done"
exec /usr/sbin/chroot . /sbin/init $def_runlevel <dev/console >dev/console 2>&1
/usr/bin/text2screen -s 2 -H center -y 120 -T 0 -t "Chroot failed"
sleep 10


Radicalz38 2011-04-16 02:05

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Thanks! will give feedback in a few minutes

Radicalz38 2011-04-16 02:19

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Ok so now I know boot.sh is never executed by bootmenu. It never showed any messages at all. It still only shows "starting boot.sh from immc2 (mmcblk0p2 ext3)" even by using the verbose one or the original one.(and yes I did chmod it)
Tried both INT_CARD and EXT_CARD just to make sure but both failed. Tried also specifying boot.sh on item file to absolute path like /home/boot.sh or /boot.sh but still failed :(

pali 2011-04-16 03:28

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Update bootmenu package to version 1.10.1 and try again.

Radicalz38 2011-04-16 03:34

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Ok will do and give feedback again in a few minutes. :( looks like I'm giving pali much more trouble


All times are GMT. The time now is 22:24.

vBulletin® Version 3.8.8