Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-05 Thread Nathan Rossi
t; -rw-r--r-- 1 kratsg atlas 866 Jan 2 16:43 system-top.dts.pp >>> > >>> > and installed here >>> > >>> > kratsg@dc:/local/d4/gstark/poky/build$ ls >>> > >>> > /local/d4/gstark/poky/build/tmp/work/gfex_prototype3-poky-linux/

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-03 Thread Giordon Stark
> total 52K >> > drwxr-xr-x 2 kratsg atlas 4.0K Jan 2 16:43 . >> > drwxr-xr-x 16 kratsg atlas 4.0K Jan 2 16:44 .. >> > -rw-r--r-- 1 kratsg atlas 39K Jan 2 16:43 system-top.dtb >> > -rw-r--r-- 1 kratsg atlas 866 Jan 2 16:43 system-top.dts.pp >> &

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-03 Thread Giordon Stark
rote: > >> > >> > >> > >> > -Original Message- > >> > From: Giordon Stark [mailto:kra...@gmail.com] > >> > Sent: Tuesday, January 02, 2018 2:36 PM > >> > To: Manjukumar Harthikote Matha > >> > Cc: Nathan Ross

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-02 Thread Nathan Rossi
gt; https://github.com/nathanrossi/meta-xilinx/blob/60193934fc1c7717a71f272370aaad1bfeb118b4/recipes-bsp/u-boot/u-boot_2017.09.bbappend > > EXT_DTB=${RECIPE_SYSROOT}/boot/devicetree/${MACHINE}.dtb > > So how do I install the dtb correctly from device-tree to get picked up by > u-boot-xlnx? &g

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-02 Thread Giordon Stark
:kra...@gmail.com> ] > > > Sent: Tuesday, January 02, 2018 2:15 PM > > > To: Nathan Rossi > <mailto:nat...@nathanrossi.com> > > > > Cc: Manjukumar Harthikote Matha > <mailto:manju...@xilinx.com> >; Tang, Shaochun > >

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-02 Thread Manjukumar Harthikote Matha
> mailto:st...@bnl.gov> >; meta- > xil...@yoctoproject.org <mailto:meta-xilinx@yoctoproject.org> > > Subject: Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL > + > u-boot? > > > > Hi, > > > >

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-02 Thread Giordon Stark
> > Cc: Manjukumar Harthikote Matha ; Tang, Shaochun > > ; meta-xilinx@yoctoproject.org > > Subject: Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + > u-boot? > > > > Hi, > > > > I've followed along with everything so far. I'm f

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-02 Thread Manjukumar Harthikote Matha
>> >> > >> >> kratsg@dc:/local/d4/gstark/poky/build$ bitbake-layers show-layers > >> >> layer path > >> >> priority > >> >> > >> >> >

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2018-01-02 Thread Giordon Stark
> > >> >> Giordon > >> >> > >> >> kratsg@dc:/local/d4/gstark/poky/build$ bitbake-layers show-layers > >> >> layer path > >> >> priority > >> >> > >> >> >

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-13 Thread Nathan Rossi
eta5 >> >> meta-poky /local/d4/gstark/poky/meta-poky 5 >> >> meta-yocto-bsp/local/d4/gstark/poky/meta-yocto-bsp 5 >> >> meta-xilinx /local/d4/gstark/meta-xilinx 5 >> >> m

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-13 Thread Giordon Stark
space /local/d4/gstark/poky/build/workspace 99 > >> > >> > >> On Fri, Dec 8, 2017 at 11:39 AM Manjukumar Harthikote Matha > >> wrote: > >>> > >>> > >>> > >>> > -Original Message- > >

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-13 Thread Nathan Rossi
>>> >>> > -Original Message- >>> > From: Giordon Stark [mailto:kra...@gmail.com] >>> > Sent: Friday, December 08, 2017 9:05 AM >>> > To: Manjukumar Harthikote Matha >>> > Cc: Mike Looijmans ; Tang, Shaochun &g

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-13 Thread Giordon Stark
> > -Original Message- >> > From: Giordon Stark [mailto:kra...@gmail.com] >> > Sent: Friday, December 08, 2017 9:05 AM >> > To: Manjukumar Harthikote Matha >> > Cc: Mike Looijmans ; Tang, Shaochun < >> st...@bnl.gov>; >> > meta-xilin

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-08 Thread Giordon Stark
bnl.gov>; > > meta-xilinx@yoctoproject.org > > Subject: Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + > u-boot? > > > > Hi Manju, > > > > Sure, but what is EXT_DTB and where do I set it/to what value? Googling > doesn't >

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-08 Thread Manjukumar Harthikote Matha
> -Original Message- > From: Giordon Stark [mailto:kra...@gmail.com] > Sent: Friday, December 08, 2017 9:05 AM > To: Manjukumar Harthikote Matha > Cc: Mike Looijmans ; Tang, Shaochun ; > meta-xilinx@yoctoproject.org > Subject: Re: [meta-xilinx] Wrong DRAM set for cu

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-08 Thread Giordon Stark
; > From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx- > > boun...@yoctoproject.org] On Behalf Of Giordon Stark > > Sent: Thursday, December 07, 2017 10:26 PM > > To: Mike Looijmans > > Cc: Tang, Shaochun ; meta-xilinx@yoctoproject.org > > Subject: Re: [meta-xi

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-08 Thread Manjukumar Harthikote Matha
ect: Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + > u-boot? > > Hi Mike, > > Is that part of the defconfig or am I looking somewhere else for this? I > suppose > you're not talking about the BOOTARGS here... > Compile the u-boot against the dtb us

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-07 Thread Giordon Stark
Hi Mike, Is that part of the defconfig or am I looking somewhere else for this? I suppose you're not talking about the BOOTARGS here... Giordon On Fri, Dec 8, 2017 at 12:08 AM Mike Looijmans wrote: > Change looks okay, but you (may also) need to apply this to the bootloader. > u-boot passes th

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-07 Thread Mike Looijmans
Change looks okay, but you (may also) need to apply this to the bootloader. u-boot passes the memory size on to the kernel, and the kernel just follows what u-boot reports. On 07-12-17 21:35, Giordon Stark wrote: Thanks a lot for the explanation Nathan (and all). When I implement the change

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-07 Thread Giordon Stark
Thanks a lot for the explanation Nathan (and all). When I implement the change (see diff): diff --git a/conf/machine/boards/gfex/prototype3/system-top.dts b/conf/machine/boards/gfex/prototype3/system-top.dts index 4e8ee15..e823bb8 100755 --- a/conf/machine/boards/gfex/prototype3/system-top.dts ++

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Nathan Rossi
On 7 December 2017 at 11:37, Giordon Stark wrote: > Hi Alistair, > > > On Wed, Dec 6, 2017 at 7:23 PM Alistair Francis > wrote: >> >> On Wed, Dec 6, 2017 at 4:45 PM, Giordon Stark wrote: >> > Hi Manju, >> > >> > Indeed, you might be right... I guess now I'm confused by why Xilinx is >> > not >>

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Giordon Stark
Hi Alistair, On Wed, Dec 6, 2017 at 7:23 PM Alistair Francis wrote: > On Wed, Dec 6, 2017 at 4:45 PM, Giordon Stark wrote: > > Hi Manju, > > > > Indeed, you might be right... I guess now I'm confused by why Xilinx is > not > > exporting the HDF to a device tree correctly: > > > > Our block des

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Alistair Francis
evice tree. Alistair > > On Wed, Dec 6, 2017 at 6:32 PM Manjukumar Harthikote Matha > wrote: >> >> >> >> > -Original Message- >> > From: Giordon Stark [mailto:kra...@gmail.com] >> > Sent: Wednesday, December 06, 2017 12:16 PM >> > To: M

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Giordon Stark
December 06, 2017 12:16 PM > > To: Manjukumar Harthikote Matha > > Cc: meta-xilinx@yoctoproject.org; Tang, Shaochun > > Subject: Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + > u-boot? > > > > Hi Manju, > > > > The generated device tree se

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Manjukumar Harthikote Matha
> -Original Message- > From: Giordon Stark [mailto:kra...@gmail.com] > Sent: Wednesday, December 06, 2017 12:16 PM > To: Manjukumar Harthikote Matha > Cc: meta-xilinx@yoctoproject.org; Tang, Shaochun > Subject: Re: [meta-xilinx] Wrong DRAM set for custom board usin

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Giordon Stark
[mailto:meta-xilinx- > > boun...@yoctoproject.org] On Behalf Of Giordon Stark > > Sent: Wednesday, December 06, 2017 9:26 AM > > To: meta-xilinx@yoctoproject.org > > Cc: Tang, Shaochun > > Subject: [meta-xilinx] Wrong DRAM set for custom board using FSBL + > u-boo

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Manjukumar Harthikote Matha
> -Original Message- > From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx- > boun...@yoctoproject.org] On Behalf Of Giordon Stark > Sent: Wednesday, December 06, 2017 9:26 AM > To: meta-xilinx@yoctoproject.org > Cc: Tang, Shaochun > Subject: [meta-xilin

Re: [meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Giordon Stark
Hi, I've also tried adding a new defconfig for the board with the following patch: +CONFIG_SYS_SDRAM_BASE=0x +CONFIG_SYS_SDRAM_SIZE=0x8000 but u-boot still reports the DRAM as 4 GiB. I'm at a loss as to why this is happening. Is there something I'm missing? On Wed, Dec 6, 2017 at 11

[meta-xilinx] Wrong DRAM set for custom board using FSBL + u-boot?

2017-12-06 Thread Giordon Stark
Hi all, The board I'm using is defined here: https://github.com/kratsg/meta-l1calo/blob/master/conf/machine/gfex-prototype3.conf but I'm noticing that the DRAM reported by U-Boot is set to 4 GiB. This would be correct for ZCU102, but we have 16 GiB DRAM for our custom (v3) board. Where is this se