public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gentoo on Arm64
@ 2015-07-01 15:54 James
  2015-07-02  5:53 ` Raffaele BELARDI
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: James @ 2015-07-01 15:54 UTC (permalink / raw
  To: gentoo-user

So,

(yippee!)
My new arm64 board has finally shipped.


(bummer_dude)
Looking around for arm64 install instructions for gentoo
(binary image, minimal_cd, cross compile or the old gentoo-embedded-handbook
yields squat (nodda::noThing::zarro::null::ziltchen)
::=verboten ?[1]


I did find this:: (cat /usr/portage/profiles/profiles.desc)

# ARM64 Profiles
arm64           default/linux/arm64/13.0   exp


So what I would like to do is just boot the board::

[ 8CORE ARMV8A SOC,1GB RAM,4GB EMMC,WIFI/BT ]

with an existing gentoo image just to exercise (test) the hardware,
before installing it from scratch. Any and all suggestions
are most welcome. 


James


[1] https://wiki.gentoo.org/wiki/Project:Embedded#Resources



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gentoo on Arm64
  2015-07-01 15:54 [gentoo-user] Gentoo on Arm64 James
@ 2015-07-02  5:53 ` Raffaele BELARDI
  2015-07-02 15:27   ` [gentoo-user] " James
  2015-07-02  6:08 ` [gentoo-user] " Andrew Lowe
  2015-07-02 22:15 ` [gentoo-user] " Andreas K. Huettel
  2 siblings, 1 reply; 8+ messages in thread
From: Raffaele BELARDI @ 2015-07-02  5:53 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

James wrote:
> So what I would like to do is just boot the board::
>
> [ 8CORE ARMV8A SOC,1GB RAM,4GB EMMC,WIFI/BT ]
>
> with an existing gentoo image just to exercise (test) the hardware,
> before installing it from scratch. Any and all suggestions
> are most welcome.

I don't have links to pre-built images and never used gentoo embedded. 
Here we use a GCC cross-toolchain, build the kernel from scratch and the 
rootfs with buildroot on the host, copy to an SDCard and boot our 
embedded system from there. The bootloader is pre-programmed through 
JTAG to embedded flash. Application debugging is done with gdbserver 
running on the target communicating through ethernet connection to the host.

raffaele

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gentoo on Arm64
  2015-07-01 15:54 [gentoo-user] Gentoo on Arm64 James
  2015-07-02  5:53 ` Raffaele BELARDI
@ 2015-07-02  6:08 ` Andrew Lowe
  2015-07-02 15:23   ` [gentoo-user] " James
  2015-07-02 22:15 ` [gentoo-user] " Andreas K. Huettel
  2 siblings, 1 reply; 8+ messages in thread
From: Andrew Lowe @ 2015-07-02  6:08 UTC (permalink / raw
  To: gentoo-user

On 07/01/2015 11:54 PM, James wrote:
> So,
> 
> (yippee!)
> My new arm64 board has finally shipped.
> 

	Price, name, website, sata? Enquiring minds want to know?

		Andrew



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: Gentoo on Arm64
  2015-07-02  6:08 ` [gentoo-user] " Andrew Lowe
@ 2015-07-02 15:23   ` James
  0 siblings, 0 replies; 8+ messages in thread
From: James @ 2015-07-02 15:23 UTC (permalink / raw
  To: gentoo-user

Andrew Lowe <agl <at> wht.com.au> writes:


> On 07/01/2015 11:54 PM, James wrote:

> > My new arm64 board has finally shipped.

> 	Price, name, website, sata? Enquiring minds want to know?
 
> 		Andrew


~140 USD

hikey :: https://www.96boards.org/products/ce/hikey/

https://www.96boards.org/products/

excellent question::I do not yet have  physically possession to verified the
existence of sata:: uncertain.

I'd very much like to have other gentoo folks on this journey....
I do believe these folks have more designs coming down the pipeline.
The Linaro team is very friendly and helpful too.


hth,
James






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: Gentoo on Arm64
  2015-07-02  5:53 ` Raffaele BELARDI
@ 2015-07-02 15:27   ` James
  2015-07-03  6:07     ` Raffaele BELARDI
  0 siblings, 1 reply; 8+ messages in thread
