Building for a non-supported device, building for kernel 5.4.
Compiles out until I get the error:
/home/grommish/openwrt/staging_dir/host/bin/patch-cmdline /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/linux-octeon/tmp/openwrt-octeon-itus-initramfs-kernel.bin 'console=ttyS0,115200'
search space used is default of 16KB
Command line marker not found!
make[5]: *** [Makefile:61: /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/linux-octeon/tmp/openwrt-octeon-itus-initramfs-kernel.bin] Error 255
In target/linux/octeon/image/Makefile
I have the following:
ITUS_CMDLINE:=console=ttyS0,115200
define Device/itus
CPU_TYPE := octeon3
DEVICE_VENDOR := Itus Networks
DEVICE_MODEL := Shield
BOARD_NAME := itus
CMDLINE := $(ITUS_CMDLINE)
endef
TARGET_DEVICES += itus
I built out a kernel 4.19 build, when I do a cat /proc/cmdline
it returns
bootoctlinux 0x20000000 numcores=2 serial#=752011191521-36409 console=ttyS0,115200
Now, on the 4.19 build, I used the same device define as above WITHOUT the CMDLINE
argument (I only added that once I started working through the error).
I'm obviously missing something simple, what did I miss?