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

Re: flash-kernel and dtb



On Sat, Jun 14, 2014 at 11:56:01PM +0200, Karsten Merker wrote:
> On Sat, Jun 14, 2014 at 10:36:43PM +0200, Rainer Dorsch wrote:
> It looks like you might not have set a console device, so
> possibly the kernel boots, but you do not see any output.  Try
> setting the console device on the kernel commandline with a
> command like:
> 
>   setenv bootargs 'console=ttyS0,115200 rootwait panic=10'
>
> (The example assumes that the serial port on the i.MX6 is ttyS0 and 
> not something else such as ttyAMA0.)

The cubox-i uses ttymxc0.


As I've been writing up a few bootscripts for flash-kernel lately, I've been
wondering about what makes sense for bootargs...

With flash-kernel 3.20+, bootargs from the u-boot env are silently ignored
when using bootscripts that set bootargs... the default bootargs is "quiet".

Should the bootscript only set bootargs if not already set by u-boot?

Then dpkg-reconfigure flash-kernel, or editing /etc/default/flash-kernel,
will be silently ignored if it's set in the u-boot env.

Neither way seems optimal. I guess setting \$\{bootargs\} in
/etc/default/flash-kernel might work to inherrit the u-boot env value... but
that's a bit non-obvious.


live well,
  vagrant

Attachment: signature.asc
Description: Digital signature


Reply to: