Re: "external abort on linefetch (0x814)" on Kirkwood 6282 SoC
On Sat, 2018-06-02 at 16:55 +0100, Ian Campbell wrote:
> On Sat, 2018-06-02 at 15:36 +0300, Timo Jyrinki wrote:
> > 2018-05-28 19:00 GMT+03:00 Andrew Lunn <email@example.com>:
> > > Could you try changing "Memory split" to "3G/1G user/kernel split
> > (for
> > > full 1G low memory)". You should then see that the lowmem in the
> > > Virtual kernel memory layout table goes from starting at
> > to
> > > starting at 0xB0000000. I hope it will then not use high mem, and
> > > still give you the full 1G of RAM.
> > Someone could give newbie tips on making a bootable kernel that I
> > could load from u-boot. I tried compiling one Debian's kernel
> > with debuild in a stretch chroot, adding VMSPLIT_3G_OPT=y to
> > config.marvell under debian/, but with the vmlinuz generated I got
> > "Bad Magic Number" when I tried to load it with u-boot over TFTP.
> You need to append a dtb and then encode in u-boot's uImage format.
> cat arch/arm/boot/zImage arch/arm/boot/dts/kirkwood-ts419-6281.dtb
> > x
> sudo mkimage -A arm -T kernel -O linux -C none -a 0x8000 -e 0x8000
> -d x uImage
You don't need that `sudo` BTW unless uImage is in an root-only path.