Skip to content

Commit

Permalink
support for building bigger sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
kost committed Jan 31, 2020
1 parent 96570c8 commit df005ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mkdir -p $DIST_OUT
cd SaxonSoc/hardware/synthesis/ulx3s && \
cp makefile.uboot makefile && \
make generate && \
make FPGA_SIZE=$FPGA_SIZE SDRAM_SIZE=$SDRAM_SIZE && \
for SIZE in FPGA_SIZE; do make FPGA_SIZE=$SIZE SDRAM_SIZE=$SDRAM_SIZE; cp bin/toplevel.bit /dist/saxonsoc-ulx3s-linux-$SIZE.bit; rm bin/toplevel.[bc]*; done && \
cd ../../../.. && \
git clone https://github.com/SpinalHDL/u-boot.git -b saxon u-boot && \
cd u-boot && \
Expand Down Expand Up @@ -67,7 +67,6 @@ mkdir -p $DIST_OUT
gzip -9 < ../rootfs.tar > ../rootfs.tar.gz && \
cd .. && \
cp rootfs.tar.gz $DIST_OUT && \
cp -a SaxonSoc/hardware/synthesis/ulx3s/bin/toplevel.bit $DIST_OUT/saxonsoc_linux.bit && \
cp -a SaxonSoc/software/standalone/machineModeSbi/build/machineModeSbi.bin $DIST_OUT/[email protected] && \
cp -a u-boot/u-boot.bin $DIST_OUT/[email protected] && \
echo "[i] Success"
Expand Down

0 comments on commit df005ba

Please sign in to comment.