Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (cloned pmbootstrap earlier)
- pmbootstrap zap
- pmbootstrap init
- pmbootstrap initfs hook_add debug-shell
- pmbootstrap export
- (cloned linux-next earlier)
- (added device branch earlier)
- (tried out envkernel.sh earlier, works fine)
- (already added dts files to linux-next and commited)
- (I didn't change the model and compatible strings
- since the dts works anyways on the FrankenKernel)
- (I want to see what happens with the current dts, not the minimal one)
- (modified makefile earlier)
- //while in Linux directory
- source ../pmbootstrap/helpers/envkernel.sh
- make qcom_defconfig
- (I compiled the kernel earlier and I'm sadly impatient)
- pmbootstrap chroot -- apk add abootimg android-tools mkbootimg dtbtool
- NOTE: "WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory"
- export DEVICE="$(pmbootstrap config device)"
- export WORK="$(pmbootstrap config work)"
- export TEMP="$WORK/chroot_native/tmp/mainline/"
- mkdir -p "$TEMP"
- cd .output/arch/arm/boot/
- cat zImage dts/qcom-msm7227a-samsung-kylessopen.dtb > ../../../../.zImage-dtb
- cd ../../../../
- cp .zImage-dtb "$TEMP"/zImage-dtb
- cp "/tmp/postmarketOS-export/boot.img-samsung-kylessopen" "$TEMP/boot.img"
- pmbootstrap chroot
- abootimg -u /tmp/mainline/boot.img -k /tmp/mainline/zImage-dtb
- (the above complained about boot image size)
- abootimg -u /tmp/mainline/boot.img -k /tmp/mainline/zImage-dtb -c "bootsize=12582912" //It seemed like a reasonable number
- exit
- //I put the device in flash mode and connected it
- pmbootstrap flasher flash_kernel
- ---
- sudo dhcpcd enp0s29u1u2u3 --nohook ipv6
- telnet 172.16.42.1
- uname -a
- Linux (none) 3.0.101-FrankenKernel #4-postmarketOS PREEMPT Sat Dec 1 18:29:44 UTC 2018 armv7l Linux
- :(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement