WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to use qemu run piCore64-13.1  (Read 1405 times)

Offline nick_dev

  • Newbie
  • *
  • Posts: 2
how to use qemu run piCore64-13.1
« on: August 20, 2022, 03:46:50 AM »
I'm newer about piCore。i want use qemu run piCore64-13.1
my param is:
Code: [Select]
qemu-system-aarch64 -M raspi3b -m 1024 -dtb bcm2710-rpi-3-b.dtb -drive "file=piCore64-13.1.img,if=none,index=0,media=disk,format=raw,id=disk0" -kernel kernel51077v8.img -append 'root=/dev/vda2' -no-reboot -net "user,hostfwd=tcp::5022-:22" -serial stdio -usb -device usb-kbd

i can't see any output,can anyone help me,thanks!

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: how to use qemu run piCore64-13.1
« Reply #1 on: August 21, 2022, 05:36:24 AM »
I seem to recall that you need a modified version of piCore.

See: http://forum.tinycorelinux.net/index.php/topic,14080.0.html

Offline nick_dev

  • Newbie
  • *
  • Posts: 2
Re: how to use qemu run piCore64-13.1
« Reply #2 on: August 21, 2022, 08:19:37 AM »
thk,this version is OK,but it is old,any new version?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: how to use qemu run piCore64-13.1
« Reply #3 on: August 21, 2022, 09:55:34 AM »
Not that I know of, maybe @bmarkus can help?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: how to use qemu run piCore64-13.1
« Reply #4 on: August 22, 2022, 06:21:44 AM »
This sort of works (tested using qemu-arm on piCore64):
Code: [Select]
QEMU_AUDIO_DRV=none qemu-system-arm -M raspi2b -m 1G -kernel \
                  kernel4922v7.img -initrd 9.0.3v7.gz -append "elevator=deadline \
                  rootwait quiet nortc nozswap dwc_otg.lpm_enable=0 \
                  root=/dev/ram0" -dtb bcm2709-rpi-2-b.dtb -serial stdio \
                  -sd piCore.img

..where you need to extract kernel4922v7.img, 9.0.3v7.gz and bcm2709-rpi-2-b.dtb

I guess it would work with later versions

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: how to use qemu run piCore64-13.1
« Reply #5 on: August 22, 2022, 10:12:16 AM »
Not that I know of, maybe @bmarkus can help?

64-bit version is not my child
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."