I wanted to ask a question on the BBB. To turn on the LCD Neaglebone I recompiled the kernel by editing the board-335evm.c (adding lcd_init ()). On the BeagleBoneBlack which has kernel 3.8 as I do? Thank you so much in advance!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I wanted to ask a question on the BBB. To turn on the LCD Neaglebone I recompiled the kernel by editing the board-335evm.c (adding lcd_init ()). On the BeagleBoneBlack which has kernel 3.8 as I do? Thank you so much in advance!
Hi,
Kernel 3.8 uses device trees to configure the peripherals. With your new LCD, you just need to describe it in a device tree and provide it to the kernel without the need to recompile the kernel.
Please follow these links to learn more about device tree usage:
http://linuxgizmos.com/introducing-the-new-beaglebone-black-kernel/
https://github.com/jadonk/validation-scripts/tree/master/test-capemgr
Best regards,
Miroslav
Thank you very much! I tried to load with the echo command pinctrl-test-7> $ SLOTS (export SLOTS = / sys/devices/bone_capemgr.8/slots) but I get the following error:-sh: echo: write error: no such file or directory. Why?
Best regards,
Dalla Vecchia Giulio
Hi,
Take a look at this article: http://www.elinux.org/BeagleBone_and_the_3.8_Kernel#Porting_to_the_new_DT_kernel_FAQ
I think the command you use will actually try to load the file /lib/firmware/pinctrl-test-7-<version>.dtbo if you have supplied a "version" parameter in the device tree overlay file. I guess this dtbo file doesn't exist and hence you are receiving an error message.
Best regards,
Miroslav
I'm uploading BB-BONE-LCD7-01 to turn on the LCD with the command:
echo BB-BONE-LCD7-01> / sys/devices/bone_capemgr.8/slots but I get the error echo: write error: no such file or directory, why? The file BB-BONE-LCD7-01-00A2 is present in / lib / firmware.
Best regards,
Dalla Vecchia Giulio
Hi,
Are you sure the "version" parameter in the device tree overlay file is "00A2"? Also, does your device tree file inside /lib/firmware/ have ".dtbo" extension? I guess the kernel is quite strict about these file names.
Best regards,
Miroslav
It file.dtbo is present in the / lib / firmware version 00A2
I wanted to charge the device LCD7, I managed in the following way: In the file am335x-bone-common.dtsi I added
slot @ 103 {
you, cape-override;
compatible = "ti, BeagleBone-black";
board-name = "Bone-LCD7";
version = "00A2";
manufacturer = "Julius";
part-number = "BB-BONE-LCD7-01";
};
then I recompiled the kernel. at boot time the LCD is on. But the memory eMMC is not loaded then I do not see between devices, why?
This is my file am335x-bone-common.dtsi:
http://dropcanvas.com/06ndc
Best regards,
Dalla Vecchia Giulio