Am 13.09.2016 um 13:35 schrieb Matthias Welwarsky: > On Tuesday 13 September 2016 13:15:03 Andreas Färber wrote: >> Am 13.09.2016 um 11:44 schrieb Jiri Kastner: >>> hikey: >>> during boot, switches from aarch32 to aarch64. not sure, if it is part of >>> non-free bootloader (signed??) or hikey edk2. >> >> l-loader.bin is documented to do that: >> https://github.com/96boards/l-loader > > l-loader looks promising. The trick here is to set up the RVBAR with a > suitable reset vector, then issue a warm-reset by writing to RMR register, > asking it to restart in Aarch64 mode on reset. > > I'll check if I can modify my little boot program to do the same. Can Aarch32 > and Aarch64 code coexist in an assembler source file?
Not that I know of, they are separate gdb backends, that's what I was pointing out for U-Boot. Cheers, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ------------------------------------------------------------------------------ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel