Hi,
can't find a solution. Googling around I found different stuffs maybe its because of different linux kernel version and linux distribution.
So far what I am getting. Working with openwrt 18.06.1 - kernel 4.9 - gl-inet-ar150 ar9330/1 Soc.
My u-boot bootargs:
uboot> printenv
bootargs=console=ttyATH0,115200 board=domino root=31:03 rootfstype=squashfs,jffs2 noinitrd mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1280k(kernel),14656k(rootfs),64k(nvram),64k(art)ro,15936k@0x5000)
My kernel dmesg at starup`
[ 0.000000] Kernel command line: board=GL-AR150 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro console=ttyATH0,115200 rootfstype=squashfs noinitrd
My openwrt/target/linux/ar71xx/config-4.9
CONFIG_CMDLINE="rootfstype=squashfs noinitrd"
CONFIG_CMDLINE_BOOL=y
# CONFIG_CMDLINE_OVERRIDE is not set
from http://redsymbol.net/linux-kernel-boot-parameters/4.9/
I get:
ignore_loglevel [KNL]
Ignore loglevel setting - this will print /all/
kernel messages to the console. Useful for debugging.
We also add it as printk module parameter, so users
could change it dynamically, usually by
/sys/module/printk/parameters/ignore_loglevel.
is there a way to add 'ignore_loglevel' somewhere in the aboves
to try to get more messages, or maybe I am already getting them all,
before the part where I get at startup ?
[ 3.580088] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.596699] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 7.766058] jffs2: notice: (359) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
If I have to do it at u-boot level using
setenv - set environment variables
does setenv saves them somewhere ? or change them just in memory ?
I don't' want to brick my bootloader, from what I understood (and I could be wrong)
the bootloader is not touched when I flash my gl-inet-ar150 with openwrt sysupgrade.bin.