Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-05-09 Thread Tony Lindgren
to add checking for kernel BSS overlapping the device tree data. Other than that, I got /proc/device-tree entries showing up with this patch + the uncompress fixes + the kernel BSS check I posted as a reply to this thread, so: Tested-by: Tony Lindgren t...@atomide.com

Re: [PATCH] ARM: Make sure appended device tree data won't overlap kernel BSS

2011-05-09 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [110509 14:16]: Do this before relocating the compressed kernel + device tree data. Otherwise we would have to split the copying into two parts, or copy the device tree data twice. As we only have one register available, pass the size of kernel BSS via

Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-05-04 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [110429 12:11]: On Fri, 29 Apr 2011, Russell King - ARM Linux wrote: On Fri, Apr 29, 2011 at 09:16:39AM -0400, Nicolas Pitre wrote: On Fri, 29 Apr 2011, Tony Lindgren wrote: If the compressed image is smaller than BSS, then we end up having DT

Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-05-04 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [110504 00:20]: * Nicolas Pitre n...@fluxnic.net [110429 12:11]: Err, no. Moving stuff around becomes quite expensive when the cache is not on. It's far better to work out where to place it first time around so its not in the way. I don't think

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-03 Thread Tony Lindgren
* Grant Likely grant.lik...@secretlab.ca [110502 14:52]: On Mon, May 02, 2011 at 07:39:54PM +0300, Tony Lindgren wrote: The cmdline is something that bootloaders typically allow to configure, while the other ATAGs are static and should be in the .dts file. Once the libfdt code is pulled

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-02 Thread Tony Lindgren
will be painful as it requires a kernel recompile to set the cmdline.. Also, not counting the separate DT append issues, I got things booting with these patches (and the dts files) on omaps. So for patches 1 - 5, and patch 8: Tested-by: Tony Lindgren t...@atomide.com I don't have versatile or tegra, so can't

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-02 Thread Tony Lindgren
* Grant Likely grant.lik...@secretlab.ca [110502 18:31]: On Mon, May 2, 2011 at 9:15 AM, Tony Lindgren t...@atomide.com wrote: * Grant Likely grant.lik...@secretlab.ca [110429 00:13]: + +/** + * setup_machine_fdt - Machine setup when an dtb was passed to the kernel + * @dt_phys

Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-04-29 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [110427 07:41]: * Nicolas Pitre n...@fluxnic.net [110427 07:37]: On Wed, 27 Apr 2011, Tony Lindgren wrote: I guess the issue is that when setup_machine_fdt gets called we only have minimal MMU mapping done. In head.S (the final kernel image one

Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-04-27 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [110427 07:37]: On Wed, 27 Apr 2011, Tony Lindgren wrote: I guess the issue is that when setup_machine_fdt gets called we only have minimal MMU mapping done. In head.S (the final kernel image one) there is a 1MB mapping established when r2 contains

Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-04-21 Thread Tony Lindgren
* Shawn Guo shawn@freescale.com [110420 00:27]: On Wed, Apr 20, 2011 at 01:47:47PM +0800, Shawn Guo wrote: I would like to confirm it fixes your setup before I send fixing patch to remove 'static' from global variables in all platform uncompress.h. Just saw Nico's patch, so ignore

Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-04-21 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [110421 11:00]: * Shawn Guo shawn@freescale.com [110420 00:27]: On Wed, Apr 20, 2011 at 01:47:47PM +0800, Shawn Guo wrote: I would like to confirm it fixes your setup before I send fixing patch to remove 'static' from global variables in all platform

Re: [PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-04-13 Thread Tony Lindgren
* Shawn Guo shawn@freescale.com [110328 12:10]: On Thu, Mar 24, 2011 at 04:18:41PM -0700, John Bonesio wrote: This patch provides the ability to boot using a device tree that is appended to the raw binary zImage (e.g. cat zImage filename.dtb zImage_w_dtb). Signed-off-by: John

<    1   2   3   4   5