This Project is based on the Sinovoip BPI-M3-bsp. Since the Sinvoip repo is most of the time broken, I buildt up a repo where everything should work. The intention of this Repo is to build a reliable reverse engineering platform for the PVR-SGX driver.
required packages:
sudo apt-get install build-essential libncurses5-dev
sudo apt-get install gcc-arm-linux-gnueabi u-boot-tools device-tree-compiler
make kernel-menuconfig
make kernel
The BOOT partition should be mounted in this direcectory : /media/${CURRENT_USER}/BPI-BOOT/
and the ROOT Partition should be mounted here: /media/${CURRENT_USER}/BPI-BOOT/
cd scripts
./transfer_sd_card.sh
- Hardfloat issue: This processor should be normaly built with gcc-arm-linux-gnueabihf-
- Needs ubuntu 14.04LTS
- if you change the config somehow, kernel breaks.
- Write function similar to PDUMPMEM
make kernel-menuconfig
- Go to Device Drivers --> Graphics Support --> [] IMGTEC PowerVR SGX GPU Support --> [] Add a special printk for Driver Reverse engineering
- Quit menuconfig and save config
- Build Kernel
- Replace uImage, uEnv.txt, script.bin and sys_config.fex on the boot partition
- Replace the Modules
- Boot your device
- run dmesg or capture bootlog