Open dorfil opened 1 year ago
This is sunxi code.
disable SUNXI and other nonrelated platforms and try again:
# CONFIG_ARCH_SUNXI is not set
Thanks! I disable that and the kernel builds.
But it gets stucked when booting, after uboot prints "Starting kernel..." nothing else is displayed on console.
I'm using the same kernel command line I used when booting kernel 4:
rw init=/sbin/init rootwait console=tty1 console=ttyS2,1500000n8 rootfstype=ext4 root=/dev/mmcblk2p10
Tried to enable earlyprintk but didn't help.
Any ideas?
Thanks again
But it gets stucked when booting, after uboot prints "Starting kernel..." nothing else is displayed on console.
Typical message when you have the wrong kernel config for your board OR the wrong dtb. You could ask someone for a good kernel config for your board. or get it from some build system like Armbian, buildroot, etc.
@dorfil maybe console device is wrong. I have ttyFIQ0 on my RK3568 board, not ttyS*
comment this section on your dtb
fiq-debugger {
...
};
and modify bootargs and stdout-path like below
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff130000 rw root=/dev/mmcblk0p4 rootfstype=ext4 rootwait";
stdout-path = "serial2:1500000n8";
};
after that I modified what yocto defines as
-SERIAL_CONSOLES = "1500000;ttyFIQ0"
+SERIAL_CONSOLES = "1500000;ttyS2"
in this manner everything is coherent and works
Hi!
I'm trying to build develop-5.10 for a rk3328 board, using the defconfig located in arch/arm64/configs/defconfig.
The build throw this error:
When searching in the code, it seems the function
clk_hw_can_set_rate_parent
is not defined anywhere...Any hints on what is going on?
Thanks