Re: [RFC PATCH 1/4] ARM: implement sjlj-based TRY/CATCH exception handling

2020-04-02 Thread Ahmad Fatoum
On 4/2/20 9:51 PM, Roland Hieber wrote: > On Wed, Apr 01, 2020 at 11:31:01AM +0200, Ahmad Fatoum wrote: >> Now with setjmp supported in barebox, we don't need to limit ourselves >> to outdated of return-value-based error propagation. >> Instead, embrace the state-of-the-art and port kazlib's ANSI C

Re: [PATCH 11/23] ARM: zii-common: Add common environment directory

2020-04-02 Thread Andrey Smirnov
On Wed, Apr 1, 2020 at 11:49 PM Sascha Hauer wrote: > > On Tue, Mar 31, 2020 at 11:47:10AM -0700, Andrey Smirnov wrote: > > Establish a common environment directory between all ZII boards, so > > that we could share common bits and pieces. As a first step, get rid > > of board scecific net boot sc

Re: [RFC PATCH 1/4] ARM: implement sjlj-based TRY/CATCH exception handling

2020-04-02 Thread Roland Hieber
On Wed, Apr 01, 2020 at 11:31:01AM +0200, Ahmad Fatoum wrote: > Now with setjmp supported in barebox, we don't need to limit ourselves > to outdated of return-value-based error propagation. > Instead, embrace the state-of-the-art and port kazlib's ANSI C exceptions > to barebox. > > Reviewed-by: A

Re: bug report: fail to boot barebox in marvell 6281 board

2020-04-02 Thread you xiaojie
On Thursday, April 2, 2020 5:25:10 PM CST Sascha Hauer wrote: > +Cc Marvell expert > > On Thu, Apr 02, 2020 at 04:02:57PM +0800, you xiaojie wrote: > > On Thursday, April 2, 2020 3:41:54 PM CST Sascha Hauer wrote: > > > On Thu, Apr 02, 2020 at 03:03:41PM +0800, you xiaojie wrote: > > > > the debu

Re: bug report: fail to boot barebox in marvell 6281 board

2020-04-02 Thread Sascha Hauer
+Cc Marvell expert On Thu, Apr 02, 2020 at 04:02:57PM +0800, you xiaojie wrote: > On Thursday, April 2, 2020 3:41:54 PM CST Sascha Hauer wrote: > > On Thu, Apr 02, 2020 at 03:03:41PM +0800, you xiaojie wrote: > > > the debugging message. > > > > > > allan@allan-home:/media/allan/c6293bbf-6fa1-49

[PATCH 3/7] Zedboard fix compiler warning

2020-04-02 Thread Michael Graichen
Fixes a warning while compiling zynq_mkimage.c scripts/zynq_mkimage.c:312:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread returns the number bytes read, if it is not equal to st_size some error has happend diff --git a/scripts/zynq

[PATCH 1/7] Zedboard: Arasan MMC driver

2020-04-02 Thread Michael Graichen
The Arasan driver depends on the SDHCI driver, without it we will see undefined references while linking arasan-sdhci.c:283: undefined reference to `sdhci_set_cmd_xfer_mode' arasan-sdhci.c:299: undefined reference to `sdhci_read_response' arasan-sdhci.c:303: undefined reference to `sdhci_transfer_

[PATCH 7/7] Zedboard added Zynq FPGA manager

2020-04-02 Thread Michael Graichen
This adds support to programm the PL part of the Zynq SoC, but only the non-secure way and no partial reconfiguration. It adds the 'zynq_fpga_manager' so we can use firmwareload -l firmwareload -t zynq-fpga-manager /mnt/mmc0.0/design_1_wrapper.bit to programm the PL. diff --git a/arch/arm/mach-

[PATCH 6/7] Zedboard turn on LED on startup

