Skip to content

Instantly share code, notes, and snippets.

@tuxmartin
Created January 11, 2018 22:43
Show Gist options
  • Save tuxmartin/62f5beb6df29431cb5b58ff383bf71a3 to your computer and use it in GitHub Desktop.
Save tuxmartin/62f5beb6df29431cb5b58ff383bf71a3 to your computer and use it in GitHub Desktop.
alpine arm qemu
wget http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/armhf/alpine-uboot-3.7.0-armhf.tar.gz
tar xzvf alpine-uboot-3.7.0-armhf.tar.gz
mkdir fat
qemu-system-arm -M virt -m 64 -drive file=fat:fat/ -kernel boot/vmlinuz-hardened -initrd boot/initramfs-hardened -append modules=loop,squashfs,sd-mod,usb-storage
[ 2.136533] Key type dns_resolver registered
[ 2.137123] ThumbEE CPU extension supported.
[ 2.137585] Registering SWP/SWPB emulation handler
[ 2.144773] registered taskstats version 1
[ 2.151777] hctosys: unable to open rtc device (rtc0)
[ 2.161548] uart-pl011 9000000.pl011: no DMA platform data
[ 2.178076] Freeing unused kernel memory: 684K
[ 2.178810] This architecture does not have kernel memory protection.
Alpine Init 3.2.0-r0
* Loading boot drivers: [ 3.180020] loop: module loaded
[ 3.190476] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.217883] SCSI subsystem initialized
[ 3.246788] usbcore: registered new interface driver usbfs
[ 3.247580] usbcore: registered new interface driver hub
[ 3.248866] usbcore: registered new device driver usb
[ 3.256913] usbcore: registered new interface driver usb-storage
ok.
* Mounting boot media:
failed.
initramfs emergency recovery shell launched. Type 'exit' to continue boot
sh: can't access tty; job control turned off
/ #
/ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment