public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: wefu@redhat.com
To: u-boot@lists.denx.de, bmeng@tinylab.org, rick@andestech.com,
	trini@konsulko.com, wefu@redhat.com, dlan@gentoo.org,
	joe.hershberger@ni.com, rfried.dev@gmail.com, ypron.glpk@gmx.de,
	michal.simek@amd.com, randolph@andestech.com,
	seashell11234455@gmail.com, peterlin@andestech.com,
	samuel@sholland.org, wiagn233@outlook.com, jonas@kwiboo.se,
	seanga2@gmail.com, baruch@tkos.co.il, kever.yang@rock-chips.com,
	sjg@chromium.org, gilbsgilbert@gmail.com, ycliang@andestech.com
Cc: tekkamanninja@gmail.com, tekkamanninja@163.com
Subject: [PATCH 6/6] config/th1520_lpi4a.h: add more env option for booting linux
Date: Wed, 27 Mar 2024 16:07:27 +0800	[thread overview]
Message-ID: <20240327080817.44501-7-wefu@redhat.com> (raw)
In-Reply-To: <20240327080817.44501-1-wefu@redhat.com>

From: Wei Fu <wefu@redhat.com>

Signed-off-by: Wei Fu <wefu@redhat.com>
Co-authored-by: Yixun Lan <dlan@gentoo.org>
---
 include/configs/th1520_lpi4a.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/configs/th1520_lpi4a.h b/include/configs/th1520_lpi4a.h
index 87496a52c4..6c0c4bc50d 100644
--- a/include/configs/th1520_lpi4a.h
+++ b/include/configs/th1520_lpi4a.h
@@ -17,6 +17,18 @@
 /* Environment options */
 
 #define CFG_EXTRA_ENV_SETTINGS \
+	"kernel_addr_r=0x82000000\0" \
+	"kernel_comp_addr_r=0x88000000\0" \
+	"kernel_comp_size=0x4000000\0" \
+	"ramdisk_addr_r=0x8d300000\0" \
+	"fdt_addr_r=0x8e000000\0" \
+	"fdt_addr_fixed=0x20000000\0" \
+	"scriptaddr=0x8e400000\0" \
+	"scriptfile=uEnv_light_lpi4a.txt\0" \
+	"devtype=mmc\0" \
+	"devnum=0\0" \
+	"bootpart=2\0" \
+	"bootcmd=ext4load mmc ${devnum}:${bootpart} ${scriptaddr} ${scriptfile}; env import -t ${scriptaddr} ${filesize};boot\0" \
 	"PS1=[LPi4A]# \0"
 
 #endif /* __TH1520_LPI4A_H */
-- 
2.44.0


  parent reply	other threads:[~2024-03-27 11:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27  8:07 [PATCH 0/6] riscv: adds T-Head C9xx basic and GMAC support wefu
2024-03-27  8:07 ` [PATCH 1/6] cpu: add t-head's c9xx wefu
2024-03-27 13:30   ` Nils Le Roux
2024-03-27  8:07 ` [PATCH 2/6] riscv/dts: add gmac node for th1520 wefu
2024-03-27  8:07 ` [PATCH 3/6] riscv/dts: add gmac node for lichee-pi-4a wefu
2024-03-27  8:07 ` [PATCH 4/6] net/designware: add compatible for "snps,dwmac" wefu
2024-03-27  8:07 ` [PATCH 5/6] config/th1520_lpi4a_defconfig:enable designware ethernet & realtek phy wefu
2024-03-27  8:07 ` wefu [this message]
2024-03-27 12:07 ` [PATCH 0/6] riscv: adds T-Head C9xx basic and GMAC support Tom Rini

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=20240327080817.44501-7-wefu@redhat.com \
    --to=wefu@redhat.com \
    --cc=baruch@tkos.co.il \
    --cc=bmeng@tinylab.org \
    --cc=dlan@gentoo.org \
    --cc=gilbsgilbert@gmail.com \
    --cc=joe.hershberger@ni.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=michal.simek@amd.com \
    --cc=peterlin@andestech.com \
    --cc=randolph@andestech.com \
    --cc=rfried.dev@gmail.com \
    --cc=rick@andestech.com \
    --cc=samuel@sholland.org \
    --cc=seanga2@gmail.com \
    --cc=seashell11234455@gmail.com \
    --cc=sjg@chromium.org \
    --cc=tekkamanninja@163.com \
    --cc=tekkamanninja@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=wiagn233@outlook.com \
    --cc=ycliang@andestech.com \
    --cc=ypron.glpk@gmx.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