From: James @ 2015-07-02 15:27 UTC (permalink / raw
  To: gentoo-user

Raffaele BELARDI <raffaele.belardi <at> st.com> writes:


> I don't have links to pre-built images and never used gentoo embedded. 
> Here we use a GCC cross-toolchain, build the kernel from scratch and the 
> rootfs with buildroot on the host, copy to an SDCard and boot our 
> embedded system from there. 

OK, any additional info on setting up your cross-toolchain ?

> The bootloader is pre-programmed through 
> JTAG to embedded flash. Application debugging is done with gdbserver 
> running on the target communicating through ethernet connection to the host.

Do you have a working JTAG? If so any details of the components, software
and configs would be keenly appreciated.

> raffaele


Thanks for the info Raffaele!
James




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gentoo on Arm64
  2015-07-01 15:54 [gentoo-user] Gentoo on Arm64 James
  2015-07-02  5:53 ` Raffaele BELARDI
  2015-07-02  6:08 ` [gentoo-user] " Andrew Lowe
@ 2015-07-02 22:15 ` Andreas K. Huettel
  2015-07-03  0:10   ` [gentoo-user] " James
  2 siblings, 1 reply; 8+ messages in thread
From: Andreas K. Huettel @ 2015-07-02 22:15 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


Am Mittwoch, 1. Juli 2015, 17:54:30 schrieb James:
> So,
> 
> (yippee!)
> My new arm64 board has finally shipped.
> 
> (bummer_dude)
> Looking around for arm64 install instructions for gentoo
> (binary image, minimal_cd, cross compile or the old
> gentoo-embedded-handbook yields squat
> (nodda::noThing::zarro::null::ziltchen)

How about you pop into #gentoo-embedded on freenode irc?

There's 2-3 devs actively working on arm64, and I'm sure you will find some 
help there. Just give them some time to reply, not everyone is online 24/7. 
(quassel or a similar always-on irc client helps.)

You might end up becoming arch tester or writing the install instructions on 
the wiki yourself... :D

- -- 
Andreas K. Huettel
Gentoo Linux developer (council, perl, libreoffice)
dilfridge@gentoo.org
http://www.akhuettel.de/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVlbfqAAoJEB9VdM6hupKVxCIP/j1aZokdhYYj5Wa27GzEJlbM
2McGKI+qOPzYpvOvkM0JAfYl2UwUO2+WhOfKzwdn+5d00bCAZXupHKGAf5y5IYlS
EmH6KRgBJX7/m65zTCwvZg0kniqL/2esyKmdoX+F7G2W4Bx5usHQi075oTK97FB8
DhQJJ+pj4UOQBQc53EdOpUKnq3mnPWGcsl/n0xuL090dikfLLKDAGH5C1GVmY7aT
Y+TPiLQa3mMz/ka1vknhbQbLMDBVJAiWIHyXrt4Vp4f5SwBnIZhZ7f0c219UF+R3
inJxHJ8uXAZ879IJYCvrFooQ8ls1tb0gzYgUWu9BCr5lmFbfIvy3ZBvXQicXRMg9
bre32fzl3SaZITrqXSv7Oskpw42v1vIUrFGQRWTHbgbr+gh4emaVWK6IGYmisdqZ
vuDAhcVZAt9lHWQdLQl6zg2rGcjkrZuIWdUASxDsq0g4TlHDIPu5eWWDoFY81p37
IoXiDHJ3BxE9PBPRLBIiOwW3DIU+Z5koo+5XowbyYMV6sVQoxLF5qwj1ay3L4/F8
w/zINAOztix60I2mz6moC1sAPcpLTRHue0v+aPzUWp0BVJBF02viedGpEbTeUo/V
IJIB1SlQXbJ9wwnsSZIB5ra0pZRSmcKPS2Zy8EZUcEjn8AW9fyGW3phz//Wmj+tO
IUzyHjCKKpyBsFr26VV2
=ZKpd
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: Gentoo on Arm64
  2015-07-02 22:15 ` [gentoo-user] " Andreas K. Huettel
@ 2015-07-03  0:10   ` James
  0 siblings, 0 replies; 8+ messages in thread
From: James @ 2015-07-03  0:10 UTC (permalink / raw
  To: gentoo-user

Andreas K. Huettel <dilfridge <at> gentoo.org> writes:


> > My new arm64 board has finally shipped.

> How about you pop into #gentoo-embedded on freenode irc?

OK, irc seems ackward to use to me. I' on now, with pidgin....


> There's 2-3 devs actively working on arm64, and I'm sure you will find some 
> help there. Just give them some time to reply, not everyone is online 24/7. 
> (quassel or a similar always-on irc client helps.)

Yea, I might install quassel, if I continue to struggle with pidgin....


> You might end up becoming arch tester or writing the install 
> instructions on the wiki yourself... :D


How bouts I figure it out first, then hack up  an ascii text for others to
follow; then ::>filter::>pretty_print ???

hopefully I'll see you on gentoo-embedded (ah, I see you).






^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: Gentoo on Arm64
  2015-07-02 15:27   ` [gentoo-user] " James
@ 2015-07-03  6:07     ` Raffaele BELARDI
  0 siblings, 0 replies; 8+ messages in thread
From: Raffaele BELARDI @ 2015-07-03  6:07 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

James wrote:
>> I don't have links to pre-built images and never used gentoo embedded.
>> Here we use a GCC cross-toolchain, build the kernel from scratch and the
>> rootfs with buildroot on the host, copy to an SDCard and boot our
>> embedded system from there.
>
> OK, any additional info on setting up your cross-toolchain ?

Sorry, that was done by a different group, I don't know the details. The 
gcc prefix is arm-v7-linux-ucliceabi- so I gather we are using uclib. I 
the past I used Codesourcery for ARM, it was quite easy to set up.

>> The bootloader is pre-programmed through
>> JTAG to embedded flash. Application debugging is done with gdbserver
>> running on the target communicating through ethernet connection to the host.
>
> Do you have a working JTAG? If so any details of the components, software
> and configs would be keenly appreciated.

I think we use JTAG to download a small code into the SoC embedded RAM 
that programs the flash but again it's something I receive already 
programmed. You obviously could use the JTAG for application debugging 
but I find gdb/gdbserver much more convenient. I know it's also possible 
to access the JTAG from the GDB with openocd but I've never used it.

raffaele

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-03  6:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 15:54 [gentoo-user] Gentoo on Arm64 James
2015-07-02  5:53 ` Raffaele BELARDI
2015-07-02 15:27   ` [gentoo-user] " James
2015-07-03  6:07     ` Raffaele BELARDI
2015-07-02  6:08 ` [gentoo-user] " Andrew Lowe
2015-07-02 15:23   ` [gentoo-user] " James
2015-07-02 22:15 ` [gentoo-user] " Andreas K. Huettel
2015-07-03  0:10   ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox