Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Espresso Bin and tftp boot [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
tenspd1370
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2017
Posts: 119

PostPosted: Wed Nov 21, 2018 4:59 am    Post subject: Espresso Bin and tftp boot [solved] Reply with quote

Hi all -

I have an espresso bin and I was following this page:

https://wiki.gentoo.org/wiki/ESPRESSOBin

I grabbed the code from here https://github.com/sarnold/arm64-multiplatform

and used the build script with no issues. I wanted to try booting the kernel after loading it over tftp. So, I got to the uboot prompt and did the following:

Code:

TFTP from server 10.10.0.1; our IP address is 10.10.0.2
Filename '/boot/4.13.12-aarch64-r0.Image'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################################################
         4.4 MiB/s
done
Bytes transferred = 16202240 (f73a00 hex)
Marvell>>  tftpboot 0x2000000 /boot/armada-3720-espressobin.dtb
Using neta@30000 device
TFTP from server 10.10.0.1; our IP address is 10.10.0.2
Filename '/boot/armada-3720-espressobin.dtb'.
Load address: 0x2000000
Loading: #
         2.4 MiB/s
done
Bytes transferred = 7466 (1d2a hex)
Marvell>> booti 200000 - 2000000
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Using Device Tree in place at 0000000002000000, end 0000000002004d29

Starting kernel ...


and it just sits. That is okay. I got it to load something into memory - baby steps. But I am wondering what I am missing? Is there a specific address I need to load the code into? Is it even supposed to do anything at that point? I was expecting to see "something" (messages, etc.) and then a kernel panic because it is missing everything else. Could someone point me in the right direction?

Thanks!
Back to top
View user's profile Send private message
tenspd1370
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2017
Posts: 119

PostPosted: Wed Nov 21, 2018 6:13 am    Post subject: Reply with quote

Got it!

I kept reading the page and realized I needed to:

setenv bootargs $console

where

console=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000

and then run booti

Messages and a kernel panic!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum