[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: guruplug doesn't boot after upgrade kernel



On Sat, Apr 13, 2019 at 12:13 PM Martin Michlmayr <tbm@cyrius.com> wrote:
* Ian Campbell <ijc@debian.org> [2019-04-13 11:07]:
> > [    0.000000] Kernel command line: $(bootargs_console) earlyprintk=serial,ttyS0,115200
>
> Looks like `$(bootargs_console)` isn't actually being substituted. Are
> you sure the `$(...)` syntax is correct? Vendor u-boots sometime
> deviate a bit but `${...}` would be more usual I think.

Oh yes, great catch, Ian.
run this and it should work:
setenv bootcmd 'setenv bootargs ${bootargs_console}; run bootcmd_mmc; bootm 0x00800000 0x01100000'
saveenv
reset
 
Nice, indeed, that was the problem.
Thx to all !

Gr. L. Baes

My web site (Ian again :)
commit 38735fedf95e75ff8db92805351981ca5e518d17
Author: Martin Michlmayr <tbm@cyrius.com>
Date:   Mon Jun 8 09:54:04 2015 -0400

    Use ${var} instead of $(var) for u-boot

    Use ${var} for variable substitution in u-boot rather than $(var).
    According to report, the latter no longer works.  Thanks John Hughes
    and Ian Campbell.

Reply to: