mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Juergen Beisert <jbe@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 09/10] LINUX16: Add selection of the VESA video mode
Date: Fri, 7 Jan 2011 17:51:28 +0100	[thread overview]
Message-ID: <20110107165128.GA15365@game.jcrosoft.org> (raw)
In-Reply-To: <1294389316-6569-10-git-send-email-jbe@pengutronix.de>

>  		}
>  	}
>  
> @@ -227,6 +243,14 @@ static int do_linux16(struct command *cmdtp, int argc, char *argv[])
>  		goto on_error;
>  	}
>  
> +	/*
> +	 * The kernel does not check for the "vga=<val>" kernel command line
> +	 * parameter anymore. It expects this kind of information in the
> +	 * boot parameters instead.
> +	 */
> +	if (vid_mode != NORMAL_VGA)
> +		lh->vid_mode = vid_mode;
> +
>  	/* If SETUP_SECTS is not set, set it to the default.  */
>  	if (setup_sects == 0) {
>  		printf("Fixing setup sector count\n");
> @@ -297,8 +321,9 @@ on_error:
>  }
>  
>  BAREBOX_CMD_HELP_START(linux16)
> -BAREBOX_CMD_HELP_USAGE("linux16 <file>\n")
> -BAREBOX_CMD_HELP_SHORT("Boot a kernel on x86 via real mode code.\n")
> +BAREBOX_CMD_HELP_USAGE("linux16 <file> [-v <mode>]\n")
> +BAREBOX_CMD_HELP_SHORT("Boot a kernel <file> on x86 via real mode code.\n")
> +BAREBOX_CMD_HELP_OPT  ("-v <mode>",   "VESA video mode number or 'ask'\n")
>  BAREBOX_CMD_HELP_END
>  
>  /**
> @@ -307,6 +332,10 @@ BAREBOX_CMD_HELP_END
>  <p> Only kernel images in bzImage format are supported by now. See \ref
>  x86_boot_preparation for more info about how to use this command.</p>
>  
> +<p> For the video mode refer the Linux kernel documentation
> +'Documentation/fb/vesafb.txt' for correct VESA mode numbers. If the keyword
> +'ask' instead of a number is given, the starting kernel will ask for a number.
missing </p>?

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-01-07 16:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07  8:35 Various fixes to make barebox's x86 support working again Juergen Beisert
2011-01-07  8:35 ` [PATCH 01/10] x86: Remove not used expressions from the makefile Juergen Beisert
2011-01-07  8:35 ` [PATCH 02/10] x86: Use the generic linker script initializing Juergen Beisert
2011-01-07  8:35 ` [PATCH 03/10] x86 ATA: Don't touch the size entry for the BIOS disk based device Juergen Beisert
2011-01-07  8:35 ` [PATCH 04/10] x86 Generic platform: Fix some typos Juergen Beisert
2011-01-07  8:35 ` [PATCH 05/10] x86 Generic platform: Fix disk drive name Juergen Beisert
2011-01-07  8:35 ` [PATCH 06/10] x86 Generic platform: Fix prompt name Juergen Beisert
2011-01-07  8:35 ` [PATCH 07/10] x86: Remove 'uboot' from file names Juergen Beisert
2011-01-07  8:35 ` [PATCH 08/10] Change 'linux16' command to use getopt() Juergen Beisert
2011-01-07  8:35 ` [PATCH 09/10] LINUX16: Add selection of the VESA video mode Juergen Beisert
2011-01-07 16:51   ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-01-13 15:22     ` Juergen Beisert
2011-01-13 15:25       ` Robert Schwebel
2011-01-07  8:35 ` [PATCH 10/10] LINUX16: Fix warning Juergen Beisert
2011-03-08 14:48 [PATCH] Various fixes to make barebox's x86 support working again Juergen Beisert
2011-03-08 14:48 ` [PATCH 09/10] LINUX16: Add selection of the VESA video mode Juergen Beisert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110107165128.GA15365@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=jbe@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox