Go to advanced search

by MrTomasz
Wed Mar 16, 2016 11:09 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

I've only tested the Raspbian userland so far, with which it's possible to log in at the serial console. Haven't had time to test anything else. Probably improvements are needed to both the device tree and kernel config to get everything working correctly. Please make sure the command line (bootarg...
by MrTomasz
Wed Mar 16, 2016 2:12 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Unfortunately doesn't work well for me -- I can't see proper UART kernel booting log... ## Flattened Device Tree blob at 00000100 Booting using the fdt blob at 0x000100 Loading Device Tree to 000000003ab35000, end 000000003ab39405 ... OK Starting kernel ... ćţ`fř~řfřćřffffŕřf~fřćřfţřřff`ćććřţćŕfxř`ć...
by MrTomasz
Wed Mar 16, 2016 1:06 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Nice work!

I see you integrated it in easier way than I was trying to...

Have you tested it with some simple root filesystem or you just got it booting/loading and that's it ? Any first side effects ?
by MrTomasz
Tue Mar 15, 2016 2:58 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Hi, I've been doing some reading of web pages and it appears that 64 bit ARM may not be that easy since there are some pointer dependencies between the firmware, bootloader, and linux kernel. I was wondering if anybody has any thoughts on getting a 64 bit compile of the linux kernel running with th...
by MrTomasz
Fri Mar 11, 2016 12:00 pm
Forum: Troubleshooting
Topic: Freezes while playing audio (alsa)
Replies: 1
Views: 950

Re: Freezes while playing audio (alsa)

Same problem applies also when Pulseaudio is in use - doesn't matter if this is default 5.0 version or later (I've tried 9.0 as well). Pulseaudio server configuration doesn't matter (running in recommended 'per user' mode or as a system-wide), Pulseaudio client type doesn't matter as well (pacat/pap...
by MrTomasz
Fri Mar 11, 2016 9:51 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Thanks swarren!

I hope I can validate at least some basic things and start finally my kernel.

What do you mean by "compiler-optimization dependency is odd" ?
by MrTomasz
Thu Mar 10, 2016 6:43 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Thanks for the reply. Another question - machine specific code in arm/mach-bcm2709 - is it required for just proving that kernel code is executed and something is sent to UART (in this case bootlog) ? I don't care if kernel or soc will crash just right after first bits of init. I didn't finish this ...
by MrTomasz
Thu Mar 10, 2016 4:38 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Hello again, Still nothing... I think the quicker thing will be to test some baremetal program or some things like U-Boot or Coreboot - the reason for that is that Linux kernel doesn't like to be entered in EL3 mode, where the other things I mentioned can and are properly switching to EL2/EL1. I've ...
by MrTomasz
Wed Mar 09, 2016 12:20 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Thanks for the reply dom.

I was thinking about that if I should use kernel_old=1 to boot from 0x0 or not... I'll check that and let's see.
by MrTomasz
Tue Mar 08, 2016 11:18 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 96748

Re: Entering aarch64 execution state

Hi dom, I have few questions : 1. When ARM boots in AArch64 mode, in which exception level (EL) we are while trying to load & run kernel.img ? Is it EL3 or we are already switched to EL2/EL1 by VC arm loader ? 2. Are there any other special magic things we have to do ? (arm_control=0x200 was und...

Go to advanced search