Home › Forums › snickerdoodle › • Getting Started › how to reduce the DRAM size from 8Gb to 4Gb?
Tagged: DRAM_SIZE
-
AuthorPosts
-
-
Hello,
I use Vivado 2019.2, Vitis 2019.2, Petalinux 2019.2, and Ubuntu VM 18.04 environment.
I reused the Vivado design in the posting. ( https://www.hackster.io/whitney-knitter/petalinux-on-snickerdoodle-black-pismasher-baseboard-b23833 )
I reduced the DRAM size from 8Gb to 4Gb with customizing the Zynq7 block in Vivado. The generated .xsa files were used by the petalinux as below.
When the 8Gb DRAM is mounted on the board, the changed bootloader can be booted and the DDR SIZE is displayed as 512 MiB(4Gb) as below.
However, when the 4Gb DRAM is mounted on the board, the bootloader doesn’t show any output on the serial terminal. Please help me to solve this problem. Thanks.
Best Regards,
Jeff
ubuntu@ubuntu:~/pkg/petalinux/2019.2/snkrddl_blk_0$ petalinux-config –get-hw-description /home/ubuntu/Xilinx/Vivado/2019.2/snkrddl_blk_0-master
ubuntu@ubuntu:~/pkg/petalinux/2019.2/snkrddl_blk_0$ petalinux-build
ubuntu@ubuntu:~/pkg/petalinux/2019.2/snkrddl_blk_0$ petalinux-package –boot –format BIN –fsbl ~/Xilinx/Vivado/2019.2/snkrddl_blk_0-master/vitis_workspace/snickerdoodle_black_pismasher/export/snickerdoodle_black_pismasher/sw/snickerdoodle_black_pismasher/boot/fsbl.elf –fpga ~/Xilinx/Vivado/2019.2/snkrddl_blk_0-master/vitis_workspace/snickerdoodle_black_pismasher/export/snickerdoodle_black_pismasher/hw/snkrddl_blk_0_wrapper.bit –u-boot ~/pkg/petalinux/2019.2/snkrddl_blk_0/images/linux/u-boot.elf –force
U-Boot 2019.01 (Nov 08 2024 – 07:24:47 +0000) Xilinx Zynq ZC702
CPU: Zynq 7z020
Silicon: v3.1
DRAM: ECC disabled 512 MiB
MMC: mmc@e0100000: 0, mmc@e0101000: 1
Loading Environment from SPI Flash… SF: Detected n25q128a with page size 256 Bytes, erase size 64 KiB, total 16 MiB
OK
In: serial@e0000000
Out: serial@e0000000
Err: serial@e0000000
Net: ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
eth0: ethernet@e000b000ZYNQ GEM: e000c000, phyaddr 0, interface rgmii-id
Warning: ethernet@e000c000 (eth1) using random MAC address – f2:c1:cf:34:3f:8a
, eth1: ethernet@e000c000
Hit any key to stop autoboot: 0
Zynq>
Zynq>
Zynq>
Zynq>
Zynq> bdinfo
arch_number = 0x00000000
boot_params = 0x00000000
DRAM bank = 0x00000000
-> start = 0x00000000
-> size = 0x20000000
baudrate = 115200 bps
TLB addr = 0x1fff0000
relocaddr = 0x1ff45000
reloc off = 0x1fb45000
irq_sp = 0x1f3204d0
sp start = 0x1f3204c0
ARM frequency = 866 MHz
DSP frequency = 0 MHz
DDR frequency = 399 MHz
Early malloc usage: 2bc / 800
fdt_blob = 0x1f3204e0
-
-
AuthorPosts
- You must be logged in to reply to this topic.