[U-Boot-Users] [PATCH] Pass full u-boot environment to booting kernel

Wolfgang Denk wd at denx.de
Tue Sep 14 13:47:10 CEST 2004


In message <4146C728.7010006 at intracom.gr> you wrote:
>
> The following patch allows the passing of the full u-boot
> environment to the booting running kernel.
> 
> What it does after that is a matter of discussion currently.

Which discussion are you referring to? I  haven't  seen  any  related
message yet.

> In the following days I'll also post patches for the kernel
> and busybox showing what can be acheived.

Please hold on for a moment.

I'm afraid I have to tell you that I don't think this makes sense  at
all.

There are several reasons for me to tend to reject this patch:

* The Linux kernel's command line is limited in size. You cannot pass
  arbitrary amounts of data to the kernel this way.

* If you want to  make  the  U-Boot  environment  accessable  to  the
  kernel,  there are other (better?) ways like making it available by
  the kernel directory (reading directly through the  MTD  layer  for
  flash, or from I2C for EEPROM, etc.).

* The U-Boot environment usually contains LOTS of  definitions  which
  are definitely useless in the Linux kernel, so why pass random data
  which will never be needed anyway?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You speak of courage. Obviously you do not know the  difference  bet-
ween  courage and foolhardiness. Always it is the brave ones who die,
the soldiers.
	-- Kor, the Klingon Commander, "Errand of Mercy",
	   stardate 3201.7




More information about the U-Boot mailing list