mirror of
https://github.com/dreemurrs-embedded/Jumpdrive.git
synced 2024-11-16 14:10:06 +00:00
Adjust the librem5's uuu script to use paths in current dir
Everything will be at the repo root
This commit is contained in:
parent
9a783249ac
commit
76bd694b6c
11
Makefile
11
Makefile
@ -214,19 +214,28 @@ src/busybox:
|
||||
.PHONY: clean cleanfast purism-librem5
|
||||
|
||||
purism-librem5: initramfs-purism-librem5.gz kernel-librem5.gz u-boot-librem5.bin src/purism-librem5.txt dtbs/librem5/imx8mq-librem5-r2.dtb
|
||||
@echo 'All done! Switch your phone into flashing mode and run Jumpdrive with `uuu src/purism-librem5.txt`'
|
||||
cp src/boot-purism-librem5.sh boot-purism-librem5.sh
|
||||
cp src/purism-librem5.txt purism-librem5.lst
|
||||
@echo 'All done! Switch your phone into flashing mode and run Jumpdrive with `./boot-purism-librem5.sh`'
|
||||
|
||||
purism-librem5.tar.xz: purism-librem5
|
||||
@echo "XZ librem5 files"
|
||||
@tar cJf $@ initramfs-purism-librem5.gz kernel-librem5.gz u-boot-librem5.bin purism-librem5.lst dtbs/librem5/imx8mq-librem5-r2.dtb boot-purism-librem5.sh
|
||||
|
||||
cleanfast:
|
||||
@rm -rvf build
|
||||
@rm -rvf initramfs-*/
|
||||
@rm -vf *.img
|
||||
@rm -vf *.img.xz
|
||||
@rm -vf *.tar.xz
|
||||
@rm -vf *.apk
|
||||
@rm -vf *.bin
|
||||
@rm -vf *.cpio
|
||||
@rm -vf *.gz
|
||||
@rm -vf *.scr
|
||||
@rm -vf splash/*.gz
|
||||
@rm -vf *.lst
|
||||
@rm -vf boot-purism-librem5.sh
|
||||
|
||||
clean: cleanfast
|
||||
@rm -vf kernel*.gz
|
||||
|
@ -2,26 +2,26 @@ uuu_version 1.0.1
|
||||
CFG: FB: -vid 0x316d -pid 0x4c05
|
||||
CFG: SDP: -chip MX8MQ -compatible MX8MQ -vid 0x316d -pid 0x4c05
|
||||
|
||||
SDP: boot -f ../u-boot-librem5.bin
|
||||
SDP: boot -f u-boot-librem5.bin
|
||||
SDPU: delay 1000
|
||||
SDPU: write -f ../u-boot-librem5.bin -offset 0x57c00
|
||||
SDPU: write -f u-boot-librem5.bin -offset 0x57c00
|
||||
SDPU: jump
|
||||
|
||||
SDPV: delay 1000
|
||||
SDPV: write -f ../u-boot-librem5.bin -skipspl
|
||||
SDPV: write -f u-boot-librem5.bin -skipspl
|
||||
SDPV: jump
|
||||
|
||||
SDPS: boot -f ../u-boot-librem5.bin
|
||||
SDPS: boot -f u-boot-librem5.bin
|
||||
SDPS: delay 1000
|
||||
|
||||
FB: ucmd setenv bootargs console=tty0 quiet loglevel=0 vt.global_cursor_default=0
|
||||
|
||||
FB: ucmd setenv fastboot_buffer 0x40000000
|
||||
FB: download -f ../kernel-librem5.gz
|
||||
FB: download -f kernel-librem5.gz
|
||||
FB: ucmd setenv fastboot_buffer 0x44000000
|
||||
FB: download -f ../dtbs/librem5/imx8mq-librem5-r2.dtb
|
||||
FB: download -f dtbs/librem5/imx8mq-librem5-r2.dtb
|
||||
FB: ucmd setenv fastboot_buffer 0x44800000
|
||||
FB: download -f ../initramfs-purism-librem5.gz
|
||||
FB: download -f initramfs-purism-librem5.gz
|
||||
|
||||
FB: ucmd unzip 0x40000000 0x41000000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user