Hi Patrick,
I just used the latest Lantronix BSP release preinstalled on the board as the filesystem base. The initramfs cpio test image came from Linaro here: https://snapshots.linaro.org/member-builds/qcomlt/testimages/arm64/1379/init...
I hope that helps answer your questions.
William Breathitt Gray
On Wed, 31 May 2023 at 17:01, Patrick Whewell < patrick.whewell@sightlineapplications.com> wrote:
Hey William,
In terms of testing this. What filesystem image were you using? Did you start from a Linaro based complete build like the existing yocto build environment on the 96boards for the RB5? Or did you start with the latest Lantronix BSP release and then just build this kernel and then flash the boot.img to that?
I just want to make sure that we are starting from the same place.
*Patrick Whewell | **Software Engineer **| **SightLine Applications, Inc **| **Onboard Video Processing*
*From:* William Gray william.gray@linaro.org *Sent:* Wednesday, May 31, 2023 8:32 AM *To:* Patrick Whewell patrick.whewell@sightlineapplications.com *Cc:* sightlineapplications@lists.linaro.org *Subject:* [Sightlineapplications] Re: RB5 platform
Vinod wrote a great blog post detailing how to boot the mainline kernel on Qualcomm devices: https://www.linaro.org/blog/let-s-boot-the-mainline-linux-kernel-on-qualcomm...
Here's a summary of the commands I execute on my ARM64 Linux dev PC to boot the Open-Q 865 with the new device tree:
# make defconfig # make Image.gz dtbs modules # make modules_install INSTALL_MOD_PATH=./modules_dir
INSTALL_MOD_STRIP=1
# cat
initramfs-test-image-qemuarm64-20230321073831-1379.rootfs.cpio.gz modules.cpio.gz > final-initramfs.cpio.gz # cat arch/arm64/boot/Image.gz arch/arm64/boot/dts/qcom/qrb5165-lantronix-openq865.dtb > Image.gz+dtb
# CMDLINE="ignore_loglevel earlycon" # git clone https://git.codelinaro.org/clo/qsdk/oss/tools/skales
--depth=1
# python2 ./skales/mkbootimg --kernel Image.gz+dtb --cmdline
${CMDLINE} --ramdisk final-initramfs.cpio.gz --base 0x80000000 --pagesize 4096 --output boot.img
# fastboot boot boot.img
If you encounter any problems just let me know and I can help you out.
William Breathitt Gray
On Wed, 31 May 2023 at 10:32, William Gray william.gray@linaro.org wrote:
Hi Patrick,
Here's an an initial commit for the Lantronix Open-Q 865 devkit that gets it booting up to a console (albeit with a very spare DTS): https://git.codelinaro.org/william_gray/openq-865/-/commit/42f82bde586fd1c33...
The main files of interest are *openq5165rb.dtsi *which serves as an include for the the QRB5165RB SOM, while the *qrb5165-lantronix-openq865.dts* is the main DTS for the board. I based this around the definitions for the qrb5165-rb5 which is mostly compatible; I'll be making adjustments throughout to fit the openq865 more aptly (e.g. defining a pm8250 based on the existing pm8150 nodes).
You can follow my v5.15 development here: https://git.codelinaro.org/william_gray/openq-865/-/tree/openq865-v5.15
William Breathitt Gray
On Thu, 25 May 2023 at 13:27, William Gray william.gray@linaro.org wrote:
Hi Patrick,
I'm working on a device tree for Open-Q 865 that is based on the current arch/arm64/boot/dts/qcom/qrb5165-rb5.dts upstream in 6.4-rc1. I should have a basic bootable device tree ready for you to test by our next meeting on May 31. I'll also rebase a version on 5.15 so you can try that as well (qrb5165-rb5 device tree works on 5.15 so I don't anticipate any issues for the open-q 865).
William Breathitt Gray
On Thu, 25 May 2023 at 13:17, Patrick Whewell < patrick.whewell@sightlineapplications.com> wrote:
Hello,
In our last meeting on May 17 it was mentioned that there was work being done on the Lantronix device tree and it was booting in 6.4(? I think that was the version) kernel.
How’s work on porting to 5.15 going? Is there a way to get the 6.4 kernel and the device tree to test out the booting locally for us?
*Patrick Whewell*
*Software Engineer*
He/him
*patrick.whewell@sightlineapplications.com patrick.whewell@sightlineapplications.com*
www.sightlineapplications.com
*5711 S Hood Ave., Suite 100*
*Portland, OR 97239*
http://sightlineapplications.com/
Sightlineapplications mailing list -- sightlineapplications@lists.linaro.org To unsubscribe send an email to sightlineapplications-leave@lists.linaro.org