[RESEND PATCH v2] netconsole: various improvements

Tony Dinh mibodhi at gmail.com
Tue May 9 03:16:21 CEST 2023


On Mon, May 8, 2023 at 3:53 PM Tony Dinh <mibodhi at gmail.com> wrote:
>
> Hi Simon,
>
> On Mon, May 8, 2023 at 2:23 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > Hi Tony,
> >
> > On Sun, 7 May 2023 at 22:25, Tony Dinh <mibodhi at gmail.com> wrote:
> > >
> > > Hi Tom,
> > >
> > > On Fri, May 5, 2023 at 11:34 AM Tom Rini <trini at konsulko.com> wrote:
> > > >
> > > > On Mon, Apr 03, 2023 at 02:41:52PM -0700, Tony Dinh wrote:
> > > >
> > > > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running,
> > > > > stdin/stdout/stder must be set to some primary console, in addtion to nc.
> > > > > For example, stdin=serial,nc. Some recent Linux kernels will not boot with
> > > > > only nc on the stdout list, ie. stdout=nc. When netconsole exits, remove
> > > > > nc from the list of devices in stdin/stdout/stderr.
> > > > >
> > > > > Signed-off-by: Tony Dinh <mibodhi at gmail.com>
> > > >
> > > > This breaks the ut_bootstd_bootflow_cmd_boot test on sandbox. I'm not
> > > > sure if it's a test issue or something else.
> > >
> > > Thanks for trying, I'm having some difficulty building a sandbox
> > > u-boot, so I can't get to the point where I can see what's the problem
> > > yet.
> >
> > What is going wrong? Does this help?
> >
> > https://u-boot.readthedocs.io/en/latest/build/gcc.html
>
> Yes, I've done that when I realized my ARM development box setup
> missed several Debian packages building sandbox (I only build Linux
> kernels and U-Boot boards natively on ARM). However, after installing
> all those packages it is still not possible to build a sandbox on ARM.
> So currently I am switching to cross compiling on my Intel laptop.
> Later, I'll come back to the ARM box to see whether we need some
> documentation update for doc/build/gcc.rst.

FYI, what's missing in the doc/build/gcc.rst is the SDL option. I
could not build without NO_SDL=1.

make sandbox_defconfig all NO_SDL=1

All the best,
Tony


More information about the U-Boot mailing list