|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
Code:
LAYOUT=`/bin/grep ".*0*" /sys/class/htc_hw/machine_variant` if [ -e $card/tilt2.kb ] ; then echo "USING EXPERIMENTAL TILT2 LAYOUT" cp -f /init.etc/keymaps/tilt2_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/tilt2_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/tilt2_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ -e $card/rhod210.kb ] ; then echo "USING EXPERIMENTAL RHOD210 LAYOUT" cp -f /init.etc/keymaps/rhod210_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod210_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod210_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ -e $card/rhod400.kb ] ; then echo "USING EXPERIMENTAL RHOD400 LAYOUT" cp -f /init.etc/keymaps/rhod400_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod400_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod400_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example elif [ -e $card/rhod500.kb ] ; then echo "USING EXPERIMENTAL RHOD500 LAYOUT" cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod500_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example elif [ -e $card/rhod100_de.kb] ; then echo "USING RHOD100 DE LAYOUT" cp -f /init.etc/keymaps/rhod100_de_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod100_de_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod100_de_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ -e $card/rhod100_fr.kb] ; then echo "USING RHOD100 FR LAYOUT" cp -f /init.etc/keymaps/rhod100_fr_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod100_fr_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod100_fr_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ -e $card/rhod100_it.kb] ; then echo "USING RHOD100 IT LAYOUT" cp -f /init.etc/keymaps/rhod100_it_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod100_it_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod100_it_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ -e $card/rhod100_uk.kb] ; then echo "USING RHOD100 UK LAYOUT" cp -f /init.etc/keymaps/rhod100_uk_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod100_uk_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod100_uk_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ -e $card/rhod100_nordic.kb] ; then echo "USING RHOD100 NORDIC LAYOUT" cp -f /init.etc/keymaps/rhod100_nordic_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod100_nordic_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod100_nordic_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ $LAYOUT = "TILT2000" ] ; then echo "USING EXPERIMENTAL TILT2 LAYOUT" cp -f /init.etc/keymaps/tilt2_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/tilt2_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/tilt2_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ $LAYOUT = "RHOD21000" ] ; then echo "USING EXPERIMENTAL RHOD210 LAYOUT" cp -f /init.etc/keymaps/rhod210_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod210_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod210_navi_pad.kl /etc/keymaps/raph_navi_pad.kl elif [ $LAYOUT = "RHOD40000" ] ; then echo "USING EXPERIMENTAL RHOD400 LAYOUT" cp -f /init.etc/keymaps/rhod400_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod400_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod400_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example elif [ $LAYOUT = "RHOD50000" ] ; then echo "USING EXPERIMENTAL RHOD500 LAYOUT" cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod500_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example else echo "DEFAULTING TO RHOD500 LAYOUT BECAUSE WE CAN'T DETERMINE YOUR MODEL TYPE AND NO .KB FILE EXISTS IN ANDBOOT FOLDER ON THE SD CARD!" cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin cp -f /init.etc/keymaps/rhod500_navi_pad.kl /etc/keymaps/raph_navi_pad.kl #does not exist, just following example fi Last edited by natemcnutty; 12-25-2010 at 07:52 PM. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Thanks for the keymap info nate although I want to load the keymaps before loading the root fs so the the keyboards are avail at the init terminal prompt. I think I have that all worked out now. The link attached does not boot into android but is more to show that I do have all of the drivers embedded into the kernel so we have done away with the external modules. I have left the ability to load external modules intact if for some reason someone wanted to. The link I am posting is to the nbh file. Make sure you have you original nbh file to flash back to after testing. You'll notice when booting that all the drivers are initialized during the boot. I am now working on completely re-witting the tinboot, which is the last step before we are completely booting from the nand. The I will re-write the init for the root fs. I have already rewritten the initrd init as you will notice from this test and it is ready to access the rootfs from the nand. I have a heavy workload today so I probably won't get much done with this today but I am still projecting by Friday I will be done.
- - Download RHODIMG.NBH, upload your files and earn money. |
This post has been thanked 3 times. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
|
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
That's awesome Mr. Green! i hear ya on that workload stuff. Got the day off finally however, n tryin to see what i can't test out n try help with. Great work on this man, you're really making peoples dreams come true as well your own I'm sure. haha
can we get an update on any progress acl? still going somewhat smoothly? Booting mods n kernel 01224 right now.... update: Running really well. For some reason, something i am adding i think is not allowing livewallpapers. silly. But everything else running as it should at this point update: seems sometimes if i just let the 2min auto panel off go, it will come back on more reliably then actually hitting the end button to turn screen off.... update: How's thangs Mr. Green? get anything in over the last 4days, or stuff that rough for ya lately?? how was the new year's for ya? Last edited by MassStash; 01-01-2011 at 09:55 PM. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Took on five new projects that are demanding a lot of my time. As soon as I can get back to this I will.
|
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
ah f*ck. looks like things are gonna be stagnant... haha
Last edited by MassStash; 01-03-2011 at 11:58 AM. |
|
||||
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin
Quote:
Code:
mtdparts=msm_nand:0x00300000@0x1600000(boot),0x00040000@0x01900000(root),0x066C0000@0x01940000(system),0x08000000@0x08000000(userdata) Last edited by natemcnutty; 01-04-2011 at 09:42 PM. |
|
|
|