Re: [RFC 2/2] ARC: U-boot: check magic number passed from u-boot

2019-02-06 Thread Vineet Gupta
On 2/6/19 9:22 AM, Eugeniy Paltsev wrote: > In case of devboards we really often disable bootloader and load > Linux image in memory via JTAG. In case of using kernel with > CONFIG_ARC_UBOOT_SUPPORT enabled we may crash as we will try to > interpret some junk in a registers as a pointers to bootarg

[RFC 2/2] ARC: U-boot: check magic number passed from u-boot

2019-02-06 Thread Eugeniy Paltsev
In case of devboards we really often disable bootloader and load Linux image in memory via JTAG. In case of using kernel with CONFIG_ARC_UBOOT_SUPPORT enabled we may crash as we will try to interpret some junk in a registers as a pointers to bootargs/etc which aren't set by anyone in case of JTAG u