[U-Boot] Fw: Aw: Re: mt7623 bootup example

sorry forgot mailing-list on answer
- v3-cmdline-problem is fixed by re-adding init-code (gd->bd->bi_boot_params) - additional depencies are caused by change to binman
regards Frank
Gesendet: Montag, 05. November 2018 um 17:25 Uhr Von: "Frank Wunderlich" FrankWu@gmx.de An: "Ryder Lee" ryder.lee@mediatek.com Betreff: Aw: Re: [U-Boot] mt7623 bootup example
Hi, what is the non-legacy-method? i try to make the uenv.txt is compatible between the old and the new uboot ;) i know only this way yet
with these lines added the parameters gets passed again
diff --git a/board/mediatek/mt7623/mt7623_rfb.c b/board/mediatek/mt7623/mt7623_rfb.c index c3c12243f65..aa501e344cd 100644 --- a/board/mediatek/mt7623/mt7623_rfb.c +++ b/board/mediatek/mt7623/mt7623_rfb.c @@ -6,8 +6,13 @@ #include <common.h> #include <mmc.h>
+DECLARE_GLOBAL_DATA_PTR;
int board_init(void) {
- /* address of boot parameters */
- gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
- return 0;
}
regards Frank
Gesendet: Montag, 05. November 2018 um 03:17 Uhr Von: "Ryder Lee" ryder.lee@mediatek.com An: "Frank Wunderlich" FrankWu@gmx.de Cc: "Frank Wunderlich" frank-w@public-files.de, sjg@chromium.org, u-boot@lists.denx.de, "Weijie Gao" weijie.gao@mediatek.com, "Roy Luo" cheng-hao.luo@mediatek.com, "Steven Liu" steven.liu@mediatek.com Betreff: Re: Aw: [U-Boot] mt7623 bootup example
On Sun, 2018-11-04 at 11:38 +0100, Frank Wunderlich wrote:
Just to be clear...i tested v2 patches on rc1 (https://github.com/frank-w/u-boot/tree/bpi-r2_v2) they working well.
v3 have additional depencies (swig,python-dev same on rc1&rc3) and bootargs seems not to be passed to kernel (rc1=bpi-r2_v3_old and rc3 = bpi-r2_v3)
That's because I remove 'gd->bd->bi_boot_params' in v3, but it seems you use legacy method (ATAGs) to pass parameters. I will add it back.
participants (1)
-
Frank Wunderlich