[yocto] [meta-raspberrypi][PATCH 1/1] Modify raspberrypi3.conf and add raspberrypi3-64.conf

Khem Raj raj.khem at gmail.com
Sun Nov 20 11:30:08 PST 2016


Herve,

There is no need to create so many variants for a53 32 bit mode. We
can keep using whatever we have
its only 64bit that needs to be added as a new machine.

On Sun, Nov 20, 2016 at 4:06 AM, Herve Jourdain <herve.jourdain at neuf.fr> wrote:
> Hi Khem,
>
> FYI, I am sending a slightly modified version (cortexa53hf-32 instead of
> cortexa53-32 for raspberrypi3.conf).
> They still depend on modifications in oe-core (heavier this time than
> before), also posted to the list.
>
> Herve
>
> -----Original Message-----
> From: Khem Raj [mailto:raj.khem at gmail.com]
> Sent: samedi 19 novembre 2016 19:19
> To: Herve Jourdain <herve.jourdain at neuf.fr>; yocto at yoctoproject.org
> Subject: Re: [yocto] [meta-raspberrypi][PATCH 1/1] Modify raspberrypi3.conf
> and add raspberrypi3-64.conf
>
> Nevermind, I managed to apply it, there are some CR changes I guess which
> was freaking git
>
> On 11/19/16 5:03 AM, Herve Jourdain wrote:
>> Signed-off-by: Herve Jourdain <herve.jourdain at neuf.fr>
>> ---
>>  conf/machine/raspberrypi3-64.conf | 19 +++++++++++++++++++
>>  conf/machine/raspberrypi3.conf    |  8 ++++++--
>>  2 files changed, 25 insertions(+), 2 deletions(-)  create mode 100644
>> conf/machine/raspberrypi3-64.conf
>>
>> diff --git a/conf/machine/raspberrypi3-64.conf
>> b/conf/machine/raspberrypi3-64.conf
>> new file mode 100644
>> index 0000000..a5ceddb
>> --- /dev/null
>> +++ b/conf/machine/raspberrypi3-64.conf
>> @@ -0,0 +1,19 @@
>> +#@TYPE: Machine
>> +#@NAME: RaspberryPi 3 Development Board
>> +#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits
>> +mode
>> +
>> +DEFAULTTUNE ?= "cortexa53-64"
>> +
>> +MACHINEOVERRIDES = "raspberrypi3:raspberrypi:${MACHINE}"
>> +
>> +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
>> +
>> +PREFERRED_VERSION_linux-raspberrypi_raspberrypi3-64 ?= "4.7.%"
>> +
>> +require conf/machine/include/tune-cortexa53.inc
>> +include conf/machine/include/rpi-base.inc
>> +
>> +SERIAL_CONSOLE = "115200 ttyS0"
>> +VC4_CMA_SIZE ?= "cma-256"
>> +
>> +UBOOT_MACHINE = "rpi_3_config"
>> diff --git a/conf/machine/raspberrypi3.conf
>> b/conf/machine/raspberrypi3.conf index 9820209..f142323 100644
>> --- a/conf/machine/raspberrypi3.conf
>> +++ b/conf/machine/raspberrypi3.conf
>> @@ -2,12 +2,16 @@
>>  #@NAME: RaspberryPi 3 Development Board
>>  #@DESCRIPTION: Machine configuration for the RaspberryPi 3
>>
>> -MACHINEOVERRIDES = "raspberrypi2:${MACHINE}"
>> +DEFAULTTUNE ?= "cortexa53-32"
>> +
>> +MACHINEOVERRIDES = "raspberrypi2:raspberrypi:${MACHINE}"
>>
>>  MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
>>
>> -include conf/machine/raspberrypi2.conf
>> +require conf/machine/include/tune-cortexa53.inc
>> +include conf/machine/include/rpi-base.inc
>>
>>  SERIAL_CONSOLE = "115200 ttyS0"
>>  VC4_CMA_SIZE ?= "cma-256"
>>
>> +UBOOT_MACHINE = "rpi_3_config"
>>
>
>



More information about the yocto mailing list