Re: [U-Boot] u-boot ubifsload & verify uImage

2017-09-12 Thread Johann Obermayr
Hello Heiko,

Thank you very much.

I think iminfo is the one I've been looking for

Regards
  Johann

-Ursprüngliche Nachricht-
Von: Heiko Schocher [mailto:h...@denx.de] 
Gesendet: Dienstag, 12. September 2017 10:43
An: Johann Obermayr <johann.oberm...@sigmatek.at>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>
Betreff: Re: [U-Boot] u-boot ubifsload & verify uImage

Hello Johann,

Am 12.09.2017 um 10:06 schrieb Johann Obermayr:
> Hello,
>
> we use ubifsload to load the uImage and start it with bootm Is there a 
> way to verify the uImage file ?
> Sometime we have the problem, that uImage is corrupt (powerdown while 
> update)

bootm should check before booting the kernel, if the uImage file is OK. If the 
uImage is not OK, bootm should fail.

You can check an uImage in RAM with the "iminfo [address]" command.
Enable the iminfo comamnd with CONFIG_CMD_IMI.

bye,
Heiko
-- 
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] u-boot ubifsload & verify uImage

2017-09-12 Thread Johann Obermayr
Hello,

we use ubifsload to load the uImage and start it with bootm
Is there a way to verify the uImage file ?
Sometime we have the problem, that uImage is corrupt (powerdown while update)

Thanx
  Johann
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] dtoverlay for mx6 ARM

2015-06-11 Thread Johann Obermayr

Hello,

for raspberyy pi there are some features available.
dtoverlay, dtparam, ...
we have a Freescale mx6 CPU.
How we can add/enable this features ?

regards
  Johann
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] dtoverlay for mx6 ARM

2015-06-11 Thread Johann Obermayr

Am 11.06.2015 um 22:13 schrieb Jakub Kiciński:

On Thu, 11 Jun 2015 21:49:57 +0200, Johann Obermayr wrote:

Hello,

Hi there,
  

for raspberyy pi there are some features available.
dtoverlay, dtparam, ...
we have a Freescale mx6 CPU.
How we can add/enable this features ?

I'm new to U-Boot but on RPi the features are provided by their
proprietary firmware/bootloader.   AFAIK U-Boot doesn't support DT
overlays.

Kuba


Thank you for this information.

Is there a way to change a loaded devicetree configuration ?

Because we have many boards with small differents. but less memory on disk.
at this time one DTB file need ~150kb. we have 1MB free, but we have  
20 different boards and

every month 1 or 2 new boards.

regards
  Johann
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] use CONFIG_PRE_CONSOLE_BUFFER

2014-08-13 Thread Johann Obermayr

Hello,

i will use CONFIG_PRE_CONSOLE_BUFFER and have some trouble.


myboard.h
#define CONFIG_PRE_CONSOLE_BUFFER
#define CONFIG_PRE_CON_BUF_SZ4096
#ifndef __ASSEMBLY__
extern char preConsoleBuffer[] __attribute__ ((section(.data)));
#define CONFIG_PRE_CON_BUF_ADDRpreConsoleBuffer
#endif

myboard.c
char preConsoleBuffer[ CONFIG_PRE_CON_BUF_SZ ] __attribute__ 
((section(.data)));



int board_init()
{
.
console_init_f();
.
}

u-boot/arch/arm/lib/board.c
remove console_init_f(); from init_sequence list.

after this changes, u-boot will hang.

use u-boot v2013-04 on arm i.mx6 (Freescale)

Best Regards
  Johann
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot