Skip to content

Build scripts for making a pppwn alpine linux install using luckfox's sdk

Notifications You must be signed in to change notification settings

leo82309/pppwn-luckfox-alpine-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pppwn-luckfox-alpine-linux

Build scripts for making a pppwn alpine linux install using luckfox's sdk

This repo is based off of 0x1iii1ii's early luckfox work and walker2048's alpine linux guide for the luckfox pico line of computers. Also thanks to thefl0w's work on the pppwn exploit and lastly xfangfang for their c++ port of pppwn.

Install Dependencies

Required:

Building an Alpine-Linux custom-rootfs

clone this repo to your home folder

git clone https://github.com/leo82309/pppwn-luckfox-alpine-linux.git

Using docker, allow qemu to emulate arm7.

docker run --rm --privileged multiarch/qemu-user-static --reset --persistent yes

Create a new rootfs folder in the pppwn-luckfox-alpine-linux folder.

mkdir ~/pppwn-luckfox-alpine-linux/rootfs

Setup an alpine linux arm7 docker using the following command.

docker run -it --name armv7alpine --platform linux/arm/v7 --net=host -v ~/pppwn-luckfox-alpine-linux/rootfs:/rootfs -v ~/pppwn-luckfox-alpine-linux/pppwn:/pppwn arm32v7/alpine

Using the docker shell input.

chmod +x /pppwn/alpine_install_system.sh
./pppwn/alpine_install_system.sh

Type in the desired ps4 firmware and confirm then run

./pppwn/alpine_package_system.sh
exit

Copy the alpine linux custom rootfs to the luckfox-pico sdk

mkdir ~/luckfox-pico/sysdrv/custom_rootfs
cp ~/pppwn-luckfox-alpine-linux/rootfs/alpine.tar.gz ~/luckfox-pico/sysdrv/custom_rootfs

Copy over my modified files for the sdk

cp -r ~/pppwn-luckfox-alpine-linux/luckfox-pico/* ~/luckfox-pico

Build the image for your luckfox pico device (Only setup for device [3]RV1103_Luckfox_Pico_Plus & [4]RV1106_Luckfox_Pro_Max).

cd ~/luckfox-pico/
./build.sh all

Your compiled firmware will be in ~/luckfox-pico/output/image

About

Build scripts for making a pppwn alpine linux install using luckfox's sdk

Resources

Stars

Watchers

Forks

Packages

No packages published