Git Product home page Git Product logo

orangepi3-h6-mainline's People

Contributors

aivaras-s avatar ingamedeo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

orangepi3-h6-mainline's Issues

aw-el2-barebone

I need your help. I am following your instructions but I have a problem with "aw-el2-barebone" .

The environment is an "Orange PI 3" with Os Armbian Bullseye mainline based kernel 5.10.y and updated as of today 02.10.2021

When I issue the command:

make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-

I get the following error:

root@Torrent:~/orangepi3-h6-mainline/aw-el2-barebone# make -j8 CROSS_COMPILE=aarch64-linux-gnu-
aarch64-linux-gnu-ld -nostdlib -nostartfiles -static -T ldscripts/a64.ld start.o init.o uart.o stack.o exceptions.o exception_funcs.o panic.o pgtables.o trapped_funcs.o -o el2-bb.elf
aarch64-linux-gnu-ld: trapped_funcs.o: in function process_low_sync': trapped_funcs.c:(.text+0x11c): undefined reference to __aarch64_cas4_acq_rel'
trapped_funcs.c:(.text+0x11c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__aarch64_cas4_acq_rel'
make: *** [Makefile:31: el2-bb.elf] Errore 1

could you help me to solve the problem?
Thanks

aw-el2-barebone can not complete linking .

Error case by incorrect LD at the 31st line gave me the following error. It was compile using ARCH=arm64-linux-gnu- (Mosr recent version) in an XUbuntu 22.04. Arm64-linux-gnu-ld does not have support for -nostartfiles. How can we correct this error?

*make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
aarch64-linux-gnu-ld -nostdlib -nostartfiles -static -T ldscripts/a64.ld start.o init.o uart.o stack.o exceptions.o exception_funcs.o panic.o pgtables.o trapped_funcs.o -o el2-bb.elf
aarch64-linux-gnu-ld: Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?)
make: *** [Makefile:31: el2-bb.elf] Error 1"

sun50i-h6-orangepi-3.dts

Hello
Thank you for your work.

I have a question about the sun50i-h6-orangepi-3.dts file.

When I compile this, as you described.
With make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j4 orangepi_one_plus_defconfig
The linux Kernel loads sun50i-h6-orangepi-one-plus.dtb

So I changed u-boot to load sun50i-h6-orangepi-3.dts.
Then the orange Pi3 works but without pcie.

So I checked the dts files.
In the file sun50i-h6-pine-h64.dts, I found:
reg_pcie_slot: pcie-slot-power {
compatible = "regulator-fixed";
regulator-name = "pcie-slot-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
startup-delay-us = <100000>;
gpio = <&pio 2 15 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
and
&pcie {
vcc-supply = <&reg_bldo2>;
vdd-supply = <&reg_dcdcd>;
slot-supply = <&reg_pcie_slot>;
perst-gpio = <&pio 6 14 GPIO_ACTIVE_LOW>; /* PG14 */
status = "okay";
};

This is missing in the sun50i-h6-orangepi-3.dts.

My question is, why is this missing and which dtb file do you load during boot.

Thanks in advice for your answer.
Best regards,
Andreas

compile

Hi,

just want to try and see if I can get a sata disk working via pci on my orange pi 3. Would be great if that works.

arm-trusted-firmware
-> OK

aw-el2-barebone
-> OK

u-boot-el1-hyp-emmc
-> OK

But when I...

fritz@astro1:~/orangepi3-h6-mainline/linux-5.7.4$ make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dtbs modules
Makefile:634: include/config/auto.conf: No such file or directory
Makefile:680: include/config/auto.conf.cmd: No such file or directory


*** Configuration file ".config" not found!


*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").


Makefile:683: recipe for target '.config' failed
make: *** [.config] Error 1
fritz@astro1:~/orangepi3-h6-mainline/linux-5.7.4$

any idea what I do wrong?

/Joerg

Unable to find Image in kernel directory

Hi,
please I would like to use image with support pcie but during compliation according your command:
cp -R linux-5.7.4/arch/arm64/boot/Image /media/ingamedeo//boot/
there is no Image there.
Could you please help me with this issue?
Thank you in advance.
BR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.