(64MB)
128MB NOR 0x0800 (128MB) 0x0800 (128MB)
256MB NOR 0x1000 (256MB) 0x1000 (256MB)
Let's also add comments to the fixed entries while at it.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycard-som.dtsi | 4 ++--
arch/arm/dts/am335x-phytec-phycore-so
The dmtimer0 is too inaccurate to be used for measurements.
We switch to the more accurate dmtimer2.
Signed-off-by: Daniel Schultz
---
arch/arm/mach-omap/Kconfig | 4 +-
arch/arm/mach-omap/Makefile | 2 +-
arch/arm/mach-omap/dmtimer0.c
The dmtimer0 is too inaccurate to be used for measurements.
We switch to the more accurate dmtimer2.
Signed-off-by: Daniel Schultz
---
Changes:
v2:
- renamed dmtimer2.c in dmtimer.c
- moved base address defines to global variable
arch/arm/mach-omap/Kconfig
This tool will help to measure the system performance.
Signed-off-by: Daniel Schultz
---
commands/Kconfig | 7 +
commands/Makefile| 1 +
commands/dhrystone.c | 404 +++
3 files changed, 412 insertions(+)
create mode 100644 commands
The dmtimer0 is too inaccurate to be used for measurements.
We switch to the more accurate dmtimer2.
Signed-off-by: Daniel Schultz
---
arch/arm/mach-omap/Kconfig | 4 +-
arch/arm/mach-omap/Makefile | 2 +-
arch/arm/mach-omap/dmtimer.c
Am 17.07.2015 um 11:16 schrieb Jan Lübbe:
On Do, 2015-07-16 at 10:51 +0200, Daniel Schultz wrote:
The dmtimer0 is too inaccurate to be used for measurements.
We switch to the more accurate dmtimer2.
What are you trying to measure? Is the resolution or the accuracy too
low?
While testing with
This tool will help to measure the system performance.
Some SoCs haven't the possibility to route their clocks to the output pins.
So you can use dhrystone to get a feedback about the clock speed.
Signed-off-by: Daniel Schultz
---
Changes:
v1:
applied RFC sugges
Am 24.07.2015 um 09:41 schrieb Sascha Hauer:
On Thu, Jul 23, 2015 at 10:01:32AM +0200, Daniel Schultz wrote:
This tool will help to measure the system performance.
Some SoCs haven't the possibility to route their clocks to the output pins.
So you can use dhrystone to get a feedback abou
This tool will help to measure the system performance.
Some SoCs haven't the possibility to route their clocks to the output pins.
So you can use dhrystone to get a feedback about the clock speed.
Signed-off-by: Daniel Schultz
---
Changes:
v1:
applied RFC sugges
This tool will help to measure the system performance.
Some SoCs haven't the possibility to route their clocks to the output pins.
So you can use dhrystone to get a feedback about the clock speed.
Signed-off-by: Daniel Schultz
---
Changes:
v1:
applied RFC sugges
Added missing defines for the extended CSD register until standard 5.1.
Signed-off-by: Daniel Schultz
---
include/mci.h | 188 --
1 file changed, 143 insertions(+), 45 deletions(-)
diff --git a/include/mci.h b/include/mci.h
index a7bf8cd
There is no possibility to read/write to the extended CSD register of MMC
devices from a command.
To avoid duplicated driver code, two driver functions have to be public.
Signed-off-by: Daniel Schultz
---
drivers/mci/mci-core.c | 4 ++--
include/mci.h | 3 +++
2 files changed, 5
This tools can read/write to the extended CSD register of MMC devices.
Signed-off-by: Daniel Schultz
---
commands/Kconfig | 16 +
commands/Makefile |1 +
commands/extcsd.c | 2105 +
3 files changed, 2122 insertions(+)
create mode
Get a 'struct mci' by search after the device name.
Signed-off-by: Daniel Schultz
---
Changes:
v3:
New with patch v3
drivers/mci/mci-core.c | 16
include/mci.h | 8
2 files changed, 24 insertions(+)
diff --git a/drivers/mci/mc
This tools can read/write to the extended CSD register of MMC devices.
Signed-off-by: Daniel Schultz
---
Changes:
v2:
Changed patch order
v3:
Splitted output in different functions to reduce the indentation.
Minimized strings and optimized printfs
Added missing defines for the extended CSD register until standard 5.1.
Signed-off-by: Daniel Schultz
---
Changes:
v2:
Changed patch order
Removed whitespaces from old defines
v3:
No changes
include/mci.h | 99
There is no possibility to read/write to the extended CSD register of
MMC devices from a command. To avoid duplicated driver code, two driver
functions have to be public.
Signed-off-by: Daniel Schultz
---
Changes:
v2:
Changed patch order
v3:
No changes
drivers
Register the eMMC MLO handler to the barebox_update command.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/beaglebone/board.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/beaglebone/board.c
b/arch/arm/boards/beaglebone/board.c
index 4e0e374..5717c45 100644
--- a
partition.
Signed-off-by: Daniel Schultz
---
arch/arm/configs/am335x_defconfig | 1 +
arch/arm/mach-omap/Kconfig| 7
arch/arm/mach-omap/Makefile | 1 +
arch/arm/mach-omap/am33xx_bbu_emmc.c | 78 +++
arch/arm/mach-omap/include/
This patch disables the clocks in the Phytec am335x MLOs and reduce the MLO
size by 9kb.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycard-som-mlo.dts | 1 +
arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 1 +
arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts | 1 +
3 files
Include this file to disable all clocks.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am33xx-clocks-strip.dtsi | 79 +++
1 file changed, 79 insertions(+)
create mode 100644 arch/arm/dts/am33xx-clocks-strip.dtsi
diff --git a/arch/arm/dts/am33xx-clocks
This patch adds missing enviroment files to boot from different sources.
Also adds the handling of default bootsources.
Signed-off-by: Daniel Schultz
---
.../arm/boards/beaglebone/defaultenv-beaglebone/boot/emmc | 6 ++
arch/arm/boards/beaglebone/defaultenv-beaglebone/boot/mmc | 6
This tools can read/write to the extended CSD register of MMC devices.
Signed-off-by: Daniel Schultz
---
Changes:
v2:
Changed patch order
v3:
Splitted output in different functions to reduce the indentation.
Minimized strings and optimized printfs
Bytes, there is space for the partition table in the
header.
The command will overwrite the bootstrap code area and will hold the
partition table and the Boot signature.
Signed-off-by: Daniel Schultz
---
Changes:
v2:
The MLO will also written to 0x0
arch/arm/configs
Register the eMMC MLO handler to the barebox_update command.
Signed-off-by: Daniel Schultz
---
Changes:
v2:
No changes
arch/arm/boards/beaglebone/board.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/beaglebone/board.c
b/arch/arm/boards/beaglebone
Acked-by: Daniel Schultz
Thanks
--
Mit freundlichen Grüßen,
With best regards,
Daniel Schultz
Am 09.02.2017 um 10:53 schrieb Sascha Hauer:
Hi Daniel,
We have found that commands/mmc_extcsd.c is licensed under GPLv3 which
is incompatible to the barebox GPLv2 license. Are you ok with
This machine was a prototype and was never shipped to customers.
Since it has no dependencies to any image, it can be removed.
Signed-off-by: Daniel Schultz
---
Changes:
v2: Removed machine in Makefile
arch/arm/boards/phytec-som-am335x/lowlevel.c| 1 -
arch/arm/boards/phytec-som
freundlichen Grüßen,
With best regards,
Daniel Schultz
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Hi Sascha,
Am 06.04.2017 um 09:06 schrieb Sascha Hauer:
Hi Daniel,
On Tue, Apr 04, 2017 at 12:11:09PM +0200, Daniel Schultz wrote:
Hi everyone,
my boot partition is mounted to /boot/. Now, I want to make it accessible in
/mnt/ as mmc or emmc, depending to the bootsource. Sadly, ln can only
-off-by: Daniel Schultz
---
arch/arm/mach-omap/omap_generic.c | 24 +++-
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap/omap_generic.c
b/arch/arm/mach-omap/omap_generic.c
index 1d03eac..7c50806 100644
--- a/arch/arm/mach-omap/omap_generic.c
This patch enables the barebox handler to flash MLOs on EMMC devices
with 'barebox_update'.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boards/phytec-som-am335x/board.c
b/arch/arm/boards/
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Added "rootflags='data=journal'" bootarg to SD card boot script.
Signed-off-by: Daniel Schultz
---
The default mount path for SD cards changed from /boot to /mnt/mmc.
Updated paths in SD card boot script.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/afi-gf/defaultenv-gf/boot/sd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/afi-gf/defaultenv-gf
Remove the current SD boot script and add support for MMC, EMMC and
network bootsources.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/beaglebone/defaultenv-beaglebone/boot/emmc | 9 +
arch/arm/boards/beaglebone/defaultenv-beaglebone/boot/mmc | 9 +
arch/arm/boards
This handler tries to read from a file descriptor with 'write only'
flags and fails. Add read permissions for the file, so the handler can
read the partition layout.
Signed-off-by: Daniel Schultz
---
arch/arm/mach-omap/am33xx_bbu_emmc.c | 2 +-
1 file changed, 1 insertion(+),
Each boot source is mounted to either /mnt/mmc or /mnt/emmc. To make the
not-mounted boot source available in Barebox, an automount script mounts
this device to /mnt/{mmc, emmc}, if the directory will be accessed.
Signed-off-by: Daniel Schultz
---
.../defaultenv-physom-am335x/init/automount
The default mount path for SD cards changed from /boot to /mnt/mmc0.0.
Updated paths in SD card boot script.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/afi-gf/defaultenv-gf/boot/sd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/afi-gf/defaultenv
The Beaglebone environment should be set from outside with an application
specific environment.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/beaglebone/Makefile | 1 -
arch/arm/boards/beaglebone/board.c | 2 --
arch/arm
Each MMC boot source is mounted to /mnt/mmcN.0. To make the not-mounted
boot source available in Barebox, an automount script mounts
this device also to /mnt/, if the directory will be accessed.
Signed-off-by: Daniel Schultz
---
.../defaultenv-physom-am335x/init/automount | 21
-by: Daniel Schultz
---
arch/arm/mach-omap/omap_generic.c | 31 ---
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/arch/arm/mach-omap/omap_generic.c
b/arch/arm/mach-omap/omap_generic.c
index 1d03eac..aa7424d 100644
--- a/arch/arm/mach-omap
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Added "rootflags='data=journal'" bootarg to SD card boot script.
Signed-off-by: Daniel Schultz
---
ix this problem.
--
Mit freundlichen Grüßen,
With best regards,
Daniel Schultz
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Hi Sascha,
Am 08.05.2017 um 14:57 schrieb Sascha Hauer:
Hi Daniel,
On Fri, May 05, 2017 at 04:46:57PM +0200, Daniel Schultz wrote:
The Beaglebone environment should be set from outside with an application
specific environment.
I don't understand this. What are you trying to archieve an
Each MMC boot source is mounted to /mnt/mmcN.0. To make the not-mounted
boot source available in Barebox, an automount script mounts
this device also to /mnt/, if the directory will be accessed.
Signed-off-by: Daniel Schultz
---
.../defaultenv-physom-am335x/init/automount | 21
The Beaglebone environment should be set from outside with an application
specific environment.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/beaglebone/Makefile | 1 -
arch/arm/boards/beaglebone/board.c | 2 --
arch/arm
-by: Daniel Schultz
---
Changes:
v3: Added symlink from rootpath to BOOT_PATH
arch/arm/mach-omap/omap_generic.c | 36 +---
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/arch/arm/mach-omap/omap_generic.c
b/arch/arm/mach-omap/omap_generic.c
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Added "rootflags='data=journal'" bootarg to SD card boot script.
Signed-off-by: Daniel Schultz
---
or a remount of /boot has to be performed.
To ensure this problem each MMCn bootsource will be mounted to his own
path in /mnt/mmcN.0
Signed-off-by: Daniel Schultz
---
arch/arm/mach-omap/omap_generic.c | 31 ---
1 file changed, 20 insertions(+), 11 deletions(-)
diff -
rüßen,
With best regards,
Daniel Schultz
Am 14.04.2017 um 20:32 schrieb Matt Reimer:
BCH error detection and correction was only looking at the first
of four syndrome polynomials, which meant it was failing to detect
and correct bitflips in the last 3/4 of the data. In effect, only
the first 512
Hi,
Am 17.05.2017 um 08:26 schrieb Sascha Hauer:
On Fri, May 12, 2017 at 01:07:17PM +0200, Daniel Schultz wrote:
Each MMC boot source is mounted to /mnt/mmcN.0. To make the not-mounted
boot source available in Barebox, an automount script mounts
this device also to /mnt/, if the directory will
Hi,
Am 17.05.2017 um 08:30 schrieb Sascha Hauer:
On Fri, May 12, 2017 at 01:07:18PM +0200, Daniel Schultz wrote:
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Added &quo
parseopt.h was included to fs.c with commit 9248b, but parseopt.o has a
dependency to CONFIG_FS_NFS.
Moved parseopt.o to the default build to eliminate build failures.
Signed-off-by: Daniel Schultz
---
fs/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs
Hi Sascha,
Am 06.06.2017 um 07:46 schrieb Sascha Hauer:
Hi Daniel,
On Fri, Jun 02, 2017 at 10:07:34AM +0200, Daniel Schultz wrote:
Hi,
Am 17.05.2017 um 08:30 schrieb Sascha Hauer:
On Fri, May 12, 2017 at 01:07:18PM +0200, Daniel Schultz wrote:
Expand the boot scripts with EMMC and add a
Hi Sascha,
Am 17.05.2017 um 08:35 schrieb Sascha Hauer:
On Fri, May 12, 2017 at 01:07:19PM +0200, Daniel Schultz wrote:
The Beaglebone environment should be set from outside with an application
specific environment.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/beaglebone/Makefile
If using ECC mode OMAP_ECC_HAMMING_CODE_HW_ROMCODE (which is default for
all AM335x with DTS support) the page_read function won't return the
corrected bitflips.
Signed-off-by: Daniel Schultz
---
drivers/mtd/nand/nand_omap_gpmc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
Signed-off-by: Daniel Schultz
---
drivers/mtd/nand/nand_omap_gpmc.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/nand_omap_gpmc.c
b/drivers/mtd/nand/nand_omap_gpmc.c
index 05c8486..61220da 100644
--- a/drivers/mtd/nand/nand_omap_gpmc.c
+++ b
Hi Sascha,
Am 07.06.2017 um 08:53 schrieb Sascha Hauer:
On Wed, Jun 07, 2017 at 08:49:09AM +0200, Sascha Hauer wrote:
On Wed, Jun 07, 2017 at 08:45:08AM +0200, Sascha Hauer wrote:
+Cc Matt Reimer
On Tue, Jun 06, 2017 at 06:10:25PM +0200, Daniel Schultz wrote:
After commit dec7b4d2bf9 was
Hi,
Am 09.06.2017 um 11:08 schrieb Sascha Hauer:
On Fri, Jun 09, 2017 at 10:17:55AM +0200, Daniel Schultz wrote:
Hi Sascha,
And can not work. Additionally eccsteps must be set to 1 in
omap_correct_bch(). This effectively makes the loop in this function
unnecessary which can then removed
Hi Sascha,
Am 12.06.2017 um 15:41 schrieb Sascha Hauer:
Hi Daniel,
On Fri, Jun 09, 2017 at 03:28:59PM +0200, Daniel Schultz wrote:
Hi,
Am 09.06.2017 um 11:08 schrieb Sascha Hauer:
On Fri, Jun 09, 2017 at 10:17:55AM +0200, Daniel Schultz wrote:
Hi Sascha,
And can not work. Additionally
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Added "rootflags='data=journal'" bootarg to SD card boot script.
Signed-off-by: Daniel Schultz
---
.../ph
mount pathes
Daniel
Am 13.06.2017 um 15:37 schrieb Daniel Schultz:
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Added "rootflags='data=journal'" bootar
This patch adds a further layer to the config hierarchy. It allows a
dynamic configuration of expansions.
Signed-off-by: Daniel Schultz
---
defaultenv/defaultenv-2-base/bin/init | 1 +
1 file changed, 1 insertion(+)
diff --git a/defaultenv/defaultenv-2-base/bin/init
b/defaultenv/defaultenv-2
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Added "rootflags='data=journal'" bootarg to SD card boot script.
Signed-off-by: Daniel Schultz
---
.../ph
Hi,
Am 19.06.2017 um 09:34 schrieb Sascha Hauer:
On Tue, Jun 13, 2017 at 03:37:00PM +0200, Daniel Schultz wrote:
This patch adds a further layer to the config hierarchy. It allows a
dynamic configuration of expansions.
Signed-off-by: Daniel Schultz
---
defaultenv/defaultenv-2-base/bin/init
Hi Sascha,
Am 19.06.2017 um 09:25 schrieb Sascha Hauer:
On Tue, Jun 13, 2017 at 03:37:08PM +0200, Daniel Schultz wrote:
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Ad
Hi Sascha,
Am 26.06.2017 um 08:35 schrieb Sascha Hauer:
On Tue, Jun 20, 2017 at 05:42:22PM +0200, Daniel Schultz wrote:
Expand the boot scripts with EMMC and add a default file source for
expansions.
Removed "rw" and "rootwait" bootargs from existing boot scripts.
Why i
Hi,
Am 26.06.2017 um 08:25 schrieb Sascha Hauer:
On Tue, Jun 20, 2017 at 05:50:56PM +0200, Daniel Schultz wrote:
Hi,
Am 19.06.2017 um 09:34 schrieb Sascha Hauer:
On Tue, Jun 13, 2017 at 03:37:00PM +0200, Daniel Schultz wrote:
This patch adds a further layer to the config hierarchy. It
Expand the boot scripts by eMMC and clean them up.
Add NV variable files and removed unnecessary kernel bootargs from the
boot scripts.
Add "rootflags='data=journal'" bootarg to SD card boot script.
Signed-off-by: Daniel Schultz
---
.../phytec-som-am335x/defaultenv-physom-a
Add the EMMC node to the phycore-som device tree. It's by default
disabled, because NAND is the primary boot device.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/dts/a
Starting with PCM-062, NAND isn't the main non-volatile memory for the
AM335x. Because that, NAND has be disabled in the SOM dtsi file and will
be enabled in a specific NAND SOM file.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/lowlevel.c | 8
Add a new device tree for phyCORE SOMs with EMMC enabled and NAND
disabled.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/lowlevel.c| 1 +
arch/arm/dts/Makefile | 1 +
arch/arm/dts/am335x-phytec-phycore-som-emmc.dts | 35
This tool is for setting up eMMC devices.
Signed-off-by: Daniel Schultz
---
arch/arm/configs/am335x_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/am335x_defconfig
b/arch/arm/configs/am335x_defconfig
index 382133b..dd9c3c5 100644
--- a/arch/arm/configs
of the base integer instruction set and the machine mode
is mandatory. If there are troubles with this instruction, the core has
a faulty design. So executing this line should be okay even if there is
no interrupt controller.
--
Mit freundlichen Grüßen,
With best regar
CSR timer
+ */
+
+#include
+#include
+#include
+#include
+#include
+
+static uint64_t rdcycle_read(void)
+{
+ register unsigned long __v;
+
+ __asm__ __volatile__ ("rdcycle %0" : "=r" (__v));
+
Maybe you should also add support for 32-bit cores.
+ return __
Hi,
On 10/03/2017 12:21 AM, Antony Pavlov wrote:
On Mon, 2 Oct 2017 12:08:58 +0200
Daniel Schultz wrote:
Hi,
On 09/29/2017 02:07 PM, Oleksij Rempel wrote:
Hi,
hm... mostly looks identical with existing arch
Am 29.09.2017 um 01:12 schrieb Antony Pavlov:
Signed-off-by: Antony Pavlov
If a state with the name 'am335x_phytec_mac_state' is available, valid MAC
addresses from this state get registerd to their ethernet device.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/board.c | 22 ++
1 file changed, 22 insertions(+)
di
Enable the state framework for all AM335x boards.
---
arch/arm/configs/am335x_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/am335x_defconfig
b/arch/arm/configs/am335x_defconfig
index dd9c3c5..5a236fb 100644
--- a/arch/arm/configs/am335x_defconfig
+++ b/arch/arm
Add autoenable for components, which can be populated on an AM335x
phyCORE SoM.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/board.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boards/phytec-som-am335x/board.c
b/arch/arm/boards/phytec-som
This patch adds an API to automatically enable either hardware components
with existing device drivers or i2c clients. All functions take a device
tree path to find the hardware and will fix up the node status in the
kernel device tree, if it's accessible.
Signed-off-by: Daniel Sc
This patch adds the state framework with an EEPROM partition and two
nodes for MAC addresses. It will be available for all phycore AM335x
images with EEPROMs.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycore-som-emmc.dts| 1 +
.../dts/am335x-phytec-phycore-som-nand-no
These i2c nodes are needed for autoenable of i2c clients, because
the autoenable API searches for device tree nodes to get the client
address.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch
oller gets
reinitialized with the correct RAM timings.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/lowlevel.c | 150 +++
images/Makefile.am33xx | 24 ++---
2 files changed, 138 insertions(+), 36 deletions(-)
diff --git a/arch/
Make find_var public to grant access to state variables.
Make also the MAC node public to receive the stored address.
Signed-off-by: Daniel Schultz
---
common/state/state.h | 27 +--
include/state.h | 26 ++
2 files changed, 27 insertions
Enable the state framework for all AM335x boards.
---
arch/arm/configs/am335x_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/am335x_defconfig
b/arch/arm/configs/am335x_defconfig
index dd9c3c5..5a236fb 100644
--- a/arch/arm/configs/am335x_defconfig
+++ b/arch/arm
This API function allows to receive a copy of a MAC address from
variables in a state.
Signed-off-by: Daniel Schultz
---
Changes:
v2: New patch
common/state/state.c | 23 +++
include/state.h | 2 ++
2 files changed, 25 insertions(+)
diff --git a/common/state
Add a pointer in state_variable to the corresponding variable_type array
element.
Signed-off-by: Daniel Schultz
---
Changes:
v2: New patch
common/state/state.h | 1 +
common/state/state_variables.c | 5 +
2 files changed, 6 insertions(+)
diff --git a/common/state/state.h
oller gets
reinitialized with the correct RAM timings.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/lowlevel.c | 150 +++
images/Makefile.am33xx | 24 ++---
2 files changed, 138 insertions(+), 36 deletions(-)
diff --git a/arch/
If a state with the name 'am335x_phytec_mac_state' is available, valid
MAC addresses from this state get registerd to their ethernet device.
Signed-off-by: Daniel Schultz
---
Changes:
v2: Changed to new 'state_read_mac' function
arch/arm/boards/phytec-som
This patch adds the state framework with an EEPROM partition and two
nodes for MAC addresses. It will be available for all phycore AM335x
images with EEPROMs.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycore-som-emmc.dts| 1 +
.../dts/am335x-phytec-phycore-som-nand-no
This patch adds an API to automatically enable either hardware components
with existing device drivers or i2c clients. All functions take a device
tree path to find the hardware and will fix up the node status in the
kernel device tree, if it's accessible.
Signed-off-by: Daniel Sc
Add autoenable for components, which can be populated on an AM335x
phyCORE SoM.
Signed-off-by: Daniel Schultz
---
Changes:
v2: Created Phytec AM335x Kconfig PHYTEC_SOM_AM335X_OF_AUTOENABLE
Changed function names
arch/arm/boards/phytec-som-am335x/Kconfig | 13
These i2c nodes are needed for autoenable of i2c clients, because
the autoenable API searches for device tree nodes to get the client
address.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch
This patch adds the state framework with an EEPROM partition and two
nodes for MAC addresses. It will be available for all phycore AM335x
images with EEPROMs.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycore-som-emmc.dts| 1 +
.../dts/am335x-phytec-phycore-som-nand-no
These i2c nodes are needed for autoenable of i2c clients, because
the autoenable API searches for device tree nodes to get the client
address.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch
Add autoenable for components, which can be populated on an AM335x
phyCORE SoM.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/Kconfig | 13 +
arch/arm/boards/phytec-som-am335x/board.c | 13 +
arch/arm/mach-omap/Kconfig| 2 ++
3
This patch adds an API to automatically enable either hardware components
with existing device drivers or i2c clients. All functions take a device
tree path to find the hardware and will fix up the node status in the
kernel device tree, if it's accessible.
Signed-off-by: Daniel Sc
This API function allows to receive a copy of a MAC address from
variables in a state.
Signed-off-by: Daniel Schultz
---
Changes:
v2: New patch
v3: Changed return values
Switched to the new STATE_VARIABLE_TYPE_* field
Changed to memcpy function, instead of
oller gets
reinitialized with the correct RAM timings.
Signed-off-by: Daniel Schultz
---
arch/arm/boards/phytec-som-am335x/lowlevel.c | 150 +++
images/Makefile.am33xx | 24 ++---
2 files changed, 138 insertions(+), 36 deletions(-)
diff --git a/arch/
Enable the state framework for all AM335x boards.
---
arch/arm/configs/am335x_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/am335x_defconfig
b/arch/arm/configs/am335x_defconfig
index dd9c3c5..5a236fb 100644
--- a/arch/arm/configs/am335x_defconfig
+++ b/arch/arm
The variable_type struct holds a name of its type. Checking the type of
a variable with this string needs much resources.
This patch introduce a enum of the variable type for better type
checking.
Signed-off-by: Daniel Schultz
---
Changes:
v3: New patch.
common/state/state.h
1 - 100 of 122 matches
Mail list logo