Hi, here is a small patch for the install.sh script to support the Qi bootloader.
greets Michael --- install.org.sh 2008-12-01 19:51:02.000000000 +0100 +++ install.sh 2008-12-02 18:23:32.000000000 +0100 @@ -36,6 +36,8 @@ DASH_BINSH=${DASH_BINSH:-true} FSO_MIRROR=${FSO_MIRROR:-http://pkg-fso.alioth.debian.org/debian} FSO_DEVICE=${FSO_DEVICE:-gta02} +QI=${QI:-false} +QI_VERBOSE_BOOT=${QI_VERBOSE_BOOT:-false} ### sanity check until the GTA01 installer will be merged if [ "${FSO_DEVICE}" != gta02 ]; then @@ -154,6 +156,10 @@ http://pkg-fso.alioth.debian.org/debian) FSO_DEVICE the device the installation is being performed on (default to gta02, possible value is gta02 only) + QI if you use Qi bootloader set this to true + (default to false) + QI_VERBOSE_BOOT set this to true if you want to see the kernel messages + do this only when QI=true (default to false) Stages: @@ -638,6 +644,18 @@ apt-get clean __END_CHROOT__ echo "I: Kernel installed" + +if [ "$QI" = "true" ]; then + echo "Prepare system for booting with Qi" + mkdir $INST_DIR/boot/boot + ( cd $INST_DIR/boot/boot && ln -s ../uImage.bin uImage-GTA02.bin ) + + if [ "$QI_VERBOSE_BOOT" = "true" ]; then + echo "root=${SD_DEVICE}p2 console=tty0 loglevel=8" >$INST_DIR/boot/boot/append-GTA02 + else + echo "root=${SD_DEVICE}p2" >$INST_DIR/boot/boot/append-GTA02 + fi +fi ;; _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland