On Tue, 2018-12-18 at 15:26 +0100, Peter Korsgaard wrote:
> > > > > > "Sascha" == Sascha Hauer writes:
>
> > On Tue, Dec 18, 2018 at 11:47:35AM +0100, Rouven Czerwinski wrote:
> >> This patch series adds support for the raspberry pi miniuart
> (also called
> >> aux-uart) to barebox.
> >>
> "Sascha" == Sascha Hauer writes:
> On Tue, Dec 18, 2018 at 11:47:35AM +0100, Rouven Czerwinski wrote:
>> This patch series adds support for the raspberry pi miniuart (also called
>> aux-uart) to barebox.
>> With this series the miniuart overlay is no longer necessary to start
>>
On Tue, Dec 18, 2018 at 01:40:03PM +0100, Teresa Remmet wrote:
> Signed-off-by: Teresa Remmet
> ---
> commands/nand-bitflip.c | 1 +
> 1 file changed, 1 insertion(+)
>
Applied, thanks
Sascha
> diff --git a/commands/nand-bitflip.c b/commands/nand-bitflip.c
> index a8a97c153aa0..cfde2f4040e7
On Tue, Dec 18, 2018 at 11:47:35AM +0100, Rouven Czerwinski wrote:
> This patch series adds support for the raspberry pi miniuart (also called
> aux-uart) to barebox.
> With this series the miniuart overlay is no longer necessary to start barebox
> on
> Raspberry Pi 3.
>
> v5:
> - Add defines
Add a flag to sort directory entries before recursing into them.
Since this part of lib/ is used inside barebox as well as in
scripts/bareboxenv.c, we cannot easily use stringlists from lib/, which
would have made the code a bit nicer.
Further, add poison.h from kernel 4.5-rc1, which was the
The resulting environment was dependend of the build machines'
filesystem, i.e. the order in which readdir returns dirents depends on
the filesystem implementation.
Use the new flag in scripts/bareboxenv.c for generating a reproducible
built-in environment.
Signed-off-by: Florian Bäuerle
---
Signed-off-by: Teresa Remmet
---
commands/nand-bitflip.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/commands/nand-bitflip.c b/commands/nand-bitflip.c
index a8a97c153aa0..cfde2f4040e7 100644
--- a/commands/nand-bitflip.c
+++ b/commands/nand-bitflip.c
@@ -107,6 +107,7 @@
On Tue, Dec 18, 2018 at 12:32:50PM +0300, Antony Pavlov wrote:
> > Beside, go you agree to upgrade files copyrighted by you as
> > GPL-2.0-or-later?
>
> Not now. We use many codes from linux kernel (mostly GPL-2.0-only).
> Can we face the problems of porting linux kernel code to barebox?
>
> I
Previously the clkdev_add_phybase was called on magic register values,
add defines which clarify the device for which the phybase clkdev is created.
Signed-off-by: Rouven Czerwinski
---
arch/arm/boards/raspberry-pi/rpi-common.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
Since the 16550 driver now supports the RPI3 miniuart, enable it in the default
config.
Signed-off-by: Rouven Czerwinski
---
arch/arm/configs/rpi_defconfig | 1 +
drivers/serial/serial_ns16550.c | 6 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git
Add the compatible for the Raspberry Pi AUX UART and an init function which
enables it via the aux register and configures the correct shift value.
Signed-off-by: Rouven Czerwinski
---
drivers/serial/serial_ns16550.c | 25 +
1 file changed, 25 insertions(+)
diff --git
The miniuart uses the core clock as the clock source. This clock is fixed by the
firmware to 250Mhz if enable_uart=1 is set in the config.txt file.
However a user could still choose to overclock the core frequency,
which would result in wrong baudrates computed by barebox.
Retrieve the core clock
We don't know if the firmware running on the raspberry pi is the same firmware
which is running on all bcm283x devices.
Therefore move the console clock initialization into the rpi-common.c board
file.
A future commit will use this function to retrieve the miniuart clock from the
raspberry pi
Since we now support the miniuart, enable it as the default stdout port.
With this change the device tree overlay to switch the miniuart to bluetooth is
no longer necessary.
Signed-off-by: Rouven Czerwinski
---
arch/arm/dts/bcm2837-rpi-3.dts | 7 +--
1 file changed, 1 insertion(+), 6
This patch series adds support for the raspberry pi miniuart (also called
aux-uart) to barebox.
With this series the miniuart overlay is no longer necessary to start barebox on
Raspberry Pi 3.
v5:
- Add defines for register and base values
from Sascha Hauer and Roland Hieber
v4:
- Fix
Since we now use the miniuart on the raspberry pi 3, the miniuart overlay is no
longer needed.
Signed-off-by: Rouven Czerwinski
---
Documentation/boards/bcm2835.rst | 1 -
1 file changed, 1 deletion(-)
diff --git a/Documentation/boards/bcm2835.rst b/Documentation/boards/bcm2835.rst
index
According to the device tree bindings for 8250, width is an optional property.
Default to 1 which is the same default value as used by the kernel.
Before this change the driver would not work for device trees which do not
include the optional binding.
Signed-off-by: Rouven Czerwinski
---
Signed-off-by: Rouven Czerwinski
---
arch/arm/boards/raspberry-pi/rpi-common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c
b/arch/arm/boards/raspberry-pi/rpi-common.c
index b7ce0ad..9f0531f 100644
---
On Tue, 18 Dec 2018 09:29:20 +0100
Oleksij Rempel wrote:
> Hi,
>
> On 18.12.18 08:32, Antony Pavlov wrote:
> > On Sat, 15 Dec 2018 11:02:33 +0100
> > Oleksij Rempel wrote:
> >
> >> Signed-off-by: Oleksij Rempel
> >> ---
> >> arch/mips/boards/8devices-lima/lowlevel.S | 14
On Tue, Dec 18, 2018 at 09:39:19AM +0100, Rouven Czerwinski wrote:
> On Tue, 2018-12-18 at 08:21 +0100, Sascha Hauer wrote:
> > On Mon, Dec 17, 2018 at 09:10:40AM +0100, Rouven Czerwinski wrote:
> > > The miniuart uses the core clock as the clock source. This clock is
> > > fixed by the
> > >
On Tue, 2018-12-18 at 08:21 +0100, Sascha Hauer wrote:
> On Mon, Dec 17, 2018 at 09:10:40AM +0100, Rouven Czerwinski wrote:
> > The miniuart uses the core clock as the clock source. This clock is
> > fixed by the
> > firmware to 250Mhz if enable_uart=1 is set in the config.txt file.
> > However a
On 18.12.18 08:19, Antony Pavlov wrote:
This patch adds macros for ns16550 port initialization
and single char output. The macros can be used in
MIPS asm pbl code.
Signed-off-by: Antony Pavlov
---
arch/riscv/include/asm/debug_ll_ns16550.h | 182 ++
1 file changed, 182
Hi,
On 18.12.18 08:32, Antony Pavlov wrote:
On Sat, 15 Dec 2018 11:02:33 +0100
Oleksij Rempel wrote:
Signed-off-by: Oleksij Rempel
---
arch/mips/boards/8devices-lima/lowlevel.S | 14 +-
arch/mips/boards/black-swift/lowlevel.S | 14 +-
23 matches
Mail list logo