[PATCH] fixup! imd: add support for checksum generation/verification

2020-02-07 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar 
---
CRC32 is now needed for imd, but was selected by accident. In situations
where barebox is stripped down (e.g. socfpga-xload, where there is no
environment, globalvars or command_support), barebox won't compile anymore.

 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig b/common/Kconfig
index f9ef9bd83bad..fcdeb5c30b58 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -693,6 +693,7 @@ config FLEXIBLE_BOOTARGS
  completely.
 
 config IMD
+   select CRC32
bool "barebox metadata support"
 
 config IMD_TARGET
-- 
2.25.0


___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


Re: imx27 phycard update problems from barebox 2019.01.0 to 2020.01.0

2020-02-07 Thread Ahmad Fatoum
Hello,

On 2/7/20 11:17 AM, Koelle, Holger wrote:
> Hey there,
> 
> this week i updated some imx27 based phycard from Barebox 2019.01 to 2020.01. 
> After the update at Boot nothing happens.. no output on serial.
> Devicetree and Configuration (barebox.config in ptxdist) looks fine...got 
> anyone suggestions for me?

Try finding the offending commit with git-bisect:

git bisect good v2019.01.0
git bisect bad v2020.01.0
# build, flash, run barebox
git bisect good # if it works
git bisect bad # if it doesn't work

There have been 1004 revisions between the two tags, which means, a binary
search will find the offending commit in 10 iterations.

When you've found the commit and need to take a more thorough look 
(printf-debugging),
you can add low level UART debug support to your board.

Keep us updated!

Cheers
Ahmad

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


imx27 phycard update problems from barebox 2019.01.0 to 2020.01.0

2020-02-07 Thread Koelle, Holger
Hey there,

this week i updated some imx27 based phycard from Barebox 2019.01 to 2020.01. 
After the update at Boot nothing happens.. no output on serial.
Devicetree and Configuration (barebox.config in ptxdist) looks fine...got 
anyone suggestions for me?


Regards,

H.Koelle


___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox