Go to advanced search

by marcus_c
Tue May 31, 2016 4:01 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

CPU3: failed to come online
Brought up 3 CPUs
SMP: Total of 3 processors activated.
That doesn't seem right. Are you using swarren's uboot with the stub prepended to it?
by marcus_c
Mon May 30, 2016 12:07 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

Is there a repository containing all the kernel patches need to build an aarch64 kernel?
You can have GitHub create a patchset for you by accessing the following URL:
https://github.com/zeldin/linux/compare ... rpi3.patch
by marcus_c
Thu Apr 14, 2016 7:54 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

fsck:
You can use a Gentoo stage3 as a starting point:
http://mirror.bytemark.co.uk/gentoo/experimental/arm64/
by marcus_c
Sat Apr 02, 2016 9:01 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

--- a/drivers/usb/dwc2/core.c +++ b/drivers/usb/dwc2/core.c @@ -3163,9 +3163,9 @@ void dwc2_set_parameters(struct dwc2_hsotg *hsotg, dev_dbg(hsotg->dev, "%s()\n", __func__); dwc2_set_param_otg_cap(hsotg, params->otg_cap); - dwc2_set_param_dma_enable(hsotg, params->dma_enable); - dwc2_set_param_dma_...
by marcus_c
Thu Mar 24, 2016 11:43 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

Ok. My toolchain was generated with

crossdev --target aarch64-unknown-linux-gnu

in Gentoo.
by marcus_c
Wed Mar 23, 2016 9:34 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

1Maarten:

I used my own (https://github.com/zeldin/u-boot-rpi3.git).

My config.txt looks like yours, only difference is that I have the
line

dtparam=audio=on

as well.

Did you check both HDMI and UART?
by marcus_c
Fri Mar 18, 2016 6:53 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

swarren: I think you should keep PL01X UART as a compile time option (via menuconfig) at least. I just tried your branch and boy was the UART performing poorly. With the PL011 I can easily paste command lines longer than 40 characters into the terminal and have them input correctly. With the MU the ...
by marcus_c
Wed Mar 16, 2016 8:56 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

swarren:
Nice!
Did you see Alexander's comment regarding dcache? https://github.com/zeldin/u-boot-rpi3/issues/1
by marcus_c
Wed Mar 16, 2016 4:03 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

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 (bootargs...
by marcus_c
Tue Mar 15, 2016 10:09 pm
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

If you want to try 64-bit Linux kernel without audio/video, do git clone --depth 1 -b rpi3 https://github.com/zeldin/linux.git linux64-rpi3 cd linux64-rpi3 make ARCH=arm64 CROSS_COMPILE=aarch64-unknown-linux-gnu- bcmrpi3_defconfig make ARCH=arm64 CROSS_COMPILE=aarch64-unknown-linux-gnu- Then copy ar...
by marcus_c
Sun Mar 13, 2016 12:20 am
Forum: Bare metal, Assembly language
Topic: Entering aarch64 execution state
Replies: 171
Views: 76457

Re: Entering aarch64 execution state

Hi. I got U-Boot working in 64-bit mode. To build it, do the following steps: git clone https://github.com/zeldin/u-boot-rpi3.git cd u-boot-rpi3 make rpi_3_defconfig make CROSS_COMPILE=aarch64-unknown-linux-gnu- Copy the resulting u-boot.bin to your boot partition, and make sure that config.txt cont...

Go to advanced search