Enable DM_SERIAL for the xtensa architecture and update xtfpga_defconfig
Signed-off-by: Max Filippov
---
arch/Kconfig | 1 +
configs/xtfpga_defconfig | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index ea33d07c086b
I was able to build working u-Boot for the kc705 xtfpga variant with the
change below. I can submit a proper patch If it looks correct:
--8<--
>From f0b6e632da8b72f0437a39dc1769b740fef04cf6 Mon Sep 17 00:00:00 2001
From: Max Filippov
Date: Sun, 4 May 2025 18:40:44 -0700
Subject: [PATCH] WIP:
a/toolchain/releases/download/2020.07/x86_64-2020.07-xtensa-dc232b-elf.tar.gz
>
> Signed-off-by: Jiaxun Yang
> ---
> Changes in v2:
> - Fix noMMU memory mappings
> - Addressing Max's comments in other patches
> - Link to v1:
> https://lore.kernel.org/r/20240519-qemu-xte
On Tue, May 21, 2024 at 1:20 AM Jiaxun Yang wrote:
> 在2024年5月21日五月 上午8:35,Max Filippov写道:
> >> +++ b/board/emulation/qemu-xtensa/MAINTAINERS
> >> @@ -0,0 +1,7 @@
> >> +QEMU XTENSA 'VIRT' BOARD
> >> +M: Jiaxun Yang
> >> +S: Ma
On Tue, May 21, 2024 at 12:12 AM Max Filippov wrote:
> On Mon, May 20, 2024 at 9:00 AM Jiaxun Yang wrote:
> > >> diff --git a/arch/xtensa/config.mk b/arch/xtensa/config.mk
> > >> index b080e403..3ec936272f25 100644
> > >> --- a/arch/xtensa/confi
On Sun, May 19, 2024 at 1:54 PM Jiaxun Yang wrote:
>
> Introduce the new board, define every bits.
>
> Signed-off-by: Jiaxun Yang
> ---
> arch/xtensa/Kconfig | 5 +++
> board/emulation/qemu-xtensa/Kconfig | 41 +
> board/emulation/qemu-xtensa/MAIN
On Mon, May 20, 2024 at 9:00 AM Jiaxun Yang wrote:
> >> diff --git a/arch/xtensa/config.mk b/arch/xtensa/config.mk
> >> index b080e403..3ec936272f25 100644
> >> --- a/arch/xtensa/config.mk
> >> +++ b/arch/xtensa/config.mk
> >> @@ -7,3 +7,6 @@ PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls
> >>
On Sun, May 19, 2024 at 1:53 PM Jiaxun Yang wrote:
>
> Add xtensa semihosting driver.
>
> It can't use regular semihosting driver as Xtensa's has it's own
> semihosting ABI.
>
> Note that semihosting supports puts in serial but I never managed to
> get it work, so it's putc only for now.
I wonder
gt; arch/xtensa/include/asm/platform/simcall-iss.h | 73 +++
> arch/xtensa/include/asm/platform/simcall.h | 110
> +++
> 4 files changed, 244 insertions(+)
Reviewed-by: Max Filippov
--
Thanks.
-- Max
On Sun, May 19, 2024 at 1:53 PM Jiaxun Yang wrote:
>
> u-boot.elf target requiures it to work.
Typo.
> Signed-off-by: Jiaxun Yang
> ---
> arch/xtensa/config.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/xtensa/config.mk b/arch/xtensa/config.mk
> index b080e403..3ec936
On Fri, Sep 17, 2021 at 5:04 AM Tom Rini wrote:
> So this is in context with:
> https://patchwork.ozlabs.org/project/uboot/list/?series=256258
> and specifically:
> https://patchwork.ozlabs.org/project/uboot/patch/20210802131838.21097-7-p...@kernel.org/
Yes, I've found that series and the purpose
On Thu, Sep 16, 2021 at 12:42 PM Tom Rini wrote:
> We also don't have qemu support for it
I'm curious what happened to it and what I should do to update it?
xtensa is still supported in the QEMU and AFAIK nothing has changed
about it: neither building nor invocation.
--
Thanks.
-- Max
On Thu, Sep 16, 2021 at 10:30 AM Tom Rini wrote:
>
> Update the linker script macros to know that we need to include the
> .text_version_string section now as well.
>
> Signed-off-by: Tom Rini
> ---
> arch/xtensa/include/asm/ldscript.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arc
Hi Daniel,
On Mon, Sep 24, 2018 at 12:40 PM, Daniel Schwierzeck
wrote:
> I see you set the SYS_CPU string manually. I think this is error-prone
> and not user-friendly. I suggest to convert this to Kconfig symbols like
> this:
>
> config SYS_CPU
> default "dc232b" if CPU_DC232B
>
On Sun, Sep 23, 2018 at 1:02 PM, Daniel Schwierzeck
wrote:
> Create a new Kconfig menu called 'Standalone programs' with
> 'Program load address' as menu entry. It's possible now to build without
> the standalone example. Anyway the default value for CONFIG_STANDALONE
> is 'y' to maintain the curr
On Mon, Sep 10, 2018 at 11:46 AM, Trent Piepho wrote:
> On Wed, 2018-09-05 at 06:57 -0500, Adam Ford wrote:
>> On Wed, Sep 5, 2018 at 3:46 AM Alex Kiernan wrote:
>> >
>> > On Tue, Sep 4, 2018 at 3:54 PM Andy Shevchenko
>> > wrote:
>> > >
>> > > On Tue, Sep 4, 2018 at 5:50 PM Andy Shevchenko
>> >
On Sat, Sep 8, 2018 at 2:39 AM, Chris Packham wrote:
> Make use of asm-generic/atomic.h.
>
> Signed-off-by: Chris Packham
> ---
>
> arch/xtensa/include/asm/atomic.h | 44 +---
> 1 file changed, 1 insertion(+), 43 deletions(-)
Acked-by: Max
Drop CONFIG_SYS_MEMORY_TOP. Rename CONFIG_SYS_TEXT_ADDR to
XTENSA_SYS_TEXT_ADDR.
Signed-off-by: Max Filippov
---
arch/xtensa/cpu/start.S| 2 +-
arch/xtensa/cpu/u-boot.lds | 4 ++--
include/configs/xtfpga.h | 5 ++---
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/arch
Signed-off-by: Max Filippov
---
board/cadence/xtfpga/Kconfig | 5 +
include/configs/xtfpga.h | 7 ---
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/board/cadence/xtfpga/Kconfig b/board/cadence/xtfpga/Kconfig
index 69296be49c7a..67ae3860b6d4 100644
--- a/board/cadence
Hello,
this series moves SYS_MONITOR_LEN to Kconfig for board/cadence/xtfpga,
removes SYS_MEMORY_TOP and renames CONFIG_SYS_TEXT_ADDR to
XTENSA_SYS_TEXT_ADDR.
Max Filippov (2):
board/cadence/xtfpga: move SYS_MONITOR_LEN to Kconfig
xtensa: clean up CONFIG_SYS_TEXT_ADDR
arch/xtensa/cpu
On Mon, Feb 12, 2018 at 1:03 PM, Tom Rini wrote:
>> On Mon, Feb 12, 2018 at 6:23 AM, Tom Rini wrote:
>> > I'm largely ok with the above, but:
>> > - For Xtensa (Max?), CONFIG_SYS_TEXT_ADDR needs to be renamed to
>> > CONFIG_SYS_TEXT_BASE there
>>
>> For xtensa that address is defined as an expr
Hello,
On Tue, Jan 30, 2018 at 7:23 AM, Alexey Brodkin
wrote:
> CONFIG_SYS_TEXT_BASE must be set anyways and then it is used in many
> places in the same Makefile without any checks
Why? xtensa doesn't use any of it.
On Mon, Feb 12, 2018 at 6:23 AM, Tom Rini wrote:
> I'm largely ok with the ab
xtensa toolchains are core-specific, so give full toolchain name and
download corresponding prebuilt toolchain from the github release.
Signed-off-by: Max Filippov
---
.travis.yml | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index
This allows running tests on emulated KC705 board with DC233C xtensa
core. It expects to find conf.xtfpga_qemu in the uboot-test-hooks.
Signed-off-by: Max Filippov
---
.travis.yml | 7 +++
1 file changed, 7 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 8e96a269299f
no falures in the testsuite.
Max Filippov (3):
.travis.yml: download xtensa prebuilt toolchain
xtfpga: enable hush parser
.travis.yml: test xtensa xtfpga board in QEMU
.travis.yml | 15 +--
configs/xtfpga_defconfig | 1 +
include/configs/xtfpga.h | 2 --
3 files chan
Remove CONFIG_BOOT_RETRY_TIME as it doesn't do much good and enable
CONFIG_HUSH_PARSER in xtfpga_defconfig.
Signed-off-by: Max Filippov
---
Changes v1->v2:
- new patch
configs/xtfpga_defconfig | 1 +
include/configs/xtfpga.h | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff
xtensa toolchains are core-specific, so give full toolchain name and
download corresponding prebuilt toolchain from the github release.
Signed-off-by: Max Filippov
---
.travis.yml | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index
This allows running tests on emulated KC705 board with DC233C xtensa
core. It expects to find conf.xtfpga_qemu in the uboot-test-hooks.
Signed-off-by: Max Filippov
---
.travis.yml | 7 +++
1 file changed, 7 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 8e96a269299f
cause hush is not enabled in the
xtfpga_defconfig.
Max Filippov (2):
.travis.yml: download xtensa prebuilt toolchain
.travis.yml: test xtensa xtfpga board in QEMU
.travis.yml | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
--
command line option "-mlongcalls"
cc1: error: unrecognized command line option "-mauto-litpools"
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
---
Changes v1->v2:
- remove "" after CFLAGS=
tools/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(
On Thu, Mar 16, 2017 at 2:11 PM, Tom Rini wrote:
> On Thu, Mar 16, 2017 at 11:38:00AM -0700, Max Filippov wrote:
>
>> When building u-boot tools in cross-build environment CFLAGS environment
>> variable set up for target is taken into an account when building code
>> for
command line option "-mlongcalls"
cc1: error: unrecognized command line option "-mauto-litpools"
Signed-off-by: Max Filippov
---
tools/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 1c840d7..c224e8a 100644
only been build-tested, feedback from architecture maintainers
> is welcome.
>
> Signed-off-by: Paul Burton
> Cc: Max Filippov
> ---
>
> arch/xtensa/include/asm/io.h | 25 ++---
> 1 file changed, 2 insertions(+), 23 deletions(-)
Acke
From: Chris Zankel
DC232B is an xtensa processor with full MMUv2 capable of running Linux.
Core information files are autogenerated from the processor description
and are not meant to be edited.
Signed-off-by: Chris Zankel
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
Reviewed-by: Tom
t, ns16550 serial,
lcd display, flash, etc.).
Signed-off-by: Chris Zankel
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
---
Changes v3->v4:
- rebase to sysreset consolidation patch, move sysreset driver to
drivers/sysreset.
---
arch/xtensa/Kconfig
DC233C is an xtensa processor with full MMUv3 capable of running Linux.
Core information files are autogenerated from the processor description
and are not meant to be edited.
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
---
arch/xtensa/include/asm/arch-dc233c
ris Zankel
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
---
Changes v3->v4:
- use __attribute__((section(".data"))) with gd;
- always define interrupt_init, enable_interrupts and disable_interrupts;
---
arch/Kconfig | 6 +
arch/xtensa/Kconfig
DE212 is a general purpose xtensa processor without full MMU.
Core information files are autogenerated from the processor description
and are not meant to be edited.
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
---
arch/xtensa/include/asm/arch-de212/core.h
additional
drivers will be in separate commits.
Signed-off-by: Chris Zankel
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
---
MAINTAINERS | 5 +++
Makefile| 10 -
cmd/bdinfo.c| 8
common/board_f.c
ssor
xtensa: add support for the 'xtfpga' evaluation board
Max Filippov (2):
xtensa: add core information for the dc233c processor
xtensa: add core information for the de212 processor
MAINTAINERS | 5 +
Makefile
Create drivers/sysreset and move sysreset-uclass and all sysreset
drivers there.
Signed-off-by: Max Filippov
---
Changes v1->v2:
- move RK3399 sysreset driver as well;
- format patch with -M to make renames explicit.
---
arch/arm/mach-rockchip/rk3036/Makefile | 1 -
arch/
On Sat, Aug 6, 2016 at 4:41 AM, Simon Glass wrote:
> On 5 August 2016 at 17:00, Max Filippov wrote:
>> From: Chris Zankel
>>
>> The 'xtfpga' board is actually a set of FPGA evaluation boards that
>> can be configured to run an Xtensa processor.
>>
On Sat, Aug 6, 2016 at 4:41 AM, Simon Glass wrote:
> On 5 August 2016 at 17:00, Max Filippov wrote:
>> From: Chris Zankel
>>
>> The Xtensa processor architecture is a configurable, extensible,
>> and synthesizable 32-bit RISC processor core provided by Tensilica, in
Create drivers/sysreset and move sysreset-uclass and all sysreset
drivers there.
Signed-off-by: Max Filippov
---
arch/arm/mach-rockchip/rk3036/Makefile | 1 -
arch/arm/mach-rockchip/rk3036/reset_rk3036.c | 45
arch/arm/mach-rockchip/rk3288/Makefile | 1 -
arch/arm
t, ns16550 serial,
lcd display, flash, etc.).
Signed-off-by: Chris Zankel
Signed-off-by: Max Filippov
---
Changes v2->v3:
- drop LCD display support;
- add reset driver;
- add ethernet device configuration for DM_ETH driver;
- enable phylib in defconfig;
---
arch/xtensa/Kconfig
DE212 is a general purpose xtensa processor without full MMU.
Core information files are autogenerated from the processor description
and are not meant to be edited.
Signed-off-by: Max Filippov
---
Changes v2->v3:
- fix core configuration files license;
- add comment that core configurat
DC233C is an xtensa processor with full MMUv3 capable of running Linux.
Core information files are autogenerated from the processor description
and are not meant to be edited.
Signed-off-by: Max Filippov
---
Changes v2->v3:
- fix core configuration files license;
- add comment that c
From: Chris Zankel
DC232B is an xtensa processor with full MMUv2 capable of running Linux.
Core information files are autogenerated from the processor description
and are not meant to be edited.
Signed-off-by: Chris Zankel
Signed-off-by: Max Filippov
---
Changes v2->v3:
- fix c
ris Zankel
Signed-off-by: Max Filippov
---
Changes v2->v3:
- fix comment wording and stylistic issues;
- drop {HAVE,SYS}_GENERIC_BOARD from Kconfig;
- drop ASCDISP, display_printf and include/asm/xtensa.h;
- drop 10 second delay in unhandled_exception;
- don's silence invalid memory access
xtensa: add support for the xtensa processor architecture [2/2]
xtensa: add core information for the dc232b processor
xtensa: add support for the 'xtfpga' evaluation board
Max Filippov (2):
xtensa: add core information for the dc233c processor
xtensa: add core information for th
additional
drivers will be in separate commits.
Signed-off-by: Chris Zankel
Signed-off-by: Max Filippov
---
Changes v2->v3:
- drop changes to the MAKEALL script;
- refactor do_bdinfo;
- fix wording of doc/README.xtensa;
- rewrite memory exception handling part in doc/README.xtensa.
- add bss cle
Addresses used in buffer descriptors and passed in platform data or
device tree are physical. Addresses used by CPU to access packet data
and registers are virtual. Don't mix these addresses and use virt_to_phys
for translation.
Signed-off-by: Max Filippov
Acked-by: Joe Hershberger
---
dr
Add .of_match table and .ofdata_to_platdata callback to allow for ethoc
device configuration from the device tree.
Signed-off-by: Max Filippov
Acked-by: Joe Hershberger
---
drivers/net/ethoc.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/ethoc.c b/drivers
Extract reusable parts from ethoc_init, ethoc_set_mac_address,
ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH.
Add U_BOOT_DRIVER, eth_ops structure and implement required methods.
Signed-off-by: Max Filippov
Reviewed-by: Simon Glass
Acked-by: Joe Hershberger
---
Changes
Don't use physical base address of registers directly, ioremap it first.
Save pointer in private struct ethoc and use that struct in all internal
functions.
Signed-off-by: Max Filippov
Acked-by: Joe Hershberger
---
drivers/net/ethoc.c
Implement MDIO bus read/write functions, initialize the bus and scan for
the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps.
Cc: Michal Simek
Signed-off-by: Max Filippov
---
Changes v1->v2:
- use wait_for_bit in ethoc_mdio_read/ethoc_mdio_write;
- remove stray ioremap remo
in ethoc_mdio_read/ethoc_mdio_write;
- remove stray ioremap addition/removal across the series.
Max Filippov (7):
net/ethoc: add Kconfig entry for the driver
net/ethoc: use priv instead of dev internally
net/ethoc: add CONFIG_DM_ETH support
net/ethoc: support device tree
net/ethoc: don't mix vir
callback.
Signed-off-by: Max Filippov
Acked-by: Joe Hershberger
---
drivers/net/ethoc.c | 46
include/dm/platform_data/net_ethoc.h | 1 +
2 files changed, 42 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
Add Kconfig entry for the driver, remove #define CONFIG_ETHOC from the
only board configuration that uses it and put it into that board's
defconfig.
Cc: Stefan Kristiansson
Signed-off-by: Max Filippov
Acked-by: Joe Hershberger
---
configs/openrisc-generic_defconfig | 2 ++
drivers/net/Kc
On Thu, Aug 4, 2016 at 11:48 PM, Joe Hershberger
wrote:
> On Tue, Aug 2, 2016 at 6:31 AM, Max Filippov wrote:
>> Implement MDIO bus read/write functions, initialize the bus and scan for
>> the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps.
>>
>> Cc: Mic
On Thu, Aug 4, 2016 at 8:51 PM, Joe Hershberger
wrote:
> On Tue, Aug 2, 2016 at 6:31 AM, Max Filippov wrote:
>> Extract reusable parts from ethoc_init, ethoc_set_mac_address,
>> ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH.
>> Add U_BOOT_DRIVER,
Implement MDIO bus read/write functions, initialize the bus and scan for
the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps.
Cc: Michal Simek
Signed-off-by: Max Filippov
---
drivers/net/ethoc.c | 152 +---
1 file changed, 146
Add Kconfig entry for the driver, remove #define CONFIG_ETHOC from the
only board configuration that uses it and put it into that board's
defconfig.
Cc: Stefan Kristiansson
Signed-off-by: Max Filippov
---
configs/openrisc-generic_defconfig | 2 ++
drivers/net/Kconfig
Addresses used in buffer descriptors and passed in platform data or
device tree are physical. Addresses used by CPU to access packet data
and registers are virtual. Don't mix these addresses and use virt_to_phys
for translation.
Signed-off-by: Max Filippov
---
drivers/net/ethoc.c
callback.
Signed-off-by: Max Filippov
---
drivers/net/ethoc.c | 46
include/dm/platform_data/net_ethoc.h | 1 +
2 files changed, 42 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
index e25dd1b..fa623d5 100644
Add .of_match table and .ofdata_to_platdata callback to allow for ethoc
device configuration from the device tree.
Signed-off-by: Max Filippov
---
drivers/net/ethoc.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
index 0225595
Extract reusable parts from ethoc_init, ethoc_set_mac_address,
ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH.
Add U_BOOT_DRIVER, eth_ops structure and implement required methods.
Signed-off-by: Max Filippov
---
drivers/net/ethoc.c | 221
address usage.
Please review.
Max Filippov (7):
net/ethoc: add Kconfig entry for the driver
net/ethoc: use priv instead of dev internally
net/ethoc: add CONFIG_DM_ETH support
net/ethoc: support device tree
net/ethoc: don't mix virtual and physical addresses
net/ethoc: support pr
Don't use physical base address of registers directly, ioremap it first.
Save pointer in private struct ethoc and use that struct in all internal
functions.
Signed-off-by: Max Filippov
---
drivers/net/ethoc.c | 111 ++--
1 file change
Tom, Simon,
On Mon, Aug 1, 2016 at 4:03 AM, Simon Glass wrote:
> On 27 July 2016 at 18:57, Max Filippov wrote:
>> print_std_bdinfo outputs typical set of board information entries:
>> boot params location, memory and flash addresses and sizes, network
>> interfaces infor
print_bi_dram outputs start address and size for each DRAM bank.
Signed-off-by: Max Filippov
---
Changes v1->v2:
- fix build for architectures w/o CONFIG_NR_DRAM_BANKS and bi_dram in
bd_t.
cmd/bdinfo.c | 60 +++-
1 file changed,
print_std_bdinfo outputs typical set of board information entries:
boot params location, memory and flash addresses and sizes, network
interfaces information and configured serial baud rate.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 32
1 file changed, 12
print_bi_boot_params outputs boot parameters structure location.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index f2435ab..60aaafb 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
print_bi_flash outputs flashstart, flashsize and flashoffset lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 54 +++---
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index c8a0511..0bef930 100644
print_baudrate outputs serial baud rate.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 4ffb757..403ed3e 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
print_eth_ip_addr outputs eth configurations for up to 6 interfaces and
configured IP address.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 113 +++
1 file changed, 36 insertions(+), 77 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd
print_bi_mem outputs memstart and memsize lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 42 ++
1 file changed, 26 insertions(+), 16 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 60aaafb..df68b58 100644
--- a/cmd/bdinfo.c
+++ b/cmd
Hi,
this series extracts common parts of cmd/bdinfo.c used by various
architectures into reusable functions.
Changes v1->v2:
- fix build for architectures w/o CONFIG_NR_DRAM_BANKS and bi_dram in
bd_t.
Please review.
Max Filippov (7):
cmd/bdinfo: extract print_bi_boot_params
cmd/bdi
print_baudrate outputs serial baud rate.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index ab56ea5..b4abb91 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
print_std_bdinfo outputs typical set of board information entries:
boot params location, memory and flash addresses and sizes, network
interfaces information and configured serial baud rate.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 32
1 file changed, 12
print_bi_flash outputs flashstart, flashsize and flashoffset lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 54 +++---
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 2f37232..f89de5f 100644
print_bi_mem outputs memstart and memsize lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 42 ++
1 file changed, 26 insertions(+), 16 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 60aaafb..df68b58 100644
--- a/cmd/bdinfo.c
+++ b/cmd
print_eth_ip_addr outputs eth configurations for up to 6 interfaces and
configured IP address.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 113 +++
1 file changed, 36 insertions(+), 77 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd
Hi,
this series extracts common parts of cmd/bdinfo.c used by various
architectures into reusable functions.
Please review.
Max Filippov (7):
cmd/bdinfo: extract print_bi_boot_params
cmd/bdinfo: extract print_bi_mem
cmd/bdinfo: extract print_bi_dram
cmd/bdinfo: extract print_bi_flash
print_bi_dram outputs start address and size for each DRAM bank.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 58 +-
1 file changed, 17 insertions(+), 41 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index df68b58..2f37232
print_bi_boot_params outputs boot parameters structure location.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index f2435ab..60aaafb 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
print_std_bdinfo outputs typical set of board information entries:
boot params location, memory and flash addresses and sizes, network
interfaces information and configured serial baud rate.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 32
1 file changed, 12
On Wed, Jul 27, 2016 at 8:27 AM, Max Filippov wrote:
> Hi,
>
> this series extracts common parts of cmd/bdinfo.c used by various
> architectures into reusable functions.
Sorry, messed up my patch directory, will resend.
--
Thanks.
-- Max
__
print_bi_flash outputs flashstart, flashsize and flashoffset lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 54 +++---
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 2f37232..f89de5f 100644
print_baudrate outputs serial baud rate.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index ab56ea5..b4abb91 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
print_eth_ip_addr outputs eth configurations for up to 6 interfaces and
configured IP address.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 113 +++
1 file changed, 36 insertions(+), 77 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd
print_eth_ip_addr outputs eth configurations for up to 6 interfaces and
configured IP address.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 113 +++
1 file changed, 36 insertions(+), 77 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd
print_baudrate outputs serial baud rate.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index ab56ea5..b4abb91 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
print_bi_flash outputs flashstart, flashsize and flashoffset lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 54 +++---
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 2f37232..f89de5f 100644
print_bi_dram outputs start address and size for each DRAM bank.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 58 +-
1 file changed, 17 insertions(+), 41 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index df68b58..2f37232
print_bi_dram outputs start address and size for each DRAM bank.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 58 +-
1 file changed, 17 insertions(+), 41 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index df68b58..2f37232
print_bi_mem outputs memstart and memsize lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 42 ++
1 file changed, 26 insertions(+), 16 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 60aaafb..df68b58 100644
--- a/cmd/bdinfo.c
+++ b/cmd
Hi,
this series extracts common parts of cmd/bdinfo.c used by various
architectures into reusable functions.
Please review.
Max Filippov (7):
cmd/bdinfo: extract print_bi_boot_params
cmd/bdinfo: extract print_bi_mem
cmd/bdinfo: extract print_bi_dram
cmd/bdinfo: extract print_bi_flash
print_bi_boot_params outputs boot parameters structure location.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index f2435ab..60aaafb 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
print_bi_mem outputs memstart and memsize lines.
Signed-off-by: Max Filippov
---
cmd/bdinfo.c | 42 ++
1 file changed, 26 insertions(+), 16 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 60aaafb..df68b58 100644
--- a/cmd/bdinfo.c
+++ b/cmd
1 - 100 of 135 matches
Mail list logo