ARM v8 learning setup
#1
Hi Pine64ers,

I would like to buy a PBP primarily for learning the ARM v8 architecture. 

My initial thinking is to do some kernel hacking of some open source OS. In terms of learning, which OS should I go for? In some BSD documents, it takes two identical machines with their com port connected and use the debugger to step through the kernel execution. Is this the case for PBP? If so, how could that be done? If this is not the way to do it, what is the recommended way?

My primary objective is learning the ARM v8 architecture. So things like performance and security is not a concern - at least for now.

Thanks community.

Another quick question: Is it possible to use 8G or even 16G RAM with the PBP?
#2
(04-05-2020, 04:12 AM)the_hiacer Wrote: Hi Pine64ers,

I would like to buy a PBP primarily for learning the ARM v8 architecture. 

My initial thinking is to do some kernel hacking of some open source OS. In terms of learning, which OS should I go for? In some BSD documents, it takes two identical machines with their com port connected and use the debugger to step through the kernel execution. Is this the case for PBP? If so, how could that be done? If this is not the way to do it, what is the recommended way?

My primary objective is learning the ARM v8 architecture. So things like performance and security is not a concern - at least for now.

Thanks community.

Another quick question: Is it possible to use 8G or even 16G RAM with the PBP?

One note that applies to all ARM implementations today, each has customized I/O. Un-like x86/x64 Arch which has some standardized I/O you can count on being present, (physically or emulated).

So for kernel hacking on ARM you WILL need to make sure you understand what kernel configuration options and modules you need for the specific platform you are using for learning. In some ways what you propose to do would be better, (and cheaper), on a Raspberry Pi or a ROCKPro64, (which uses the same SoC as the Pinebook Pro).

I don't have a specific OS suggestion, other than you want a very recent Linux kernel. Even re-basing your development evironment every month or so to the latest kernel release. There have been some noticable changes to ARM in the Linux kernel recently and more to follow.

No, it is totally impossible to use a larger amount of RAM on a Pinebook Pro. The SoC, (System on a Chip), is limited to 4GBs of RAM.
--
Arwen Evenstar
Princess of Rivendale
#3
(04-05-2020, 12:36 PM)Arwen Wrote:
(04-05-2020, 04:12 AM)the_hiacer Wrote: Hi Pine64ers,

I would like to buy a PBP primarily for learning the ARM v8 architecture. 

My initial thinking is to do some kernel hacking of some open source OS. In terms of learning, which OS should I go for? In some BSD documents, it takes two identical machines with their com port connected and use the debugger to step through the kernel execution. Is this the case for PBP? If so, how could that be done? If this is not the way to do it, what is the recommended way?

My primary objective is learning the ARM v8 architecture. So things like performance and security is not a concern - at least for now.

Thanks community.

Another quick question: Is it possible to use 8G or even 16G RAM with the PBP?

One note that applies to all ARM implementations today, each has customized I/O. Un-like x86/x64 Arch which has some standardized I/O you can count on being present, (physically or emulated).

So for kernel hacking on ARM you WILL need to make sure you understand what kernel configuration options and modules you need for the specific platform you are using for learning. In some ways what you propose to do would be better, (and cheaper), on a Raspberry Pi or a ROCKPro64, (which uses the same SoC as the Pinebook Pro).

I don't have a specific OS suggestion, other than you want a very recent Linux kernel. Even re-basing your development evironment every month or so to the latest kernel release. There have been some noticable changes to ARM in the Linux kernel recently and more to follow.

No, it is totally impossible to use a larger amount of RAM on a Pinebook Pro. The SoC, (System on a Chip), is limited to 4GBs of RAM.
#4
there are better ways to learn armv8/arm64 than a pbp. if you are asking about 16gb ram you dont know... several of these soc are fixed at 4gb ram. including rk3399.

if you actually want to learn armv8 for development than get a honeycomb lx2k.
#5
right, learning armv8 is only possible with a board starting at 750$ (without memory and requiring a lot of other stuff to buy, that probably double the price), but with x4 10 GBE SFP+ connectors, without such a load learning armv8 doesn't happen... no matter the arm core is the same cortex-a72. if you wanted to shock the OP, there are some ThunderX2 based machines, even hairier and pricier, but honestly such suggestions look like fart in the puddle.
ANT - my hobby OS for x86 and ARM.
#6
(04-08-2020, 10:49 PM)z4v4l Wrote: right, learning armv8 is only possible with a board starting at 750$ (without memory and requiring a lot of other stuff to buy, that probably double the price), but with x4 10 GBE SFP+ connectors, without such a load learning armv8 doesn't happen... no matter the arm core is the same cortex-a72. if you wanted to shock the OP, there are some ThunderX2 based machines, even hairier and pricier, but honestly such suggestions look like fart in the puddle.

I am not shocked by the price point as I am aware of this. The problem is whether I should instead of I could. You know, when you got a driving license, it is better to f__k with a HIACE to start with rather than fooling around with a Maserati and crash it in no time.

(04-08-2020, 08:50 PM)xmixahlx Wrote: there are better ways to learn armv8/arm64 than a pbp. if you are asking about 16gb ram you dont know... several of these soc are fixed at 4gb ram. including rk3399.

if you actually want to learn armv8 for development than get a honeycomb lx2k.

Yes, you are right. There are indeed better ways to learn about arm64. Here says,
Quote:The huge advantage of QEMU over VirtualBox is that is supports cross arch simulation, e.g. simulate an ARM guest on an x86 host.
#7
BTW, my tutorial which the_hiacer mentioned is also a reasonable ARMv7/v8 learning setup: https://cirosantilli.com/linux-kernel-mo...d-assembly
#8
so cheekiness aside, if you are looking for 16GB of RAM on an arm64 setup please LMK your other solutions. native development is what supports arch development, not virtualization.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Deep Learning Framework Hemingway 2 3,880 06-22-2020, 04:34 PM
Last Post: Hemingway
  Pinebook Pro - wireless connection setup help barn 3 7,511 05-29-2020, 07:35 AM
Last Post: tibuka

Forum Jump:


Users browsing this thread: 2 Guest(s)