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

Re: Debian Wheezy or Jessie install on Cubox-i4pro?



On Sat, Apr 04, 2015 at 01:45:36PM -0700, Rick Thomas wrote:
> On Apr 4, 2015, at 5:14 AM, Karsten Merker <merker@debian.org> wrote:

> > Could you please try to interrupt the u-boot autoboot process by
> > pressing a key when u-boot prints the "Hit any key to stop autoboot"
> > message and then issue the following command at the u-boot prompt:
> > 
> > setenv bootargs “console=ttymxc0,115200"; run bootcmd
> 
> Just to be clear:  This will set the console variable with baud
> rate, but only temporarily.  The “run bootcmd” at the end will
> cause it to do a “normal” boot, but with that console setting.

It does not modify the console variable, but it sets the
bootargs variable which gets passed to the kernel to contain
a "console" option with the proper console device and baudrate.
This change is only temporary for the current session and will
be gone after a reboot.

> Looking at the “cubox1.log” I attached previously, which has
> the output of “printenv” from the installed system, after
> interrupting the u-boot at the “Hit any key…” point: I
> see console=ttymxc0
> 
> so it seems possible that it just needs a baud rate added and
> all would be well…

The source of your problem is probably that the contents of the
console variable do not get passed to the kernel at all.  The
missing baudrate is another possible source of trouble on top of
that.

> > If this results in a working system, you can make this setting
> > permanent by running
> > 
> > setenv bootargs “console=ttymxc0,115200"; saveenv
> 
> This will make the console variable with baudrate a permanent
> part of the environment, right?

See above - the change is to the bootargs variable, not to the
console variable, but otherwise: yes, that makes the setting
permanent.

>  Do I need to do anything after
> the “saveenv”?  Like reset or power-cycle the box?  Some older
> ARM hardware I’ve used seemed to have those kinds of quirks.

No further action should be necessary.

> Do I just type “run bootcmd” at that point?

Yes.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: