Re: FVP: kernel BUG at arch/arm64/kernel/traps.c:497 - Internal error: Oops - BUG: 0

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

 



On Thu, Jul 14, 2022 at 01:57:50PM +0100, Mark Rutland wrote:
> On Thu, Jul 14, 2022 at 12:42:08PM +0100, Mark Brown wrote:
> > On Thu, Jul 14, 2022 at 12:26:05PM +0100, Mark Rutland wrote:
> > 
> > > I note that your log has:
> > 
> > > | Hit any key to stop autoboot:  1  0 
> > > | smh_open: ERROR fd -1 for file 'boot.img'
> > > | smh_open: ERROR fd -1 for file 'Image'
> > > | smh_open: ERROR fd -1 for file 'devtree.dtb'
> > > | smh_open: ERROR fd -1 for file 'ramdisk.img'
> > 
> > ...
> > 
> > > | Hit any key to stop autoboot:  0   
> > > | smh_open: ERROR fd -1 for file 'boot.img'
> > > | loaded file Image from 80080000 to 82F299FF, 02EA9A00 bytes
> > > | smh_open: ERROR fd -1 for file 'devtree.dtb'
> > > | smh_open: ERROR fd -1 for file 'ramdisk.img'
> > > | fdt - flattened device tree utility commands
> > 
> > > ... and I wonder if that has something to do with it, given it appears that
> > > your Image is corrupted somehow.
> > 
> > Naresh's command line is putting Image directly into RAM with
> > 
> >     --data cluster0.cpu0=/tuxrun-r4_1075p-lava-1/Image@0x80080000
> 
> Likewise in mine:
> 
> 	--data cluster0.cpu0=/mnt/data/models/fvp/naresh/Image@0x80080000
> 
> ... as I'm using the same command line, just with paths altered.

... and I've just reproduced the issue by running the script from a different
directory, since apprarently the semihosting interface just grabs the file from
the current directory.

I'm pretty sure this means that *something* is clobbering the Image early on
during boot, and the semihisting loading happens to refresh it.

Thanks,
Mark.



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux