booting a kernel over tftp
Hi ,

I have configured u-boot on my rock64 to load boot scripts over tftp and it works well.
What I'm missing is a little understanding how to setup kernel boot over tftp.

I've got kernel image compiled using ayufan-rock64/linux-build repo.
It's there linux-build/kernel/arch/arm64/boot/Image shows that these addresses:
Quote:ffffff8008080000 t _head
ffffff8008080000 T _text
ffffff8008080800 T __exception_text_start
ffffff8008080800 T _stext
ffffff8008080800 T do_undefinstr

I'm not sure whether they are physical but u-boot doesn't use MMU

Can I use this kernel for booting over tftp or I have to use another configuration for this.
If yes then what load address and entry point should I use for mkinage:

Quote:mkimage -A arm64 -T kernel -O linux -C none -n 'Kernel Image'  -a $load addres -e $entry point -d boot-image linux-build/kernel/arch/arm64/boot/Image

What memory layout does rock64 have?
To be more specific, what is RAM start address?

Does it matter where I load kernel image in u-boot:

Quote:tftpboot 0x02000000 or  tftpboot 0x8000

Thanks a lot in advsnce

Messages In This Thread
booting a kernel over tftp - by hibernick - 03-08-2018, 10:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  noob with non booting rock64 4g john72carter 6 2,404 10-14-2020, 07:35 PM
Last Post: Rocklobster
  ROCK64 not booting TheGiolly 10 4,820 09-09-2019, 06:57 AM
Last Post: Rocklobster
  Booting from USB3 while USB2 devices are connected wallace 0 922 09-03-2019, 03:42 AM
Last Post: wallace
  Another non-booting ROCK64 SuburbanDad 13 5,416 06-19-2019, 01:48 AM
Last Post: mcerveny
  Rock64 kernel compilation - configs acrobatbob 0 1,321 04-06-2018, 02:55 AM
Last Post: acrobatbob
  [Warning: root device does not exist] Can not install generic kernel on ROCK 64? pine3228 0 1,512 03-16-2018, 05:40 PM
Last Post: pine3228
  Error when building kernel - realtek krystian 1 999 02-25-2018, 03:58 AM
Last Post: krystian
  I can't compile kernel !! part2 pine3228 1 1,101 02-05-2018, 03:52 AM
Last Post: xalius
  Booting from USB Luke 0 10,820 01-21-2018, 03:52 PM
Last Post: Luke
Video Kernel Panic on Rock64 linux tanisou 15 6,971 09-09-2017, 04:48 PM
Last Post: rmbusy

Forum Jump:

Users browsing this thread: 1 Guest(s)