[LEDE-DEV] questions about RB953GS on LEDE

Gui Iribarren gui at altermundi.net
Sun Jan 8 16:09:39 PST 2017


So, I have two issues with porting LEDE to this mikrotik board
(patch just sent in another thread)

on one hand, console is not initialized properly in the default
initramfs.elf

the kernel cmdline is missing "console=ttyS0,115200", and so the console
is disabled during boot.

to workaround it, i did this:

index 04e74d9..aa032c3 100644
--- a/target/linux/ar71xx/mikrotik/config-default
+++ b/target/linux/ar71xx/mikrotik/config-default
@@ -133,7 +133,7 @@ CONFIG_ATH79_MACH_RBSXTLITE=y
 # CONFIG_ATH79_MACH_ZCN_1523H is not set
 # CONFIG_ATH79_NVRAM is not set
 CONFIG_ATH79_ROUTERBOOT=y
-CONFIG_CMDLINE="rootfstype=yaffs noinitrd"
+CONFIG_CMDLINE="rootfstype=yaffs noinitrd  console=ttyS0,115200"
 CONFIG_GPIO_74X164=y
 CONFIG_GPIO_LATCH=y
 # CONFIG_JFFS2_FS is not set

but clearly that's not upstreamable :P

possibly i should update this file?
target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch
but since it's a patch, i guess i should use quilt (am i on the right
track?)


on the other hand, the mtd partitions are apparently not being detected?
(this is the first time i run openwrt/lede on a mikrotik)
here's the complete bootlog, and the last two lines show only mtd0
http://pastebin.com/uxRzvt0D

while according to this
https://wiki.openwrt.org/toh/mikrotik/common

i should be seeing at least kernel and rootfs

any pointers?

(i can't proceed with flashing to NAND, stuck at TFTP boot)

thanks a lot,

gui



More information about the Lede-dev mailing list