Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/AM5728: SDK build issues

$
0
0

Part Number:AM5728

Tool/software: Linux

Hi,

Attempting to compile & install modules using Processor SDK Linux 4.3 - install doesn't appear to work

I'm trying to rebuild the kernel, modules and device tree binaries by following these steps:

  • make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
  • make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am57xx-evm_defconfig
  • make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage
  • make ARCH=arm CROSS_COMPILE=../../linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am57xx-beagle-x15-revb1.dtb
  • make ARCH=arm CROSS_COMPILE=../../linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- modules

This appears to complete with no issues. However, when I go to install the modules:
  • export CROSS_COMPILE=arm-linux-gnueabihf-
  • sudo make ARCH=arm  INSTALL_MOD_PATH=/home/dmurphy/my_build modules_install

Unfortunately, the "sudo make ARCH=arm INSTALL_MOD_PATH=/media/rootfs modules_install" command from the link below doesn't actually install the modules in the INSTALL_MOD_PATH.

http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components.html#kernel 

In fact, to run the command with sudo, I have to change the command to avoid gcc being picked up instead of the arm cross compiler:

sudo bash -c ' export CROSS_COMPILE=../../linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- ; make ARCH=arm INSTALL_MOD_PATH=/home/dmurphy/my_build/modules/ modules_install'

Regardless of whether I use sudo or not to make modules_install, nothing ends up in the INSTALL_MOD_PATH directory.  After some time, the Make just ends abruptly with the following output:

...

CC sound/soc/generic/snd-soc-simple-card-utils.mod.o
LD [M] sound/soc/generic/snd-soc-simple-card-utils.ko
CC sound/soc/generic/snd-soc-simple-card.mod.o
LD [M] sound/soc/generic/snd-soc-simple-card.ko
CC sound/soc/omap/snd-soc-omap-hdmi-audio.mod.o
LD [M] sound/soc/omap/snd-soc-omap-hdmi-audio.ko
CC sound/usb/snd-usb-audio.mod.o
LD [M] sound/usb/snd-usb-audio.ko
CC sound/usb/snd-usbmidi-lib.mod.o
LD [M] sound/usb/snd-usbmidi-lib.ko
dmurphy@tibuilder:~/ti-processor-sdk-linux-am57xx-evm-04.03.00.05/board-support/linux-4.9.69+gitAUTOINC+9ce43c71ae-g9ce43c71ae$

Any assistance would be greatly appreciated.

Thanks,

Dermot


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>