Skip to content

Commit

Permalink
initial proof-of-concept of Librem 5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dos1 committed Jun 19, 2020
1 parent 8e10463 commit 1136cdc
Show file tree
Hide file tree
Showing 52 changed files with 11,595 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .gitmodules
@@ -1,7 +1,7 @@
[submodule "src/busybox"]
path = src/busybox
url = git://git.busybox.net/busybox
[submodule "src/linux"]
path = src/linux
url = https://gitlab.com/pine64-org/linux.git
branch = pine64-kernel-5.5.y
#[submodule "src/linux"]
# path = src/linux
# url = https://gitlab.com/pine64-org/linux.git
# branch = pine64-kernel-5.5.y
11 changes: 11 additions & 0 deletions README.md
@@ -1,5 +1,16 @@
# Jumpdrive

## WIP: PoC Librem 5 support

```
make initramfs-purism-librem5.gz
uuu src/purism-librem5.txt
```

Then turn your phone on in USB download mode by pressing power button while holding Vol+ button.

## Original README:

The swiss army knife of Pine64 devices (currently only Pinetab and PinePhone)

You can use this to flash a image **directly to eMMC**, troubleshooting a broken system, and a lot more.
Expand Down
14 changes: 14 additions & 0 deletions initramfs/init
Expand Up @@ -40,6 +40,19 @@ if [ -n "$LED" ]; then
echo $TRIGGER > /sys/class/leds/$LED/trigger
fi

modprobe phy_fsl_imx8mq_usb
modprobe dwc3
modprobe udc_core
modprobe xhci_hcd
modprobe xhci_plat_hcd
modprobe usb_storage
modprobe tps6598x
modprobe usb_f_mass_storage
modprobe libcomposite

# give it some time to initialize
sleep 3

# Create device nodes
echo "Creating device nodes..."
mknod /dev/null c 1 3
Expand All @@ -56,3 +69,4 @@ gzip -c -d splash.ppm.gz > /splash.ppm
fbsplash -s /splash.ppm

loop_forever

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 1136cdc

Please sign in to comment.