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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock 64 failure / kernel panic n0021913 2 1,923 07-07-2022, 01:16 PM
Last Post: anchor00
  Rock64 kernel panics clay 15 12,585 10-17-2021, 06:30 PM
Last Post: Rocklobster
  noob with non booting rock64 4g john72carter 6 7,210 10-14-2020, 07:35 PM
Last Post: Rocklobster
  ROCK64 not booting TheGiolly 10 13,452 09-09-2019, 06:57 AM
Last Post: Rocklobster
  Booting from USB3 while USB2 devices are connected wallace 0 2,100 09-03-2019, 03:42 AM
Last Post: wallace
  Another non-booting ROCK64 SuburbanDad 13 14,530 06-19-2019, 01:48 AM
Last Post: mcerveny
  Rock64 kernel compilation - configs acrobatbob 0 2,310 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 2,700 03-16-2018, 05:40 PM
Last Post: pine3228
  Error when building kernel - realtek krystian 1 2,426 02-25-2018, 03:58 AM
Last Post: krystian
  I can't compile kernel !! part2 pine3228 1 2,432 02-05-2018, 03:52 AM
Last Post: xalius

Forum Jump:

Users browsing this thread: 1 Guest(s)