Hi Jagan, >-----Original Message----- >From: Jagan Teki <ja...@amarulasolutions.com> >Sent: 02 May 2020 22:49 >To: Pragnesh Patel <pragnesh.pa...@sifive.com> >Cc: U-Boot-Denx <u-boot@lists.denx.de>; Atish Patra ><atish.pa...@wdc.com>; Palmer Dabbelt <palmerdabb...@google.com>; Bin >Meng <bmeng...@gmail.com>; Paul Walmsley <paul.walms...@sifive.com>; >Troy Benjegerdes <troy.benjeger...@sifive.com>; Anup Patel ><anup.pa...@wdc.com>; Sagar Kadam <sagar.ka...@sifive.com>; Rick Chen ><r...@andestech.com> >Subject: Re: [PATCH v7 00/22] RISC-V SiFive FU540 support SPL > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >On Sat, May 2, 2020 at 3:37 PM Pragnesh Patel <pragnesh.pa...@sifive.com> >wrote: >> >> This series add support for SPL to FU540.U-Boot SPL can boot from >> L2 LIM (0x0800_0000) and jump to OpenSBI(FW_DYNAMIC firmware) and >> U-Boot proper from MMC devices. >> >> How to test this patch: >> 1) Go to OpenSBI-dir : make PLATFORM=generic FW_DYNAMIC=y >> 2) export >> OPENSBI=<path/to/opensbi/install_dir/platform/generic/firmware/fw_dyna >> mic.bin> >> 3) Change to u-boot-dir >> 4) make sifive_fu540_defconfig >> 5) make all >> 6) Format the SD card (make sure the disk has GPT, otherwise use gdisk >> to switch) >> >> # sudo sgdisk --clear \ >> > --set-alignment=2 \ >> > --new=1:34:2081 --change-name=1:loader1 --typecode=1:5B193300- >FC78-40CD-8002-E86C45580B47 \ >> > --new=2:2082:10273 --change-name=2:loader2 -- >typecode=2:2E54B353-1271-4842-806F-E436D6AF6985 \ >> > --new=3:10274: --change-name=3:rootfs --typecode=3:0FC63DAF- >8483-4772-8E79-3D69D8477DE4 \ >> > /dev/sda >> >> 7) sudo dd if=spl/u-boot-spl.bin of=/dev/sda seek=34 >> 8) sudo dd if=u-boot.itb of=/dev/sda seek=2082 > >Most patches improved from v6, but still few issues like >- patches which are unrelated to MMC SPL support, please bypass and send >them separately.
Will update in v8. >- order of patches need to improve, take my suggestions and order them. Sure. >- incorporate partition layout patches before SPL enablement patch. Will do, I thought you will send v3 of [1] that's why I did not incorporate that changes. I will incorporate in v8. [1] https://patchwork.amarulasolutions.com/patch/1092/ > >Jagan.