WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline nick_dev

  • Newbie
  • *
  • Posts: 2
how to use qemu run piCore64-13.1
« on: August 20, 2022, 06: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!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14850
Re: how to use qemu run piCore64-13.1
« Reply #1 on: August 21, 2022, 08: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, 11:19:37 AM »
thk,this version is OK,but it is old,any new version?

Offline Juanito

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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14850
Re: how to use qemu run piCore64-13.1
« Reply #4 on: August 22, 2022, 09: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, 01:12:16 PM »
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."