You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download Pynq-image-2.4, and it is running in my Pynq-Z1.
In the boot patition i found two files: BOOT.bin and image.bu, but there is not a file named devicetree, so i can not change it to instance framebuffers settings
`
[beclaser@localhost pynqz1fb]$ make ARCH=arm CROSS_COMPILE=arm-linux-gnu- -C /../kernel/linux-xlnx-xilinx-v2018.3 M=/home/beclaser/Documentos/pynqz1fb/ modules
make: *** /../kernel/linux-xlnx-xilinx-v2018.3: No existe el fichero o el directorio. Alto.
[beclaser@localhost pynqz1fb]$ make ARCH=arm CROSS_COMPILE=arm-linux-gnu- -C /home/beclaser/Documentos/kernel/linux-xlnx-xilinx-v2018.3/ M=/home/beclaser/Documentos/pynqz1fb/ modules
make: se entra en el directorio '/home/beclaser/Documentos/kernel/linux-xlnx-xilinx-v2018.3'
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/beclaser/Documentos/pynqz1fb//pynqz1fb.o
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:21:
./include/linux/module.h:137:7: aviso: ‘cleanup_module’ specifies less restrictive attribute than its target ‘pynqz1_fb_driver_exit’: ‘cold’ [-Wmissing-attributes]
137 | void cleanup_module(void) attribute((alias(#exitfn)));
| ^~~~~~~~~~~~~~
./include/linux/device.h:1509:1: nota: en expansión de macro ‘module_exit’
1509 | module_exit(__driver##_exit);
| ^~~~~~~~~~~
./include/linux/platform_device.h:228:2: nota: en expansión de macro ‘module_driver’
228 | module_driver(__platform_driver, platform_driver_register,
| ^~~~~~~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:20:
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:24: nota: ‘cleanup_module’ target declared here
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~
./include/linux/device.h:1505:20: nota: en definición de macro ‘module_driver’
1505 | static void __exit __driver##_exit(void)
| ^~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:21:
./include/linux/module.h:131:6: aviso: ‘init_module’ specifies less restrictive attribute than its target ‘pynqz1_fb_driver_init’: ‘cold’ [-Wmissing-attributes]
131 | int init_module(void) attribute((alias(#initfn)));
| ^~~~~~~~~~~
./include/linux/device.h:1504:1: nota: en expansión de macro ‘module_init’
1504 | module_init(__driver##_init);
| ^~~~~~~~~~~
./include/linux/platform_device.h:228:2: nota: en expansión de macro ‘module_driver’
228 | module_driver(__platform_driver, platform_driver_register,
| ^~~~~~~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:20:
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:24: nota: ‘init_module’ target declared here
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~
./include/linux/device.h:1500:19: nota: en definición de macro ‘module_driver’
1500 | static int __init __driver##_init(void)
| ^~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:164:12: aviso: se define ‘vdma_rx_read_reg’ pero no se usa [-Wunused-function]
164 | static u32 vdma_rx_read_reg(struct pynqz1_fb_device* fbdev, u32 offset) { return ioread32(fbdev->reg_vdma + offset + VDMA_REG_RX); }
| ^~~~~~~~~~~~~~~~
Building modules, stage 2.
MODPOST 1 modules
CC /home/beclaser/Documentos/pynqz1fb//pynqz1fb.mod.o
LD [M] /home/beclaser/Documentos/pynqz1fb//pynqz1fb.ko
make: se sale del directorio '/home/beclaser/Documentos/kernel/linux-xlnx-xilinx-v2018.3'
I follow the read-me file, and compile the modules kernel. I reach to make the pynqz1fb.ko and instance it in my Pynq, but nothing happens, i suppose because devicetree.dtb is not loading.
Is it possible that i need to compile the kernel to obtain a new image to load the device tree?
Are there any documentation recommended to do that?
The text was updated successfully, but these errors were encountered:
Hi,
I download Pynq-image-2.4, and it is running in my Pynq-Z1.
In the boot patition i found two files: BOOT.bin and image.bu, but there is not a file named devicetree, so i can not change it to instance framebuffers settings
`
[beclaser@localhost pynqz1fb]$ make ARCH=arm CROSS_COMPILE=arm-linux-gnu- -C /../kernel/linux-xlnx-xilinx-v2018.3 M=/home/beclaser/Documentos/pynqz1fb/ modules
make: *** /../kernel/linux-xlnx-xilinx-v2018.3: No existe el fichero o el directorio. Alto.
[beclaser@localhost pynqz1fb]$ make ARCH=arm CROSS_COMPILE=arm-linux-gnu- -C /home/beclaser/Documentos/kernel/linux-xlnx-xilinx-v2018.3/ M=/home/beclaser/Documentos/pynqz1fb/ modules
make: se entra en el directorio '/home/beclaser/Documentos/kernel/linux-xlnx-xilinx-v2018.3'
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/beclaser/Documentos/pynqz1fb//pynqz1fb.o
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:21:
./include/linux/module.h:137:7: aviso: ‘cleanup_module’ specifies less restrictive attribute than its target ‘pynqz1_fb_driver_exit’: ‘cold’ [-Wmissing-attributes]
137 | void cleanup_module(void) attribute((alias(#exitfn)));
| ^~~~~~~~~~~~~~
./include/linux/device.h:1509:1: nota: en expansión de macro ‘module_exit’
1509 | module_exit(__driver##_exit);
| ^~~~~~~~~~~
./include/linux/platform_device.h:228:2: nota: en expansión de macro ‘module_driver’
228 | module_driver(__platform_driver, platform_driver_register,
| ^~~~~~~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:20:
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:24: nota: ‘cleanup_module’ target declared here
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~
./include/linux/device.h:1505:20: nota: en definición de macro ‘module_driver’
1505 | static void __exit __driver##_exit(void)
| ^~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:21:
./include/linux/module.h:131:6: aviso: ‘init_module’ specifies less restrictive attribute than its target ‘pynqz1_fb_driver_init’: ‘cold’ [-Wmissing-attributes]
131 | int init_module(void) attribute((alias(#initfn)));
| ^~~~~~~~~~~
./include/linux/device.h:1504:1: nota: en expansión de macro ‘module_init’
1504 | module_init(__driver##_init);
| ^~~~~~~~~~~
./include/linux/platform_device.h:228:2: nota: en expansión de macro ‘module_driver’
228 | module_driver(__platform_driver, platform_driver_register,
| ^~~~~~~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:20:
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:24: nota: ‘init_module’ target declared here
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~
./include/linux/device.h:1500:19: nota: en definición de macro ‘module_driver’
1500 | static int __init __driver##_init(void)
| ^~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:730:1: nota: en expansión de macro ‘module_platform_driver’
730 | module_platform_driver(pynqz1_fb_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
/home/beclaser/Documentos/pynqz1fb//pynqz1fb.c:164:12: aviso: se define ‘vdma_rx_read_reg’ pero no se usa [-Wunused-function]
164 | static u32 vdma_rx_read_reg(struct pynqz1_fb_device* fbdev, u32 offset) { return ioread32(fbdev->reg_vdma + offset + VDMA_REG_RX); }
| ^~~~~~~~~~~~~~~~
Building modules, stage 2.
MODPOST 1 modules
CC /home/beclaser/Documentos/pynqz1fb//pynqz1fb.mod.o
LD [M] /home/beclaser/Documentos/pynqz1fb//pynqz1fb.ko
make: se sale del directorio '/home/beclaser/Documentos/kernel/linux-xlnx-xilinx-v2018.3'
I follow the read-me file, and compile the modules kernel. I reach to make the pynqz1fb.ko and instance it in my Pynq, but nothing happens, i suppose because devicetree.dtb is not loading.
Is it possible that i need to compile the kernel to obtain a new image to load the device tree?
Are there any documentation recommended to do that?
The text was updated successfully, but these errors were encountered: