Re: [meta-xilinx] Disable U-Boot MMC?

2017-11-18 Thread Giordon Stark
Reprogrammed the board here using my patch (
https://github.com/kratsg/meta-l1calo/commit/2ddfbfa7a1d6c2a11c3035e3b0e504be793352fc)
and u-boot still hangs at the MMC line. Is there something I missed?

Giordon

On Sat, Nov 18, 2017 at 12:26 PM Giordon Stark  wrote:

> After a bit of hunting down, I did the modifications using the devtool
> helper and wrote my procedure down since I couldn't find a good guide
> online (
> https://github.com/kratsg/meta-l1calo/wiki/Creating-a-patch-for-an-existing-recipe-source-file
> )
>
> Thanks!
>
> Giordon
>
> On Sat, Nov 18, 2017 at 11:36 AM Giordon Stark  wrote:
>
>> That said, I found the config here:
>> https://github.com/Xilinx/u-boot-xlnx/blob/master/include/configs/xilinx_zynqmp_zcu102.h#L13
>>  and
>> just need to generate a bbappends that's only applied for a specific
>> machine.
>>
>> Giordon
>>
>> On Sat, Nov 18, 2017 at 11:16 AM Giordon Stark  wrote:
>>
>>> I'm also unable to run `bitbake -c menuconfig "virtual/bootloader". I
>>> think I run into a similar error as this SO post (
>>> https://stackoverflow.com/questions/43211384/how-to-get-to-menuconfig-for-u-boot-in-yocto-environment
>>> )
>>>
>>> ERROR: Task do_menuconfig does not exist for target virtual/bootloader
>>> (/local/d4/gstark/meta-xilinx/recipes-bsp/u-boot/u-boot-xlnx_2017.1.bb:do_menuconfig).
>>> Close matches:
>>>   do_configure
>>> ERROR: Command execution failed: 1
>>>
>>> Giordon
>>>
>>> On Sat, Nov 18, 2017 at 11:13 AM Giordon Stark  wrote:
>>>
 (resending with right email, sorry for spam) Incredibly naive question
 since I've been wondering about these things. Is it not possible to write
 this as a patch or a .bbappends and put it in my meta layer (where?). I
 assume the u-boot config is defined in meta-xilinx/classes or
 meta-xilinx/conf as Xilinx maintains their own fork of u-boot I believe.


 On Sat, Nov 18, 2017 at 10:27 AM Mike Looijmans <
 mike.looijm...@topic.nl> wrote:

> Basically boils down to disabling SD support in u-boot.
>
> In OE/Yocto, run "bitbake -c menuconfig virtual/bootloader" and remove
> the MMC option (and whatever other options you like). Save the
> configuration as /tmp/defconfig, and exit. Copy the defconfig to the
> u-boot recipe location and add a line to the SRC_URI to apply it while
> building.
>
> On 17-11-17 21:04, Giordon Stark wrote:
> > Is it possible to tell u-boot to not boot from MMC? I suspect it's a
> > configuration flag -- and this is when I try to program the QSPI
> using
> > my boot.bin and it would be beneficial to make that work.
> >
> > Thanks,
> >
> > Giordon
> >
> >
>
>
> --
> Mike Looijmans
>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Products
> Materiaalweg 4, NL-5681 RJ Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79 <+31%20499%20336%20979>
> E-mail: mike.looijm...@topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
>
> --
> ___
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>

-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Disable U-Boot MMC?

2017-11-18 Thread Giordon Stark
After a bit of hunting down, I did the modifications using the devtool
helper and wrote my procedure down since I couldn't find a good guide
online (
https://github.com/kratsg/meta-l1calo/wiki/Creating-a-patch-for-an-existing-recipe-source-file
)

Thanks!

Giordon

On Sat, Nov 18, 2017 at 11:36 AM Giordon Stark  wrote:

> That said, I found the config here:
> https://github.com/Xilinx/u-boot-xlnx/blob/master/include/configs/xilinx_zynqmp_zcu102.h#L13
>  and
> just need to generate a bbappends that's only applied for a specific
> machine.
>
> Giordon
>
> On Sat, Nov 18, 2017 at 11:16 AM Giordon Stark  wrote:
>
>> I'm also unable to run `bitbake -c menuconfig "virtual/bootloader". I
>> think I run into a similar error as this SO post (
>> https://stackoverflow.com/questions/43211384/how-to-get-to-menuconfig-for-u-boot-in-yocto-environment
>> )
>>
>> ERROR: Task do_menuconfig does not exist for target virtual/bootloader
>> (/local/d4/gstark/meta-xilinx/recipes-bsp/u-boot/u-boot-xlnx_2017.1.bb:do_menuconfig).
>> Close matches:
>>   do_configure
>> ERROR: Command execution failed: 1
>>
>> Giordon
>>
>> On Sat, Nov 18, 2017 at 11:13 AM Giordon Stark  wrote:
>>
>>> (resending with right email, sorry for spam) Incredibly naive question
>>> since I've been wondering about these things. Is it not possible to write
>>> this as a patch or a .bbappends and put it in my meta layer (where?). I
>>> assume the u-boot config is defined in meta-xilinx/classes or
>>> meta-xilinx/conf as Xilinx maintains their own fork of u-boot I believe.
>>>
>>>
>>> On Sat, Nov 18, 2017 at 10:27 AM Mike Looijmans 
>>> wrote:
>>>
 Basically boils down to disabling SD support in u-boot.

 In OE/Yocto, run "bitbake -c menuconfig virtual/bootloader" and remove
 the MMC option (and whatever other options you like). Save the
 configuration as /tmp/defconfig, and exit. Copy the defconfig to the
 u-boot recipe location and add a line to the SRC_URI to apply it while
 building.

 On 17-11-17 21:04, Giordon Stark wrote:
 > Is it possible to tell u-boot to not boot from MMC? I suspect it's a
 > configuration flag -- and this is when I try to program the QSPI using
 > my boot.bin and it would be beneficial to make that work.
 >
 > Thanks,
 >
 > Giordon
 >
 >


 --
 Mike Looijmans


 Kind regards,

 Mike Looijmans
 System Expert

 TOPIC Products
 Materiaalweg 4, NL-5681 RJ Best
 Postbus 440, NL-5680 AK Best
 Telefoon: +31 (0) 499 33 69 79 <+31%20499%20336%20979>
 E-mail: mike.looijm...@topicproducts.com
 Website: www.topicproducts.com

 Please consider the environment before printing this e-mail



 --
 ___
 meta-xilinx mailing list
 meta-xilinx@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/meta-xilinx

>>>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Disable U-Boot MMC?

2017-11-18 Thread Giordon Stark
That said, I found the config here:
https://github.com/Xilinx/u-boot-xlnx/blob/master/include/configs/xilinx_zynqmp_zcu102.h#L13
and
just need to generate a bbappends that's only applied for a specific
machine.

Giordon

On Sat, Nov 18, 2017 at 11:16 AM Giordon Stark  wrote:

> I'm also unable to run `bitbake -c menuconfig "virtual/bootloader". I
> think I run into a similar error as this SO post (
> https://stackoverflow.com/questions/43211384/how-to-get-to-menuconfig-for-u-boot-in-yocto-environment
> )
>
> ERROR: Task do_menuconfig does not exist for target virtual/bootloader
> (/local/d4/gstark/meta-xilinx/recipes-bsp/u-boot/u-boot-xlnx_2017.1.bb:do_menuconfig).
> Close matches:
>   do_configure
> ERROR: Command execution failed: 1
>
> Giordon
>
> On Sat, Nov 18, 2017 at 11:13 AM Giordon Stark  wrote:
>
>> (resending with right email, sorry for spam) Incredibly naive question
>> since I've been wondering about these things. Is it not possible to write
>> this as a patch or a .bbappends and put it in my meta layer (where?). I
>> assume the u-boot config is defined in meta-xilinx/classes or
>> meta-xilinx/conf as Xilinx maintains their own fork of u-boot I believe.
>>
>>
>> On Sat, Nov 18, 2017 at 10:27 AM Mike Looijmans 
>> wrote:
>>
>>> Basically boils down to disabling SD support in u-boot.
>>>
>>> In OE/Yocto, run "bitbake -c menuconfig virtual/bootloader" and remove
>>> the MMC option (and whatever other options you like). Save the
>>> configuration as /tmp/defconfig, and exit. Copy the defconfig to the
>>> u-boot recipe location and add a line to the SRC_URI to apply it while
>>> building.
>>>
>>> On 17-11-17 21:04, Giordon Stark wrote:
>>> > Is it possible to tell u-boot to not boot from MMC? I suspect it's a
>>> > configuration flag -- and this is when I try to program the QSPI using
>>> > my boot.bin and it would be beneficial to make that work.
>>> >
>>> > Thanks,
>>> >
>>> > Giordon
>>> >
>>> >
>>>
>>>
>>> --
>>> Mike Looijmans
>>>
>>>
>>> Kind regards,
>>>
>>> Mike Looijmans
>>> System Expert
>>>
>>> TOPIC Products
>>> Materiaalweg 4, NL-5681 RJ Best
>>> Postbus 440, NL-5680 AK Best
>>> Telefoon: +31 (0) 499 33 69 79 <+31%20499%20336%20979>
>>> E-mail: mike.looijm...@topicproducts.com
>>> Website: www.topicproducts.com
>>>
>>> Please consider the environment before printing this e-mail
>>>
>>>
>>>
>>> --
>>> ___
>>> meta-xilinx mailing list
>>> meta-xilinx@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-xilinx
>>>
>>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Disable U-Boot MMC?

2017-11-18 Thread Giordon Stark
I'm also unable to run `bitbake -c menuconfig "virtual/bootloader". I think
I run into a similar error as this SO post (
https://stackoverflow.com/questions/43211384/how-to-get-to-menuconfig-for-u-boot-in-yocto-environment
)

ERROR: Task do_menuconfig does not exist for target virtual/bootloader
(/local/d4/gstark/meta-xilinx/recipes-bsp/u-boot/u-boot-xlnx_2017.1.bb:do_menuconfig).
Close matches:
  do_configure
ERROR: Command execution failed: 1

Giordon

On Sat, Nov 18, 2017 at 11:13 AM Giordon Stark  wrote:

> (resending with right email, sorry for spam) Incredibly naive question
> since I've been wondering about these things. Is it not possible to write
> this as a patch or a .bbappends and put it in my meta layer (where?). I
> assume the u-boot config is defined in meta-xilinx/classes or
> meta-xilinx/conf as Xilinx maintains their own fork of u-boot I believe.
>
>
> On Sat, Nov 18, 2017 at 10:27 AM Mike Looijmans 
> wrote:
>
>> Basically boils down to disabling SD support in u-boot.
>>
>> In OE/Yocto, run "bitbake -c menuconfig virtual/bootloader" and remove
>> the MMC option (and whatever other options you like). Save the
>> configuration as /tmp/defconfig, and exit. Copy the defconfig to the
>> u-boot recipe location and add a line to the SRC_URI to apply it while
>> building.
>>
>> On 17-11-17 21:04, Giordon Stark wrote:
>> > Is it possible to tell u-boot to not boot from MMC? I suspect it's a
>> > configuration flag -- and this is when I try to program the QSPI using
>> > my boot.bin and it would be beneficial to make that work.
>> >
>> > Thanks,
>> >
>> > Giordon
>> >
>> >
>>
>>
>> --
>> Mike Looijmans
>>
>>
>> Kind regards,
>>
>> Mike Looijmans
>> System Expert
>>
>> TOPIC Products
>> Materiaalweg 4, NL-5681 RJ Best
>> Postbus 440, NL-5680 AK Best
>> Telefoon: +31 (0) 499 33 69 79 <+31%20499%20336%20979>
>> E-mail: mike.looijm...@topicproducts.com
>> Website: www.topicproducts.com
>>
>> Please consider the environment before printing this e-mail
>>
>>
>>
>> --
>> ___
>> meta-xilinx mailing list
>> meta-xilinx@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx
>>
>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Disable U-Boot MMC?

2017-11-18 Thread Giordon Stark
(resending with right email, sorry for spam) Incredibly naive question
since I've been wondering about these things. Is it not possible to write
this as a patch or a .bbappends and put it in my meta layer (where?). I
assume the u-boot config is defined in meta-xilinx/classes or
meta-xilinx/conf as Xilinx maintains their own fork of u-boot I believe.


On Sat, Nov 18, 2017 at 10:27 AM Mike Looijmans 
wrote:

> Basically boils down to disabling SD support in u-boot.
>
> In OE/Yocto, run "bitbake -c menuconfig virtual/bootloader" and remove
> the MMC option (and whatever other options you like). Save the
> configuration as /tmp/defconfig, and exit. Copy the defconfig to the
> u-boot recipe location and add a line to the SRC_URI to apply it while
> building.
>
> On 17-11-17 21:04, Giordon Stark wrote:
> > Is it possible to tell u-boot to not boot from MMC? I suspect it's a
> > configuration flag -- and this is when I try to program the QSPI using
> > my boot.bin and it would be beneficial to make that work.
> >
> > Thanks,
> >
> > Giordon
> >
> >
>
>
> --
> Mike Looijmans
>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Products
> Materiaalweg 4, NL-5681 RJ Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79 <+31%20499%20336%20979>
> E-mail: mike.looijm...@topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
>
> --
> ___
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Disable U-Boot MMC?

2017-11-18 Thread Giordon Stark
Incredibly naive question since I've been wondering about these things. Is
it not possible to write this as a patch or a .bbappends and put it in my
meta layer (where?). I assume the u-boot config is defined in
meta-xilinx/classes or meta-xilinx/conf as Xilinx maintains their own fork
of u-boot I believe.

Giordon

On Sat, Nov 18, 2017 at 10:27 AM Mike Looijmans 
wrote:

> Basically boils down to disabling SD support in u-boot.
>
> In OE/Yocto, run "bitbake -c menuconfig virtual/bootloader" and remove
> the MMC option (and whatever other options you like). Save the
> configuration as /tmp/defconfig, and exit. Copy the defconfig to the
> u-boot recipe location and add a line to the SRC_URI to apply it while
> building.
>
> On 17-11-17 21:04, Giordon Stark wrote:
> > Is it possible to tell u-boot to not boot from MMC? I suspect it's a
> > configuration flag -- and this is when I try to program the QSPI using
> > my boot.bin and it would be beneficial to make that work.
> >
> > Thanks,
> >
> > Giordon
> >
> >
>
>
> --
> Mike Looijmans
>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Products
> Materiaalweg 4, NL-5681 RJ Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79 <+31%20499%20336%20979>
> E-mail: mike.looijm...@topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
>
> --
> ___
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Disable U-Boot MMC?

2017-11-18 Thread Mike Looijmans

Basically boils down to disabling SD support in u-boot.

In OE/Yocto, run "bitbake -c menuconfig virtual/bootloader" and remove 
the MMC option (and whatever other options you like). Save the 
configuration as /tmp/defconfig, and exit. Copy the defconfig to the 
u-boot recipe location and add a line to the SRC_URI to apply it while 
building.


On 17-11-17 21:04, Giordon Stark wrote:
Is it possible to tell u-boot to not boot from MMC? I suspect it's a 
configuration flag -- and this is when I try to program the QSPI using 
my boot.bin and it would be beneficial to make that work.


Thanks,

Giordon





--
Mike Looijmans


Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijm...@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail



--
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] [RFC] zc70*-zynq7.conf: Remove rtc.scc

