[U-Boot] mt7623 bootup example

Hi Simon, hi Ryder, i tried Patches so far, they are working well https://patchwork.ozlabs.org/patch/992398/ here my github-repo with steps to build: https://github.com/frank-w/u-boot there is a build.sh, which compiles uboot the common way with some additions like bootmenu and full environment to load a kernel on BPI-R2 here are instructions how to prepare SD-Card for boot-up: https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:storage#extended_boot-h... as you see you need 3 Headers on SD-Card (SDMMC_BOOT, BRLYT, Preloader) and the uboot.bin for SD-Card. on emmc imho preloader in boot0-block and uboot on main-Partition is enough for uboot to boot Source: https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:uboot#update_uboot btw. @ryder.lee you have a small typo in the readme: Boorom => Bootrom (2 times)
maybe you can add Infos above from my wiki. Btw. how far is the ethernet-driver? then i can replace my 2014-uboot ;) regards Frank

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)
Gesendet: Samstag, 03. November 2018 um 09:46 Uhr Von: "Frank Wunderlich" frank-w@public-files.de An: sjg@chromium.org, "Ryder Lee" ryder.lee@mediatek.com Cc: u-boot@lists.denx.de Betreff: [U-Boot] mt7623 bootup example
Hi Simon, hi Ryder, i tried Patches so far, they are working well https://patchwork.ozlabs.org/patch/992398/ here my github-repo with steps to build: https://github.com/frank-w/u-boot there is a build.sh, which compiles uboot the common way with some additions like bootmenu and full environment to load a kernel on BPI-R2 here are instructions how to prepare SD-Card for boot-up: https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:storage#extended_boot-h... as you see you need 3 Headers on SD-Card (SDMMC_BOOT, BRLYT, Preloader) and the uboot.bin for SD-Card. on emmc imho preloader in boot0-block and uboot on main-Partition is enough for uboot to boot Source: https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:uboot#update_uboot btw. @ryder.lee you have a small typo in the readme: Boorom => Bootrom (2 times)
maybe you can add Infos above from my wiki. Btw. how far is the ethernet-driver? then i can replace my 2014-uboot ;) regards Frank _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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.
Gesendet: Samstag, 03. November 2018 um 09:46 Uhr Von: "Frank Wunderlich" frank-w@public-files.de An: sjg@chromium.org, "Ryder Lee" ryder.lee@mediatek.com Cc: u-boot@lists.denx.de Betreff: [U-Boot] mt7623 bootup example
Hi Simon, hi Ryder,
i tried Patches so far, they are working well
https://patchwork.ozlabs.org/patch/992398/
here my github-repo with steps to build:
https://github.com/frank-w/u-boot
there is a build.sh, which compiles uboot the common way with some additions like bootmenu and full environment to load a kernel on BPI-R2
here are instructions how to prepare SD-Card for boot-up:
https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:storage#extended_boot-h...
as you see you need 3 Headers on SD-Card (SDMMC_BOOT, BRLYT, Preloader) and the uboot.bin for SD-Card. on emmc imho preloader in boot0-block and uboot on main-Partition is enough for uboot to boot
Source: https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:uboot#update_uboot
btw. @ryder.lee you have a small typo in the readme: Boorom => Bootrom (2 times)
Thanks for catching that.
maybe you can add Infos above from my wiki. Btw. how far is the ethernet-driver? then i can replace my 2014-uboot ;)
OK.
Thanks Ryder
participants (3)
-
Frank Wunderlich
-
Frank Wunderlich
-
Ryder Lee