Go to advanced search

by pxlnpx
Sun Mar 10, 2019 3:59 pm
Forum: Advanced users
Topic: 4.19 kernel 64 bit support - please report issues here
Replies: 51
Views: 9505

booting big-endian -- Re: 4.19 kernel 64 bit support - please report issues here

Following the above call for 64-bit issue reports here are some findings (I used the latest github firmware/boot/* release): U-Boot 2018.11 (Jan 01 2019 - 15:29:38 +0100) DRAM: 896 MiB RPI 2 Model B (0xa22042) MMC: [email protected]: 0, [email protected]: 1 Loading Environment from FAT... *** Warning - bad ...
by pxlnpx
Sun Feb 10, 2019 9:14 pm
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 77
Views: 54930

Re: Yet Another Bare Metal Tutorial for the RPi3

In the process of studying the arm processor by following bzt's tutorials an interesting question emerged: can raspberrypi be deployed in a big-endian mode? Just as a toy exercise here is bzt's tutorial "03_uart1" slightly modified to support big-endian. The "start.S" file: .section ".text.boot" .gl...
by pxlnpx
Sun Feb 10, 2019 7:54 pm
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 77
Views: 54930

Re: Yet Another Bare Metal Tutorial for the RPi3

...But if you want to keep the debug info in the .img regardless, simply put them in the text section after the rodata. Thanks for this hint, it looks promising. Though, by this simple copy .text : { *(.debug_info) } the LMA and VMA addresses look different, and the dwarf info unfortunately gets "c...
by pxlnpx
Tue Feb 05, 2019 8:39 pm
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 77
Views: 54930

Re: Yet Another Bare Metal Tutorial for the RPi3

... You can add a new segment in link.ld for debug info, but shouldn't be needed. Normally they are just appended to the text segment. ... Thanks for this hint; I just added .debug_info 0 : { __debug_info_start = .; *(.debug_info) __debug_info_end = .; } __debug_info_size = SIZEOF(.debug_info); for...
by pxlnpx
Sat Feb 02, 2019 7:07 pm
Forum: Bare metal, Assembly language
Topic: Yet Another Bare Metal Tutorial for the RPi3
Replies: 77
Views: 54930

Re: Yet Another Bare Metal Tutorial for the RPi3

3. most complicated, but most promosing for fully featured IDE itegration is to compile a gdb remote stub into you kernel. In theory gdbserver has a patch for AArch64, but honestly I haven't tried that. There's also a (not very helpful) description on ARM info center on how to use JTAG in virtual e...

Go to advanced search