|
![]() |
|
LinkBack | Thread Tools | Display Modes |
|
This post has been thanked 2 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
For me its all done automatically. when i boot the stuff is already there. You will need to study Dzo's code to see how he is doing everything.
__________________
|
This post has been thanked 2 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
Thanks for the HELP NATE! |
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
After playing around with the initramfs I decided to just try the one from the Vogue. So I took the initrd.gz and cooked that into the nbh file.
I then took a androidinstall.tgz file from HERE.... Went though the install process... And it booted on NAND! It looked very different though and as you can imagine nothing really worked. So I then tried to extract the FRX04 system and place that into the androidinstall.tgz file and was able to get it to install but not boot to android. Time to call it a night... I'm sure I'm missing something simple. ![]() |
This post has been thanked 3 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
|
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
I just installed the most recent Vogue from the link you gave me above. How are you guys making your initramfs, I think this is where I'm going wrong? Here is the script that I made... Code:
cd initramfs find . | cpio -o -H newc | gzip > ../initrd.gz cd ../ mv initrd.gz tinboot-linux-msm/kernel/initrd.gz echo rm initrd.gz |
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
Code:
bhe@HP-dv3500-bhe:/tmp/test/initrd-kaiser/initrd/bin$ ls -ali total 2544 549794 drwxr-xr-x 2 bhe bhe 12288 2011-02-04 15:40 . 549793 drwxr-xr-x 4 bhe bhe 4096 2011-02-04 15:40 .. 549796 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 [ -> busybox 549797 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 [[ -> busybox 549798 -rwxr-xr-x 1 bhe bhe 117460 2011-02-04 15:40 adbd 549799 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 addgroup -> busybox 549800 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 adduser -> busybox 549801 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 adjtimex -> busybox 549802 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 ar -> busybox 549803 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 arp -> busybox 549804 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 arping -> busybox 549805 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 ash -> busybox 549806 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 awk -> busybox 549807 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 basename -> busybox 549808 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 bbconfig -> busybox 549809 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 bunzip2 -> busybox 549810 -rwxr-xr-x 1 bhe bhe 1530860 2011-02-04 15:40 busybox 549811 lrwxrwxrwx 1 bhe bhe 7 2011-02-04 15:40 bzcat -> busybox You could download it here as tar.gz to start test building : Tree for initrd-kaiser in android-initrd-kaiser - Gitorious |
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
havent hand time to mess with this at all last night. I passed out in my chair and never work up. Now i gotta get my ass to work.
Nate: bootenv in Tinboot for linux-msm - Gitorious That will be our initird repo. Last edited by [ACL]; 02-03-2011 at 08:54 AM. |
This post has been thanked 4 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
This is great! Thanks ACL! But can you build it? If I run the BuildInitrd script my initrd.gz turns out to be like 250 MB... |
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
Code:
/bin/mount -t yaffs2 /dev/block/mtdblock2 /system /bin/mount -t yaffs2 /dev/block/mtdblock3 /data Code:
losetup /dev/block/loop0 $card/data.img [ $? -eq 0 ] || fail "Failed to find $card/data.img on SD Card" e2fsck -y /dev/block/loop0 mount -t ext2 -o relatime /dev/block/loop0 /data losetup /dev/block/loop1 $card/system.ext2 [ $? -eq 0 ] || fail "Failed to reach system.ext2 on SD Card" e2fsck -y /dev/block/loop1 mount -t ext2 -o relatime /dev/block/loop1 /system Code:
mount --bind /lib/froyo/hw /system/lib/hw mount /data/etc /etc cp -a /system/etc/* /etc cp -ar /init.etc/* /etc/ cp "/init.cfg/init.$RCSCRIPT.rc" /etc/init.rc Code:
if [ -d /sys/devices/platform/msm_sdcc.3 ]; then /bin/sed -i -e 's:/devices/platform/msm_sdcc\.2:/devices/platform/msm_sdcc.3:g' /etc/vold.fstab fi Code:
if [ -e "$card/modules-$(uname -r).tar.gz" ] && ! `strings /data/modules/wlan.ko 2>/dev/null | grep -q "vermagic=$(uname -r)"`; then echo "Installing $card/modules-$(uname -r).tar.gz" if [ ! -d "/data/modules" ] ; then mkdir /data/modules fi tar xzf $card/modules-$(uname -r).tar.gz -C /data/modules ln -s /data/modules /data/modules/`uname -r` else echo "Modules already unpacked for this kernel version -- skipping installation of $card/modules-$(uname -r).tar.gz" fi mount --bind /data/modules /lib/modules mount --bind /data/modules /system/lib/modules cp -R /etc/wifi/* /data/modules/ depmod [ -f /etc/wifi/wlan.ko ] && rm /etc/wifi/wlan.ko sed -i s/^#wifi/wifi/ /tmp/build.prop |
This post has been thanked 4 times. |
![]() |
|
|
|