Kernel v6 for RTL8380


I have a Netgear GS-308T and have been able to run OpenWRT just fine.

Just for fun I'm trying to compile vanilla kernel v6 and make it boot. However when I try do so I see nothing coming out on the console.

I am using the openwrt toolchain, the "arch/mips/generic" kernel config, and the u-boot bootargs is: 'console=ttyS0,115200n8 earlycon=uart,mmio,0x18002000'

The output I get on the console is:

RTL838x# bootm
## Booting kernel from Legacy Image at 81000000 ...
   Version:      MIPS OpenWrt Linux-5.10.167
   Created:      2023-02-20  21:51:11 UTC
   Data Size:    4114004 Bytes = 3.9 MB
   Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

(Please ignore the wrong version in the uboot bundle headers) And then nothing...

At this point I am not sure if it's the kernel image that is busted or just the console.

Any ideas on what may I be missing? Or any pointers to documents I should read about bringing a vanilla kernel up on one of these boards?


Nevermind, I just had to port over the prom.c and setup.c for rtl838x. I see we also initialize the uart there.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.