Last active
June 6, 2022 19:17
-
-
Save u-haru/cb1acdb9d683a3a9fb16c6c44b683eb1 to your computer and use it in GitHub Desktop.
QuaStation改造用メモ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ブート用 | |
usb start | |
fatload usb 0 0x01f00000 /android.emmc.dtb | |
fatload usb 0 0x03000000 /emmc.uImage | |
b2ndbc | |
env set bootargs "earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200n8 initrd=0x02200000,0x7F0000 root=PARTUUID="0444ab2b-01" rw rootwait rootfstype=ext4 init=/sbin/init selinux=0 nmi_watchdog=1 devtmpfs.mount=1" | |
booti 0x03000000 - 0x01f00000 | |
─────────────────────────────────────────────────────────── | |
EMMCからメモリへの展開 | |
mmc read 展開先アドレス 展開元アドレスのブロック(アドレス/512) ブロック数(サイズ(byte)/512) | |
mmc read 0x03000000 1512a 4E19 //kernel | |
mmc read 0x01f00000 3181 6e //dtb | |
─────────────────────────────────────────────────────────── | |
EMMCから自動起動 | |
env set bootcmd "mmc read 0x03000000 1512a 9000;mmc read 0x01f00000 3181 6d;env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200n8 initrd=0x02200000,0x7F0000 root=PARTUUID="0444ab2b-01" rw rootwait rootfstype=ext4 init=/sbin/init selinux=0 nmi_watchdog=1 devtmpfs.mount=1;env set bootcmd 'booti 0x03000000 - 0x01f00000';b2ndbc" | |
USBから自動起動 | |
env set bootcmd "usb start;fatload usb 0 0x01f00000 /rtd-1295-giraffe-2gb-tee.dtb;fatload usb 0 0x03000000 /image;env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200n8 initrd=0x02200000,0x7F0000 root=PARTUUID="0444ab2b-01" rw rootwait rootfstype=ext4 init=/sbin/init selinux=0 nmi_watchdog=1 devtmpfs.mount=1;env set bootcmd 'booti 0x03000000 - 0x01f00000';b2ndbc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goru | |
dd if=/dev/zero of=/dev/block/mmcblk0 seek=86314 bs=512 count=30666 //EMMCのカーネル部分のゼロ埋め | |
dd if=/dev/zero of=/dev/block/mmcblk0 seek=6488576 bs=1 count=62714 //EMMCのdtb部分のゼロ埋め | |
dd if=/mnt/usb/Image of=/dev/block/mmcblk0 seek=86314 bs=512 //EMMCへのカーネル書き込み | |
dd if=/mnt/usb/rtd-1295-giraffe-2gb-tee.dtb of=/dev/block/mmcblk0 seek=6488576 bs=1 //EMMCへのdtb書き込み |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.zidoo.tv/Support/downloadList/target/rRwtRFydZ4xKKmVViAFMcQ%3D%3D.html | |
これをUSBに入れてQuaStationのU-boot画面でgoruコマンドを使えば、Zidooのレスキュー用カーネルが使える | |
※emmc.uImageをuImageにリネームする |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment