AM5729 Debian 10.3 2020-04-06 device tree

Hi Team,

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,

  1. How can we enable the gpmc.
  2. Which device tree we have to change for same. Does it belongs to kernel or u-boot ?

Regards,
Rahulkumar

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.

Hi @mringelectrick,

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

Regards,
Rahulkumar

git clone -b ti-linux-5.10.y https://git.beagleboard.org/RobertCNelson/ti-linux-kernel-dev.git
cd ./ti-linux-kernel-dev/
./build_deb.sh

Then just copy the deploy/linux-image.*.deb your am57xx and install with dpkg…

Regards,

try downloading this version of Debian 11
https://rcn-ee.net/rootfs/debian-armhf-11-bullseye-iot-v5.10-ti/2023-08-30/

1 Like

Hi @RobertCNelson,

I have build the kernel with build_deb.sh.

  1. 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]

  1. 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.

Regards,
Rahulkumar