Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: nick_dev on August 20, 2022, 06:46:50 AM

Title: how to use qemu run piCore64-13.1
Post by: nick_dev 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!
Title: Re: how to use qemu run piCore64-13.1
Post by: Juanito 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
Title: Re: how to use qemu run piCore64-13.1
Post by: nick_dev on August 21, 2022, 11:19:37 AM
thk,this version is OK,but it is old,any new version?
Title: Re: how to use qemu run piCore64-13.1
Post by: Juanito on August 21, 2022, 12:55:34 PM
Not that I know of, maybe @bmarkus can help?
Title: Re: how to use qemu run piCore64-13.1
Post by: Juanito 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
Title: Re: how to use qemu run piCore64-13.1
Post by: bmarkus on August 22, 2022, 01:12:16 PM
Not that I know of, maybe @bmarkus can help?

64-bit version is not my child