machine/sh7785lcr: Add new machine for Renesas SH7785 reference board
PATCH v2 1/1 machine/sh7785lcr: Add new machine for Renesas SH7785 reference board
* Machine config for Renesas SH7785 reference board.
* Add kernel config for 2.6.32 and 35.
--- conf/machine/include/tune-sh4.inc | 2 + conf/machine/sh7785lcr.conf | 20 + recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833 ++++++++++++++++++++++ recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927 ++++++++++++++++++++++++ recipes/linux/linux_2.6.32.bb | 1 + recipes/linux/linux_2.6.35.bb | 1 + 6 files changed, 3784 insertions(+), 0 deletions(-) create mode 100644 conf/machine/sh7785lcr.conf create mode 100644 recipes/linux/linux-2.6.32/sh7785lcr/defconfig create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfig
conf/machine/include/tune-sh4.inc +2 -0
@@ -1,3 +1,5 @@ +# If you want to optimize to sh4a, you need to change +# from -m4 to m4a. TARGET_CC_ARCH = "-ml -m4" FEED_ARCH = "sh4" BASE_PACKAGE_ARCH = "sh4"
conf/machine/sh7785lcr.conf new file +20 -0
@@ -0,0 +1,20 @@ +#@TYPE: Machine +#@NAME: sh7785lcr board setup +#@DESCRIPTION: Machine configuration for Renesas sh7785lcr(SH7785) board + +TARGET_ARCH = "sh4" + +require conf/machine/include/tune-sh4.inc + +KERNEL_IMAGETYPE = "uImage" + +SERIAL_CONSOLE = "115200 ttySC1" + +PREFERRED_PROVIDER_virtual/kernel = "linux" +MACHINE_FEATURES = "kernel26 ext2 vfat ethernet" +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" + +UBOOT_ARCH = "sh" +UBOOT_MACHINE = "sh7785lcr_32bit_config" +UBOOT_LOADADDRESS ?= "0x80001000" +UBOOT_ENTRYPOINT ?= "0x80002000"
recipes/linux/linux-2.6.32/sh7785lcr/defconfig new file +1833 -0
1,833 lines not on this page · raw message
recipes/linux/linux-2.6.35/sh7785lcr/defconfig new file +1927 -0
1,142 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.1
Part of the diff is not shown here. View the raw message.
Quoted 23 lines · Nobuhiro Iwamatsu
* Machine config for Renesas SH7785 reference board.
* Add kernel config for 2.6.32 and 35.Signed-off-by Nobuhiro Iwamatsu <[email protected]>---
conf/machine/include/tune-sh4.inc | 2 +conf/machine/sh7785lcr.conf| 20 + recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833 ++++++++++++++++++++++ recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927 ++++++++++++++++++++++++ recipes/linux/linux_2.6.32.bb | 1 + recipes/linux/linux_2.6.35.bb | 1 +6 files changed, 3784 insertions(+), 0 deletions(-)create mode 100644
conf/machine/sh7785lcr.conf
create mode 100644 recipes/linux/linux-2.6.32/sh7785lcr/defconfig create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfigconf/machine/include/tune-sh4.inc +2
-0@@ -1,3 +1,5 @@ +# If you want to optimize to sh4a, you need to change +# from -m4 to m4a.
Quoted 3 lines
TARGET_CC_ARCH = "-ml -m4"
FEED_ARCH = "sh4"
BASE_PACKAGE_ARCH = "sh4"
you could add another tune file for sh4a called
tune-sh4a.inc and include that for appropriate
machines. rest of patch looks good to me.
Thx
-Khem
Hi,
2010/9/25 Khem Raj <[email protected]>:
Quoted 17 lines · Nobuhiro Iwamatsu
Quoted 16 lines
* Machine config for Renesas SH7785 reference board.
* Add kernel config for 2.6.32 and 35.Signed-off-by Nobuhiro Iwamatsu <[email protected]>---
conf/machine/include/tune-sh4.inc | 2 +conf/machine/sh7785lcr.conf| 20 + recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833 ++++++++++++++++++++++ recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927 ++++++++++++++++++++++++ recipes/linux/linux_2.6.32.bb | 1 + recipes/linux/linux_2.6.35.bb | 1 +6 files changed, 3784 insertions(+), 0 deletions(-)create mode 100644
conf/machine/sh7785lcr.conf
create mode 100644 recipes/linux/linux-2.6.32/sh7785lcr/defconfig create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfig
Quoted 14 lines
Quoted 10 lines
conf/machine/include/tune-sh4.inc +2
-0@@ -1,3 +1,5 @@ +# If you want to optimize to sh4a, you need to change +# from -m4 to m4a.TARGET_CC_ARCH = "-ml -m4"
FEED_ARCH = "sh4"
BASE_PACKAGE_ARCH = "sh4"you could add another tune file for sh4a called
tune-sh4a.inc and include that for appropriate
machines. rest of patch looks good to me.
I want to make optimization of m4 a default.
The reason is because there is not compatibility in m4 and m4a. It is a memo for the person whom it wants to optimize in m4a that I wrote in tune-sh4.inc.
I thought that I have had better take off a memo if confusion happened by this memo.
How do you think?
Best regards,
Nobuhiro
Signature · 3 lines
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6Hi,
Quoted 15 lines · Nobuhiro Iwamatsu
2010/9/25 Khem Raj<[email protected]>:
Quoted 5 lines · Nobuhiro Iwamatsu
Quoted 4 lines
conf/machine/include/tune-sh4.inc +1
-0@@ -1,3 +1,5 @@ +# If you want to optimize to sh4a, you need to changeQuoted 8 lines
conf/machine/include/tune-sh4.inc line 5
Quoted 4 lines
conf/machine/include/tune-sh4.inc +1
-0+# from -m4 to m4a. TARGET_CC_ARCH = "-ml -m4" FEED_ARCH = "sh4" BASE_PACKAGE_ARCH = "sh4"you could add another tune file for sh4a called
tune-sh4a.inc and include that for appropriate
machines. rest of patch looks good to me.
Quoted 9 lines
I want to make optimization of m4 a default.
The reason is because there is not compatibility in m4 and m4a. It is a memo for the person whom it wants to optimize in m4a that I wrote in tune-sh4.inc.I thought that I have had better take off a memo if confusion happened by this memo.
How do you think?
As Khem said, it's better to have tune-sh4a.inc & tune-sh4.inc in the include directory which let the user the possibility to include the one he wants in his machine configuration file (without the need to modifiy the include file).
Eric
Hi,
2010/9/27 Eric Bénard <[email protected]>:
Quoted 27 lines
Hi,
Quoted 24 lines · Nobuhiro Iwamatsu
2010/9/25 Khem Raj<[email protected]>:
Quoted 4 lines
Quoted 1 line · Nobuhiro Iwamatsu
Quoted 12 lines
Quoted 8 lines
conf/machine/include/tune-sh4.inc +2
-0@@ -1,3 +1,5 @@ +# If you want to optimize to sh4a, you need to change +# from -m4 to m4a.TARGET_CC_ARCH = "-ml -m4"
FEED_ARCH = "sh4"
BASE_PACKAGE_ARCH = "sh4"you could add another tune file for sh4a called
tune-sh4a.inc and include that for appropriate
machines. rest of patch looks good to me.I want to make optimization of m4 a default.
The reason is because there is not compatibility in m4 and m4a. It is a memo for the person whom it wants to optimize in m4a that I wrote in tune-sh4.inc.
Quoted 8 lines
Quoted 4 lines
I thought that I have had better take off a memo if confusion happened by this memo.
How do you think?As Khem said, it's better to have tune-sh4a.inc & tune-sh4.inc in the include directory which let the user the possibility to include the one he wants in his machine configuration file (without the need to modifiy the include file).
Oh, sorry. I misread. I will send new patch.
Best regards,
Nobuhiro
Signature · 1 line
Nobuhiro Iwamatsu