- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Community,
I receive the following error when I want to program the fpga from Linux:
fpga_manager fpga0: writing fpga.rbf to Altera SOCFPGA FPGA Manager
Unable to handle kernel NULL pointer dereference at virtual address 00000008
The full kernel log is in attachment: kernel-log.txt The device tree is in attachment: device-tree.txt The kernel defconfig is in attachment: kernel-deconfig.txt Device-tree overlay file is in attachment: dtso.txt I hope u can help me. Thanks in advance. I use buildroot 2018.05 to build the device-tree, the kernel and all the rest for a Linux Embedded device. I tried the following kernel versions: rel_socfpga-4.9.78-ltsi_18.07.01_pr and rel_socfpga-4.16_18.06.02_pr from https://github.com/altera-opensource/linux-socfpga but both have the same error.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I found a workaround.
This error is caused bydtc -O dtb -o /tmp/dtbo -@ "$DTSO_FILE"
cat /tmp/dtbo > /sys/kernel/config/device-tree/overlays/default/dtbo
Piping the content of the dtbo seems not to work anymore. The solution is to pipe the name of the dtbo file to the path argument of device-tree overlay. dtc -O dtb -o /lib/firmware/dtbo -@ "$DTSO_FILE"
echo dtbo > /sys/kernel/config/device-tree/overlays/default/path
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page