From: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>
To: jorge.ramirez@oss.qualcomm.com, caleb.connolly@linaro.org,
neil.armstrong@linaro.org, sumit.garg@kernel.org
Cc: u-boot-qcom@groups.io, u-boot@lists.denx.de
Subject: [PATCH 1/7] board: qualcomm: dragonboard820c: udpate readme
Date: Mon, 7 Apr 2025 10:19:21 +0200 [thread overview]
Message-ID: <20250407081927.138915-2-jorge.ramirez@oss.qualcomm.com> (raw)
In-Reply-To: <20250407081927.138915-1-jorge.ramirez@oss.qualcomm.com>
Update build instructions.
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>
---
board/qualcomm/dragonboard820c/readme.txt | 47 ++++++++++-------------
1 file changed, 21 insertions(+), 26 deletions(-)
diff --git a/board/qualcomm/dragonboard820c/readme.txt b/board/qualcomm/dragonboard820c/readme.txt
index 966e9520e85..5817c837fdf 100644
--- a/board/qualcomm/dragonboard820c/readme.txt
+++ b/board/qualcomm/dragonboard820c/readme.txt
@@ -16,10 +16,7 @@
Build & Run instructions
================================================================================
-1) Install mkbootimg and dtbTool from Codeaurora:
-
- git://codeaurora.org/quic/kernel/skales
- commit 8492547e404e969262d9070dee9bdd15668bb70f worked for me.
+1) Install mkbootimg
2) Setup CROSS_COMPILE to aarch64 compiler or if you use ccache just do
CROSS_COMPILE="ccache aarch64-linux-gnu-"
@@ -33,15 +30,15 @@
$ touch rd
-5) Generate qualcomm device tree table with dtbTool
+5) Append the dtb to the u-boot binary
- $ dtbTool -o dt.img arch/arm/dts
+ $ gzip u-boot-dtb.bin
+ $ cat u-boot.dtb >> u-boot-dtb.bin.gz
6) Generate Android boot image with mkbootimg:
- $ mkbootimg --kernel=u-boot-dtb.bin \
+ $ mkbootimg --kernel=u-boot-dtb.bin.gz \
--output=u-boot.img \
- --dt=dt.img \
--pagesize 4096 \
--base 0x80000000 \
--ramdisk=rd \
@@ -251,44 +248,42 @@ Wait for 5 seconds before proceeding
[5300] booting linux @ 0x80080000, ramdisk @ 0x82200000 (0), tags/device tree @ 0x82000000
[5310] Jumping to kernel via monitor
-U-Boot 2017.11-00145-ge895117 (Nov 29 2017 - 10:04:06 +0100)
+U-Boot 2025.04-rc5-00020-g40a61ca0e7eb-dirty (Apr 07 2025 - 09:37:03 +0200)
Qualcomm-DragonBoard 820C
-DRAM: 3 GiB
-PSCI: v1.0
-MMC: sdhci@74a4900: 0
+DRAM: 3.5 GiB (effective 3 GiB)
+Core: 136 devices, 18 uclasses, devicetree: board
+MMC: Bulk clocks not available (-19), trying core clock
+mmc@74a4900: 0
+Loading Environment from EXT4... OK
In: serial@75b0000
Out: serial@75b0000
Err: serial@75b0000
-Net: Net Initialization Skipped
-No ethernet found.
+Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
-433 bytes read in 71 ms (5.9 KiB/s)
1: nfs root
-
+Enter choice: 1: nfs root
Retrieving file: /uImage
-19397184 bytes read in 2024 ms (9.1 MiB/s)
-append: root=/dev/nfs rw nfsroot=192.168.1.2:/db820c/rootfs,v3,tcp rootwait ip=dhcp consoleblank=0 console=tty0 console=ttyMSM0,115200n8 earlyprintk earlycon=msm_serial_dm,0x75b0000 androidboot.bootdevice=624000.ufshc androidboot.verifiedbootstate=orange androidboot.ver0
-
+append: root=/dev/nfs rw nfsroot=192.168.1.6:/home/jramirez/Src/qualcomm-lt/db820c/rootfs,v3,tcp rootwait ip=dhcp consoleblank=0 console=tty0 console=ttyMSM0,115200n8 earlyprintk earlyco0
Retrieving file: /apq8096-db820c.dtb
-38134 bytes read in 37 ms (1005.9 KiB/s)
-
-## Booting kernel from Legacy Image at 95000000 ...
+## Booting kernel from Legacy Image at 155000000 ...
Image Name: Dragonboard820c
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 19397120 Bytes = 18.5 MiB
Load Address: 80080000
Entry Point: 80080000
Verifying Checksum ... OK
-## Flattened Device Tree blob at 93000000
- Booting using the fdt blob at 0x93000000
- Loading Kernel Image ... OK
- Using Device Tree in place at 0000000093000000, end 000000009300c4f5
+## Flattened Device Tree blob at 148600000
+ Booting using the fdt blob at 0x148600000
+Working FDT set to 148600000
+ Loading Kernel Image to 80080000
+ Using Device Tree in place at 0000000148600000, end 000000014860c4f5
+Working FDT set to 148600000
Starting kernel ...
--
2.34.1
next prev parent reply other threads:[~2025-04-07 8:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 8:19 Dragonboard 820c - fix board support Jorge Ramirez-Ortiz
2025-04-07 8:19 ` Jorge Ramirez-Ortiz [this message]
2025-04-07 9:01 ` [PATCH 1/7] board: qualcomm: dragonboard820c: udpate readme neil.armstrong
2025-04-07 8:19 ` [PATCH 2/7] clk/qcom: apq8096: fix set rate for the uart clock Jorge Ramirez-Ortiz
2025-04-07 9:01 ` neil.armstrong
2025-04-07 8:19 ` [PATCH 3/7] mmc: msm_sdhci: handle bulk clock initialization error Jorge Ramirez-Ortiz
2025-04-07 9:02 ` neil.armstrong
2025-04-07 9:10 ` Neil Armstrong
2025-04-07 9:38 ` Jorge Ramirez
2025-04-07 9:53 ` Neil Armstrong
2025-04-07 10:36 ` Jorge Ramirez
2025-04-07 8:19 ` [PATCH 4/7] clk/qcom: apq8096: fix the sdhci clock Jorge Ramirez-Ortiz
2025-04-07 9:03 ` neil.armstrong
2025-04-07 8:19 ` [PATCH 5/7] configs: dragonboard820: enable GPIO Jorge Ramirez-Ortiz
2025-04-07 9:03 ` neil.armstrong
2025-04-07 8:19 ` [PATCH 6/7] mach-snapdragon: board interface to enforce fdt Jorge Ramirez-Ortiz
2025-04-07 9:04 ` neil.armstrong
2025-04-07 9:52 ` Jorge Ramirez
2025-04-07 10:02 ` Caleb Connolly
2025-04-07 10:33 ` Jorge Ramirez
2025-04-07 8:19 ` [PATCH 7/7] board: qualcommm: dragonboard820c: external fdt Jorge Ramirez-Ortiz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250407081927.138915-2-jorge.ramirez@oss.qualcomm.com \
--to=jorge.ramirez@oss.qualcomm.com \
--cc=caleb.connolly@linaro.org \
--cc=neil.armstrong@linaro.org \
--cc=sumit.garg@kernel.org \
--cc=u-boot-qcom@groups.io \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox