Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started 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
-
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
-
Hi 2503029332@qq.com
... Illegal instruction
That indicates the code is not compatible with your processor.
-
Do I need to modify the lib in picore?
-
Many lines showing your kernel config is not compatible.
-
Do I need to modify the lib in picore?
You need to recompile /sbin/udevadm for your hardware.
-
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.