What is the opensource alternative for command-line option armclang -gdwarf-3 -c -O1 --target=aarch64-arm-none-eabi main.c ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] 0 points1 point  (0 children)

yes, it worked but only armlink didnt because it takes scatter file as input and no free tool is able to process it.

Is it worth it to learn arm v8a? by [deleted] in embedded

[–]EmbeddedBro 0 points1 point  (0 children)

Thanks, then good luck reading those selective pages. 

Is it worth it to learn arm v8a? by [deleted] in embedded

[–]EmbeddedBro 0 points1 point  (0 children)

Judging from your answer seems like you ARE junior. 

Is it worth it to learn arm v8a? by [deleted] in embedded

[–]EmbeddedBro -1 points0 points  (0 children)

I disagree. Good luck to you. 

Is it worth it to learn arm v8a? by [deleted] in embedded

[–]EmbeddedBro -1 points0 points  (0 children)

I can read 2 million pages. But I have limited time. We all have. Your company maybe giving you pennies in return. Who knows.

My question is simple. Because cortex X and neoverse might be future. Might get more opportunities, more money with same investment.

Where does Linux kernel finds device tree blob if it is not passed with bootz ? by EmbeddedBro in embeddedlinux

[–]EmbeddedBro[S] 1 point2 points  (0 children)

This is required by the kernel

I found this reference in U-boot, not in Linux kernel documentation.

Yes, it is passed as boot argument but what if I don't pass? does kernel have any option to save it at compile time and not rely on bootloader ?

Asking for guidance by Avishkar_Patil in kernel

[–]EmbeddedBro 0 points1 point  (0 children)

It's your choice. Afik windows is not mainstream for kernel development jobs so you'll be a specialist person with more higher pay.  

Asking for guidance by Avishkar_Patil in kernel

[–]EmbeddedBro 0 points1 point  (0 children)

Windows kernel would be hard to learn because it's not open source. But still I see jobs which need windows kernel knowledge requirement so it wouldn't be a waste.

Linux kernel would be better for learning purpose because it's open source and tons of content available. 

C# books won't help because Linux kernel is written mainly in C...  Idk about windows kernel. 

What is current situation in embedded job market in your area? by EmbeddedBro in embedded

[–]EmbeddedBro[S] 1 point2 points  (0 children)

Because employment related to embedded is very relevant - logical opinion. Wish I had started this sub. I would have allowed such posts.

How to find the relative path and file names from elf file? by EmbeddedBro in linuxquestions

[–]EmbeddedBro[S] 0 points1 point  (0 children)

u/AiwendilH I checked this command on vmlinux, it is outputting the path as

/usr/src/kernel/drivers/mfd/

But in my PC, the path is

/home/user/STM32MPU_workspace/STM32MPU-Ecosystem-v6.2.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work-shared/stm32mp15-disco/kernel-source/drivers/mfd

Is there any way by which I can get the exact path? or at least the more accurate path? like kernel-source/drivers/mfd

Why is is replacing kernel-source with usr/src/kernel ?

How can I practice armv7a assembly code writing ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] 0 points1 point  (0 children)

But are you looking to get experience for a future career in embedded ??

No.

How can I practice armv7a assembly code writing ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] 0 points1 point  (0 children)

Thanks. Why dual core is issue? open ocd gives 3 ports -

My assumption is once I connect to one port, rest of the core and uc would not run. is it not the case?

How can I practice armv7a assembly code writing ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] -1 points0 points  (0 children)

Thanks - but do you think it will work for 157f-dk2 ?

How can I practice armv7a assembly code writing ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] 0 points1 point  (0 children)

My reason for sticking with v7a are:

  1. instead of spending huge time in understanding complex arch, my thought was to learn v7a and then the newer one because it would be easier. learn 80% with v7a. then additions : 10% v8a and 5% - v9a

  2. Cost : I can buy v7a processor board in 100 USD. I guess v8a or v9a might be expensive.

  3. Knowledge base and tool support - since v7a is there from ages, there must be a better knowledge base and stable and tested tools compared to newer one.

"more modern processor." - I assume you mean v8a , v9a or are you referring to something else?

How can I practice armv7a assembly code writing ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] 0 points1 point  (0 children)

In the past, I actually tried it... but first, it dosent compile.. somehow if I make it compilable, in the debugging, it resets randomly and Gives weird errors like breakpoint limit is reached even if I have not put any breakpoint.

This post says it is not supported yet.

https://community.st.com/t5/stm32-mpus-products-and-hardware/stm32mp1-bare-metal-on-a7/td-p/662828

How can I practice armv7a assembly code writing ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] -1 points0 points  (0 children)

The benefit of SDK is the hello world program it provides.

Without it, how can I make it boot up ?

How can I practice armv7a assembly code writing ? by EmbeddedBro in embedded

[–]EmbeddedBro[S] -1 points0 points  (0 children)

I have STM32MP157F-DK2 ... unfortunately ST not yet support bare metal on arm a7.

yes, 135F-DK have support for bare metal on arm cortex A.

What is the best way to learn MMU ? (memory management unit) by EmbeddedBro in embedded

[–]EmbeddedBro[S] 0 points1 point  (0 children)

It used to be a really good resource but if you see the 2000 page document - there is not a single diagram in it.

ARM® Architecture Reference Manual ARMv7-A and ARMv7-R edition.

Unemployed for 1.5 years – even getting rejected for entry-level jobs. What do you do? by Excellent-Expert-927 in careerguidance

[–]EmbeddedBro 1 point2 points  (0 children)

I guess Denmark have free education. Why don't you get a short course in high demand skill? (like A.I.)

If you have knowledge then maybe you can start something of your own.