sady2012
18/03/12, 09:45:51
Hi, guys. Sorry for my basic English.
I have some problem with compiled/compiling kernel for Bq Voltaire - it just not working!
As you may know, about a month ago BQ has made public GPL source code for Bq Voltaire tablet accessible for downloading.
Now the issue:
-------------------------------------
Source code of linux kernel:
www mediafire com/?en5uho61k829f89
Toolchain:
git clone -b froyo git://github.com/android/platform_prebuilt.git prebuilt_froyo
What was made:
Some changes to a Makefile:
CROSS_COMPILE :=/MYPATH/prebuilt_froyo/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-Running compiler script:
./sh_new STM7UHThe result is "kernel.img"
I replaced the original firmware kernel with the new one and all I got is bootloops...
What I am missing?
Other thing.
I'm confused about "mkbootimg" and "ramdisk-boot" files - they are for SDK2.0 ROMs
Take a look into the sh_new script:
Some video driver correcions:
cp drivers/video/logo/STM7UH/logo_stm7uh_clut224.ppm drivers/video/logo/logo_oem_clut224.ppm -f
rm drivers/video/logo/logo_oem_clut224.c
rm drivers/video/logo/logo_oem_clut224.oBq Voltaire .config making:
make STM7UH_defconfig compilation:
make
./mkkrnlimg arch/arm/boot/Image kernel.img.tmp
cat kernel.img.tmp System.map > kernel.imgIt's very close to the result of rkunpack usage:
boot.img
kernel.img
kernel.img-raw
kernel.img-symbol
misc.img
recovery.img
system.img
kernel.img-raw - compiled non-packed kernel (arch/arm/boot/Image)
kernel.img-symbol - symbol table used by the kernel (System.map)
We can make kernel.img with two files:
./mkkrnlimg kernel.img-raw kernel.img-signed
cat kernel.img-signed kernel.img-symbol > kernel.imgSo, kernel.img format is correct, all we need to do is run ./sh_new STM7UH
What am I doing wrong?
arm-eabi-4.4.3 - bootloops
arm-eabi-4.2.1 - can't compile
arm-eabi-4.3.1 - can't compile
arm-eabi-4.4.0 - bootloops
Any suggestions?
I have some problem with compiled/compiling kernel for Bq Voltaire - it just not working!
As you may know, about a month ago BQ has made public GPL source code for Bq Voltaire tablet accessible for downloading.
Now the issue:
-------------------------------------
Source code of linux kernel:
www mediafire com/?en5uho61k829f89
Toolchain:
git clone -b froyo git://github.com/android/platform_prebuilt.git prebuilt_froyo
What was made:
Some changes to a Makefile:
CROSS_COMPILE :=/MYPATH/prebuilt_froyo/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-Running compiler script:
./sh_new STM7UHThe result is "kernel.img"
I replaced the original firmware kernel with the new one and all I got is bootloops...
What I am missing?
Other thing.
I'm confused about "mkbootimg" and "ramdisk-boot" files - they are for SDK2.0 ROMs
Take a look into the sh_new script:
Some video driver correcions:
cp drivers/video/logo/STM7UH/logo_stm7uh_clut224.ppm drivers/video/logo/logo_oem_clut224.ppm -f
rm drivers/video/logo/logo_oem_clut224.c
rm drivers/video/logo/logo_oem_clut224.oBq Voltaire .config making:
make STM7UH_defconfig compilation:
make
./mkkrnlimg arch/arm/boot/Image kernel.img.tmp
cat kernel.img.tmp System.map > kernel.imgIt's very close to the result of rkunpack usage:
boot.img
kernel.img
kernel.img-raw
kernel.img-symbol
misc.img
recovery.img
system.img
kernel.img-raw - compiled non-packed kernel (arch/arm/boot/Image)
kernel.img-symbol - symbol table used by the kernel (System.map)
We can make kernel.img with two files:
./mkkrnlimg kernel.img-raw kernel.img-signed
cat kernel.img-signed kernel.img-symbol > kernel.imgSo, kernel.img format is correct, all we need to do is run ./sh_new STM7UH
What am I doing wrong?
arm-eabi-4.4.3 - bootloops
arm-eabi-4.2.1 - can't compile
arm-eabi-4.3.1 - can't compile
arm-eabi-4.4.0 - bootloops
Any suggestions?