1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Fix memory support on RPI4 64bits

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-07-12 08:11:39 +02:00
parent a69a5f052a
commit 300a42571b
3 changed files with 3 additions and 2 deletions

View file

@ -67,7 +67,7 @@ define Build/boot4-img
mcopy -i $@.boot $(KDIR)/fixup4.dat ::
mcopy -i $@.boot $(KDIR)/fixup4cd.dat ::
mcopy -i $@.boot $(KDIR)/fixup4x.dat ::
mcopy -i $@.boot cmdline.txt ::
mcopy -i $@.boot cmdline64.txt ::cmdline.txt
mcopy -i $@.boot config64.txt ::config.txt
mcopy -i $@.boot $(IMAGE_KERNEL) ::$(KERNEL_IMG)
$(foreach dts,$(shell echo $(DEVICE_DTS)),mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb ::;)

View file

@ -0,0 +1 @@
dwc_otg.lpm_enable=0 console=serial0,115200 kgdboc=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 coherent_pool=128M cma=256M@128M swiotlb=force rootwait

View file

@ -960,5 +960,5 @@ dtparam=spi=on
#dtoverlay=rpi-proto
#dtoverlay=rra-digidac1-wm8741-audio
[pi4]
total_mem=1024
#total_mem=1024
arm_64bit=1