Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: 2503029332@qq.com on November 23, 2020, 09:13:04 PM

Title: help:About picore12 transplantation
Post by: 2503029332@qq.com on November 23, 2020, 09:13:04 PM
I ported picore12 to A64 and the following problems occurred, how can I solve it?
Starting kernel ...

init started: BusyBox v1.31.1 (2020-11-23 19:03:30 CST)
mount: mounting devpts on /dev/pts failed: No such file or directory
mount: mounting tmpfs on /dev/shm failed: No such file or directory
Booting Core 12.0
Running Linux Kernel 4.19.86-sunxi64.
/etc/init.d/tc-config: line 32: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: nonexistent directory
Checking boot options... Done.
Starting udev daemon for hotplug support.../etc/init.d/tc-config: line 109: /sbin/udevd: not found
/etc/init.d/tc-config: line 111: /sbin/udevadm: not found
/etc/init.d/tc-config: line 112: /sbin/udevadm: not found
Illegal instruction
Title: Re: help:About picore12 transplantation
Post by: 2503029332@qq.com on November 23, 2020, 09:14:14 PM

Starting kernel ...

init started: BusyBox v1.31.1 (2020-11-23 19:03:30 CST)
mount: mounting devpts on /dev/pts failed: No such file or directory
mount: mounting tmpfs on /dev/shm failed: No such file or directory
Booting Core 12.0
Running Linux Kernel 4.19.86-sunxi64.
/etc/init.d/tc-config: line 32: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: nonexistent directory
Checking boot options... Done.
Starting udev daemon for hotplug support.../etc/init.d/tc-config: line 109: /sbin/udevd: Illegal instruction
/etc/init.d/tc-config: line 111: /sbin/udevadm: Illegal instruction
/etc/init.d/tc-config: line 112: /sbin/udevadm: Illegal instruction
Illegal instruction
Title: Re: help:About picore12 transplantation
Post by: Rich on November 23, 2020, 09:58:21 PM
Hi 2503029332@qq.com
... Illegal instruction
That indicates the code is not compatible with your processor.
Title: 回答: 帮助: 关于 picore12 移植
Post by: 2503029332@qq.com on November 23, 2020, 10:03:32 PM
Do I need to modify the lib in picore?
Title: Re: help:About picore12 transplantation
Post by: curaga on November 24, 2020, 03:01:29 AM
Many lines showing your kernel config is not compatible.
Title: Re: 回答: 帮助: 关于 picore12 移植
Post by: Juanito on November 24, 2020, 03:59:46 AM
Do I need to modify the lib in picore?

You need to recompile /sbin/udevadm for your hardware.
Title: Re: help:About picore12 transplantation
Post by: Rich on November 24, 2020, 08:43:19 AM
Hi 2503029332@qq.com
... Running Linux Kernel 4.19.86-sunxi64. ...
Where did that come from? I don't think it's one of our kernels, is it?
It looks like you mixed a kernel from somewhere else with our initrd.

Do I need to modify the lib in picore?

You need to recompile /sbin/udevadm for your hardware.
And  /sbin/udevd,  and possibly other programs contained in the initrd that haven't tried to execute yet.

It's also likely you'll these have issues with extensions. Also, kernel modules won't match the kernel.