This post has been thanked 2 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
yeah. Were you able to write to block2 and 3 yet ? I will to post a tarball of frx4. I just untared it directly onto block2 once i mounted it.
__________________
|
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
How do we add the modules during the initramfs? I have a general Idea from the Rootfs, but I'm not getting it to work just yet... |
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:
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. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Did you use the partition table, or how did you create partitions? Did you just use the mtdpart stuff and just specify the sizes there? I haven't had a chance to flash yet, but when I get home, I'm gonna go to town on this bad boy
|
This post has been thanked 3 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
just that thing in the command line nothing else. Once that one done i saw the blocks and did a flash_erase /dev/mtdblock2 (and 3). and was able to mount as yaffs2
|
This post has been thanked 4 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:
|
|
|
|