2020-04-02 Thread Michael Graichen
Turns on the LED on MIO7 on the Zedboard to have a signal diff --git a/arch/arm/boards/avnet-zedboard/lowlevel.c b/arch/arm/boards/avnet-zedboard/lowlevel.c index b8001fcf6..eb85df507 100644 --- a/arch/arm/boards/avnet-zedboard/lowlevel.c +++ b/arch/arm/boards/avnet-zedboard/lowlevel.c @@ -306,6

[PATCH 5/7] Zedboard added FPGA and PCAP clock control

2020-04-02 Thread Michael Graichen
Added the configuration for FPGA an PCAP clock control diff --git a/arch/arm/boards/avnet-zedboard/lowlevel.c b/arch/arm/boards/avnet-zedboard/lowlevel.c index 6f05d934c..b8001fcf6 100644 --- a/arch/arm/boards/avnet-zedboard/lowlevel.c +++ b/arch/arm/boards/avnet-zedboard/lowlevel.c @@ -276,6 +27

[PATCH 4/7] Zedboard fix GEM0 MIO Settings

2020-04-02 Thread Michael Graichen
fixed GEM0 MIO Settings according to what Vivado says diff --git a/arch/arm/boards/avnet-zedboard/lowlevel.c b/arch/arm/boards/avnet-zedboard/lowlevel.c index 912eb11fd..6f05d934c 100644 --- a/arch/arm/boards/avnet-zedboard/lowlevel.c +++ b/arch/arm/boards/avnet-zedboard/lowlevel.c @@ -258,7 +258

[PATCH 1/7] Zedboard Arasan MMC driver checks wrong bit

2020-04-02 Thread Michael Graichen
when accessing the SD card arasan_sdhci_send_cmd checks for the wrong bit diff --git a/drivers/mci/arasan-sdhci.c b/drivers/mci/arasan-sdhci.c index b43a4f8dd..0dd9382ae 100644 --- a/drivers/mci/arasan-sdhci.c +++ b/drivers/mci/arasan-sdhci.c @@ -278,7 +278,7 @@ static int arasan_sdhci_send_cmd(s

Re: bug report: fail to boot barebox in marvell 6281 board

2020-04-02 Thread you xiaojie
On Thursday, April 2, 2020 3:41:54 PM CST Sascha Hauer wrote: > On Thu, Apr 02, 2020 at 03:03:41PM +0800, you xiaojie wrote: > > the debugging message. > > > > allan@allan-home:/media/allan/c6293bbf-6fa1-49ca-9b01-24855a810e0e/barebox > > - > > test/barebox$ ./scripts/kwboot -b ./images/barebox-hu

Re: [PATCH 1/1] boards: liteboard: add i.MX6ULL revision

2020-04-02 Thread Bartosz Bilas
Hello Ahmad, at first I'm sorry for the late answer On 26.03.2020 22:12, Ahmad Fatoum wrote: Hi, On 3/26/20 7:34 PM, Bartosz Bilas wrote: These changes introduce support for Grinn i.MX6ULL liteBoard revision. There are no other changes except the CPU therefore the existing board directory was

Re: bug report: fail to boot barebox in marvell 6281 board

2020-04-02 Thread Sascha Hauer
On Thu, Apr 02, 2020 at 03:03:41PM +0800, you xiaojie wrote: > the debugging message. > > allan@allan-home:/media/allan/c6293bbf-6fa1-49ca-9b01-24855a810e0e/barebox- > test/barebox$ ./scripts/kwboot -b ./images/barebox-huanshuo-hs50a.img -n 15 > -B > 115200 -t /dev/ttyUSB0 > Sending boot messag

Re: bug report: fail to boot barebox in marvell 6281 board

2020-04-02 Thread you xiaojie
the debugging message. allan@allan-home:/media/allan/c6293bbf-6fa1-49ca-9b01-24855a810e0e/barebox- test/barebox$ ./scripts/kwboot -b ./images/barebox-huanshuo-hs50a.img -n 15 -B 115200 -t /dev/ttyUSB0 Sending boot message. Please reboot the target... Got expected NAKs Sending boot image... 0 %