2017-11-18 Thread Nathan Rossi
On 16 November 2017 at 11:12, Manjukumar Matha
 wrote:
> After reworking the kmeta data based on kernel-cache merge, these
> configurations are not valid anymore. Delete the error causing kernel
> fargments.
>
> Signed-off-by: Manjukumar Matha 

Looks like I missed those. Removing the KERNEL_FEATURES is fine.

Reviewed-by: Nathan Rossi 

Regards,
Nathan

> ---
>  conf/machine/zc702-zynq7.conf | 1 -
>  conf/machine/zc706-zynq7.conf | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/conf/machine/zc702-zynq7.conf b/conf/machine/zc702-zynq7.conf
> index ef42301..1430c84 100644
> --- a/conf/machine/zc702-zynq7.conf
> +++ b/conf/machine/zc702-zynq7.conf
> @@ -24,7 +24,6 @@ EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv"
>  SERIAL_CONSOLE = "115200 ttyPS0"
>
>  KERNEL_DEVICETREE = "zynq-zc702.dtb"
> -KERNEL_FEATURES += "features/rtc/rtc.scc"
>
>  IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-zynq-zc702.dtb"
>
> diff --git a/conf/machine/zc706-zynq7.conf b/conf/machine/zc706-zynq7.conf
> index 0df5aa7..2379aee 100644
> --- a/conf/machine/zc706-zynq7.conf
> +++ b/conf/machine/zc706-zynq7.conf
> @@ -24,7 +24,6 @@ EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv"
>  SERIAL_CONSOLE = "115200 ttyPS0"
>
>  KERNEL_DEVICETREE = "zynq-zc706.dtb"
> -KERNEL_FEATURES += "features/rtc/rtc.scc"
>
>  IMAGE_BOOT_FILES += " \
> boot.bin \
> --
> 2.7.4
>
> --
> ___
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx