Re: bootm crash - bad uimage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philippe,

On Mon, Feb 22, 2016 at 04:31:18PM +0100, Philippe Leduc wrote:
> Hello,
> 
> Since the commit 0a37e22d638acf1b2c7c6e6ab83b6a3272b0a11c, I can't
> boot my image anymore.
> It seems that os_part is a null pointer and simple_strtoul crash on it
> (in bootm_load_os). I workaround the problem by forcing the value to 0
> if os_part if null, but I guess that it is a bad solution.
> Is this a due to a bad usage of the mkimage utility?

Probably not. Is this fixed by this commit?

commit 1a180cd3b6e5c067c68f3e09f7e15e5b18af9761
Author: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
Date:   Fri Feb 12 17:58:23 2016 +0100

    bootm: parse initrd and oftree into correct struct members
    
    The code parsing the oftree and initrd file names is clearly wrong,
    leading to bootm not loading oftree or initrd files any more.
    
    Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
    Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux