Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save den-vasyliev/6441f091cc00f32ca10c0f6ee4c81945 to your computer and use it in GitHub Desktop.
Save den-vasyliev/6441f091cc00f32ca10c0f6ee4c81945 to your computer and use it in GitHub Desktop.
Download image
#file ../hypriotos-rpi-v1.12.3.img
../hypriotos-rpi-v1.12.3.img: DOS/MBR boot sector; partition 1 : ID=0xc, start-CHS (0x0,32,33), end-CHS (0x8,73,1), startsector 2048, 131072 sectors; partition 2 : ID=0x83, start-CHS (0x8,73,2), end-CHS (0x15,21,16), startsector 133120, 4061184 sectors
../my-disk2.image: DOS/MBR boot sector; partition 1 : ID=0xc, start-CHS (0x0,32,33), end-CHS (0x8,73,1), startsector 2048, 131072 sectors; partition 2 : ID=0x83, start-CHS (0x8,73,2), end-CHS (0x15,21,16), startsector 133120, 4061184 sectors
#od -A n -X -j 440 -N 4 ../hypriotos-rpi-v1.12.3.img
f40d5520
# MOUNT image
# COPY kernel8.img bcm2710-rpi-3-b.dtb from ../hypriotos-rpi-v1.12.3.img
# RUN
#qemu-system-aarch64 \
-M raspi3b -accel tcg,tb-size=256\
-cpu cortex-a72 \
-m 1024 \
-dtb bcm2710-rpi-3-b.dtb \
-kernel ../kernel8.img \
-no-reboot \
-hda ../hypriotos-rpi-v1.12.3.img \
-append 'dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=ff40d5520-02 rootfstype=ext4 cgroup_enable=cpuset cgroup_enable=memory elevator=deadline fsck.repair=yes rootwait'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment