We are going to use gpmc for data transfer between FPGA and our am5729 AI device.
We are using https://debian.beagleboard.org/images/am57xx-debian-10.3-console-armhf-2020-04-06-1gb.img.xz image for the same.
gpmc is not reflecting on /proc/iomem.
I have queries,
- How can we enable the gpmc.
- Which device tree we have to change for same. Does it belongs to kernel or u-boot ?
What linux kernel version is this? i believe there are issue with the 4.x linux kernel. I believe it was the 4.19. I could not get the pins set properly for the PRU’s as outputs. Once i switched to a newer 5.x kernel, it worked. Dont know if you might be having a similar issue.
Yes, It is 4.19, this we got with sd card image.
Can you please help me on how to build the 5.x and replacing it at https://debian.beagleboard.org/images/am57xx-debian-10.3-console-armhf-2020-04-06-1gb.img.xz
git clone -b ti-linux-5.10.y https://git.beagleboard.org/RobertCNelson/ti-linux-kernel-dev.git
Then just copy the deploy/linux-image.*.deb your am57xx and install with dpkg…
I have build the kernel with build_deb.sh.
- During kernel installation on board getting some errors like,
update-initramfs: Generating /boot/initrd.img-4.19.94-ti-r42
find: ï¿½ï¿½â€˜/var/tmp/mkinitramfs_f9dirB/lib/modules/4.19.94-ti-r42/kernelï¿½ï¿½â€™: No such file or directory
cp: cannot stat '/usr/lib/linux-image-4.19.94-ti-r42/.dtbo’: No such file or directory*
zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=4.19.94-ti-r42]
- I have made some changes on kernel and trying to rebuild the kernel with ./rebuild_deb.sh
But I can see there is no ti-linux-kernel-dev/tools/tools due to that ./rebuild_deb.sh is failing.