Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: christianix on August 01, 2016, 01:33:33 PM

Title: tce-load gives me "mount: can't setup loop device"
Post by: christianix on August 01, 2016, 01:33:33 PM
I'm running PiCore 7 in Qemu:

Code: [Select]
qemu-system-arm -kernel zImage -cpu arm1176 -m 256 -M versatilepb -no-reboot -initrd 7.0v7.gz -hda hda.img -append "root=/dev/ram0 elevator=deadline rootwait quiet nozswap nortc noswap"

hda.img has a FAT partition with an empty tce folder.

When I try to install "Midnight commander" with:

 
Code: [Select]
tce-load -wi mc
I get the error: mount: can't setup loop device: No such device or address

Any idea wha't going wrong?
Title: Re: tce-load gives me "mount: can't setup loop device"
Post by: bmarkus on August 01, 2016, 02:15:32 PM
Running piCore-7 on Qemu is not supported.


Title: Re: tce-load gives me "mount: can't setup loop device"
Post by: christianix on August 07, 2016, 05:54:09 AM
Indeed, it works with the real image. But it would be nice to have a qemu version (again).
Title: Re: tce-load gives me "mount: can't setup loop device"
Post by: bmarkus on August 07, 2016, 06:23:09 AM
Indeed, it works with the real image. But it would be nice to have a qemu version (again).

Why?

If you really need, you can make your custom kernel. I'm not sure that 4.4.x with Devicetree can be patched for QEMU, most likely you have to go back to an old kernel before Devicetree support.

QEMU patches and guides available on the Internet.