On Mon, Jun 16, 2014 at 11:41:20AM +0400, Antony Pavlov wrote:
ENC28J60 is a stand-alone Ethernet controller with SPI Interface.
and integrated 10BASE-T PHY.
This driver was ported from linux-3.15.
The most notable barebox driver version changes:
* add device tree support;
* use
On Mon, Jun 16, 2014 at 12:00:12PM +0400, Antony Pavlov wrote:
can we move it to drivers/i2c/i2c-smbus.c?
Yes, why not?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str.
On Mon, Jun 16, 2014 at 12:00:13PM +0400, Antony Pavlov wrote:
TODOs:
* can we drop depricated device-tree properties?
Yes please. No need to introduce such stuff in barebox.
Otherwise the driver looks good.
Sascha
--
Pengutronix e.K. |
On Wed, Jun 18, 2014 at 09:41:02PM +0200, Jan Luebbe wrote:
This saves one second of user time on every interactive boot.
Signed-off-by: Jan Luebbe j...@pengutronix.de
Applied, thanks
Sascha
---
commands/ls.c | 11 +++
1 file changed, 11 insertions(+)
diff --git
On Wed, Jun 18, 2014 at 09:43:18PM +0200, Jan Luebbe wrote:
The bootargs are now autogenerated by barebox and the hostname should
not be preconfigured.
Signed-off-by: Jan Luebbe j...@pengutronix.de
Applied both, thanks
Sascha
---
.../boards/beaglebone/defaultenv-beaglebone/config|
On Fri, Jun 20, 2014 at 01:28:36AM +0400, Antony Pavlov wrote:
Antony Pavlov (4):
ARM: versatile: drop redundant mach/gpio.h
i2c: versatile: add devicetree support
ARM: versatile: switch to devicetree support
ARM: versatilepb_defconfig: enable devicetree support
Applied, thanks
On Sun, Jun 22, 2014 at 11:50:56PM +0200, Sebastian Hesselbarth wrote:
On 06/22/2014 10:34 PM, Alexander Aring wrote:
This patch add a basic support for the D-Link DNS-325.
Currently only booting via uart with kwboot is supported. The barebox
kwboot utility doesn't work at the moment.
On Sun, Jun 22, 2014 at 11:45:57PM +0200, Sebastian Hesselbarth wrote:
On 06/22/2014 10:34 PM, Alexander Aring wrote:
This patch initialize memory only if we boot a kirkwood arch with
device-tree probing. Otherwise some devices like timer or uart will
be probed twice.
Signed-off-by:
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
net/ifup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/ifup.c b/net/ifup.c
index 2e59025..de0c5f8 100644
--- a/net/ifup.c
+++ b/net/ifup.c
@@ -136,6 +136,8 @@ int ifup_all(unsigned flags)
while ((d = readdir(dir))) {
The boot-menu-add-entry script no longer exists. Remove it from
boot scripts.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/boards/archosg9/env/boot/sd-card-android| 5 -
arch/arm/boards/archosg9/env/boot/sd-card-linux | 5 -
Wouldn't it be better if barebox's shell gets the alias command?
This would solve a problem like this, and we also could get rid of one
of edit/sedit commands ...
___
barebox mailing list
barebox@lists.infradead.org
For i.MX devicetree boards the console= parameter is automatically
generated and can be dropped from the env files. If a file becomes
empty then, remove it.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/boards/boundarydevices-nitrogen6x/env/config-board | 6 --
Whaaa, it never occured to me that I have to enable the framebuffer as
well... thanks, now it works.
As for simplefb, I removed that. I thought that this sets up a
framebuffer in the bootloader, which when Linux' framebuffer driver
takes over, without reprogramm or screen flicker. However, it
On Mon, Jun 23, 2014 at 09:25:02AM +0200, Holger Schurig wrote:
Whaaa, it never occured to me that I have to enable the framebuffer as
well... thanks, now it works.
barebox has nothing useful to show on the screen until some splash
command has been executed, so it's better to leave the
On Mon, Jun 23, 2014 at 09:20:40AM +0200, Holger Schurig wrote:
Wouldn't it be better if barebox's shell gets the alias command?
This would solve a problem like this, and we also could get rid of one
of edit/sedit commands ...
Why not? Send patches ;)
Sascha
--
Pengutronix e.K.
Crazy things happen if there are resource conflicts and a device probe
runs dev_request_mem_region. The dev_request_mem_region returns a
start pointer which is zero. The probe function doesn't check on this
and probing the device on zero base address.
To debug this in debug log level there are
On Mon, Jun 23, 2014 at 09:44:28AM +0200, Sascha Hauer wrote:
On Mon, Jun 23, 2014 at 09:20:40AM +0200, Holger Schurig wrote:
Wouldn't it be better if barebox's shell gets the alias command?
This would solve a problem like this, and we also could get rid of one
of edit/sedit commands ...
My preferred solution is to be fast enough in the bootloader
and show a splash screen under Linux only.
Hmm, I'd like to not do that. Splash screen from Linux usually means
that I need an initrd. And an initrd is seldom needed on an embedded
device (i.e. no complicated RAID or DM setup). And it
Seems like ls -l is right, but devinfo is wrong:
barebox:/ ls -l /dev/m25p0
crw--- 67108864 /dev/m25p0
barebox:/ devinfo m25p0
Parameters:
size: 5468012149590870304
erasesize: 4096
writesize: 1
oobsize: 0
barebox:/ of_dump /soc/aips-bus@0200/spba-bus@0200/ecspi@0201
On Mon, Jun 23, 2014 at 11:28:09AM +0200, Holger Schurig wrote:
Seems like ls -l is right, but devinfo is wrong:
barebox:/ ls -l /dev/m25p0
crw--- 67108864 /dev/m25p0
barebox:/ devinfo m25p0
Parameters:
size: 5468012149590870304
erasesize: 4096
writesize: 1
oobsize: 0
On Mon, Jun 23, 2014 at 10:42:55AM +0200, Holger Schurig wrote:
My preferred solution is to be fast enough in the bootloader
and show a splash screen under Linux only.
Hmm, I'd like to not do that. Splash screen from Linux usually means
that I need an initrd. And an initrd is seldom needed
On Mon, Jun 23, 2014 at 10:42:55AM +0200, Holger Schurig wrote:
My preferred solution is to be fast enough in the bootloader
and show a splash screen under Linux only.
Hmm, I'd like to not do that. Splash screen from Linux usually means
that I need an initrd. And an initrd is seldom needed
This fixes Armada 370 TCLK frequencies that are off by
a factor of 10.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
drivers/clk/mvebu/armada-370.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Timers found on Marvell Armada 370 and XP require different setup.
While timer clock on Armada 370 can be derived from a divided
reference clocks, Armada XP always uses a 25MHz reference.
This also updates compatibles to destinguish timers for both SoCs
and fixes some whitespace issues on
This patch set converts Kirkwood and Armada 370/XP to DT and provides
PBL_MULTI_IMAGE support as we already have for Dove.
Patch 1 resorts pbl entries in arch/arm/dts/Makefile back to alphabetical
order.
Patch 2 reworks mvebu pbl image Makefile to ease integration of other SoCs.
Patches 3 and 4
This converts Marvell Kirkwood based Globalscale Guruplug to
PBL_MULTI_IMAGES.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
arch/arm/boards/globalscale-guruplug/Makefile | 1 +
arch/arm/boards/globalscale-guruplug/lowlevel.c | 35
Clean up pbl Makefile entries, that are out of alphabetical order.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
arch/arm/dts/Makefile | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git
With all SoCs converted to DT based probing, select
PBL_MULTI_IMAGES support and get rid of SoCs Kconfig
choice to allow multiple boards to be selected.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
arch/arm/Kconfig| 1 +
All current boards use the same TEXT_BASE, therefore set the default
TEXT_BASE by SoC instead of by board.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
arch/arm/mach-mvebu/Kconfig | 10 --
1 file changed, 4 insertions(+), 6
This converts Marvell Armada XP based Marvell Armada XP GP
to PBL_MULTI_IMAGES. A DT overlay is added to keep possible
barebox-specific changes separated and added to lowlevel
board init.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
With Armada 370/XP DT files available, convert Armada 370/XP SoC init
to register basic devices from DT only. Makefile targets for dtbs will
be removed again as soon as MULTI_PBL is available.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
This reorders images/Makefile.mvebu targets by board to ease integration
of new boards.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
images/Makefile.mvebu | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff
MULTI_PBL images have a built-in dtb by default. With all MVEBU
SoCs converted to MULTI_PBL images, get rid of the extra Makefile
rules for appended dtbs.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
arch/arm/dts/Makefile | 6 --
This converts Marvell Armada 370 based Globalscale Mirabox
to PBL_MULTI_IMAGES. A DT overlay is added to keep possible
barebox-specific changes separated and added to lowlevel
board init.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
This removes the stale mach/mvebu.h include as there is no user of it.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
---
arch/arm/mach-mvebu/include/mach/mvebu.h | 22 --
1 file changed, 22 deletions(-)
delete mode
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
---
.../devicetree/bindings/gpio/gpio_i2c.txt | 32 +
drivers/i2c/busses/i2c-gpio.c | 54 +++--
include/of_gpio.h | 55 ++
3 files
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 9a240b7..f6b9765 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -44,6 +44,7 @@ config MACH_MIPS_MALTA
Antony Pavlov (7):
gpio: add Malta CBUS FPGA I2C driver
MIPS: add asm/gpio.h header file
MIPS: malta: enable gpiolib
MIPS: dts: qemu-malta.dts: enable CBUS FPGA I2C gpio driver
i2c: i2c_gpio: add devicetree support
MIPS: dts: qemu-malta.dts: use i2c-gpio for accessing CBUS FPGA I2C
This driver provides common support for accessing
the CBUS FPGA I2C lines through the gpio library.
Additional i2c bitbang driver must be enabled
in order to use the functionality of the i2c controller.
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
---
drivers/gpio/Kconfig
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
---
arch/mips/include/asm/gpio.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/include/asm/gpio.h b/arch/mips/include/asm/gpio.h
new file mode 100644
index 000..41a9589
--- /dev/null
+++ b/arch/mips/include/asm/gpio.h
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
---
arch/mips/configs/qemu-malta_defconfig | 60 ++
1 file changed, 32 insertions(+), 28 deletions(-)
diff --git a/arch/mips/configs/qemu-malta_defconfig
b/arch/mips/configs/qemu-malta_defconfig
index
41 matches
Mail list logo