-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fpga-load.ko fails with "Cannot find manager node" #2
Comments
If I rebuild the initramfs after copying the dtbo files into
The symptom is that the User LED 0 flashes pulse, pulse, pause. I can't reach the serial console with the cape installed, so I can't see what uboot or the kernel is printing. |
Beagleboard has shifted to using U-Boot for applying the devicetree overlays. Sadly bootloader access is stunted by the spec so a U-boot or early boot failure is difficult to debug. You have to rely on the /boot/uenv.txt and a convoluted default environment in U-Boot. You might be able to pin clips to get a hold of the UART under the cape but utmost care should be taken when separating the boards. I would tack wires to the bottom of the header. Luckily since you have to use an uSD part you can plug it into your PC for updates or reverts. https://forum.digikey.com/t/all-beaglebone-varients-u-boot-overlays/26 Not sure why the initrams thing made it puke but the debug console will give you some hints. Bust out the soldering iron. :) |
Booting with the
Perhaps something is not properly configured on my cape? |
Perhaps the overlay file is not up to date and loaded in the proper location. Here is what it looks like on the uSD I have here:
|
I have the same version in Is the +5V supply required to load the FPGA or can it be USB powered? |
I always use the USB only for testing. |
The one in /lib/firmware should be loaded.
|
What else should I check? |
The dtbo should be automatically loaded on boot. |
So I just loaded the image to a new uSD card, booted it and ran the following:
The dmesg output:
Not sure where the holdup is on your board. Lemme try the uSD card on a brand new BBB. |
Okay I am seeing the same failure as you with the new BBB. Comparing the kernel messages the new and old BBB. |
Here is something that is different early in the boot. On the failing BBB: On the working BBB: |
Looks like the bootloader on the eMMC of new module is the culprit. I pressed the S2 button on the new BBB while powering on and it worked. So we have to update the bootloader on the eMMC with the new BBB. See if pressing S2 while powering helps for you. |
Hopefully your fingers are small enough to reach under the cape to the button. S2 is just above the uSD card. |
It is a difficult reach, but yes, that does it! I don't have a working D1 on my board to blink, but the bitstream load appears to have worked. |
Now we just have to come up with a procedure to update the eMMC bootloader. The easiest way would be to erase the first few sectors of the eMMC. :) |
One quick creative way would be: sudo dd if=/dev/mmcblk0 of=/dev/mmcblk1 bs=1M count=1 hopefully u-boot.img isn't bigger then normal, and you have the partition hole setup at 4MB.. Regards, |
Nope, that failed..
(last 3 ^ char up there is me, yanking power, removing microsd and attaching power..) |
@RobertCNelson any other ideas? Is there a Debian way to do it? |
According to Jason Kridner: |
I wonder if you can help me. I am seeing the same issue and holding S2 does not resolve the problem. My apologies for the duplication as I have also sent you a direct email. I have loaded https://debian.beagleboard.org/images/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz onto the eMMC and https://rcn-ee.net/rootfs/bb.org/testing/BeagleWire/BeagleWire-image.tar.xz onto the sd card debian@arm:~/load-fw$ sudo ./bw-prog.sh blink.bin and the following dmesg: [ 104.109535] random: 7 urandom warning(s) missed due to ratelimiting |
Not sure if this is relevant, I have an invalid signature in dmesg I also have this line which does not indicate the cape was detected: |
I found my problem. The cape eeprom was not programmed. Thanks |
Hi,
Great news, have fun with BeagleWire. If you find any issues please let me
know.
Patryk
sob., 1 maj 2021 o 03:30 sbenyamin ***@***.***> napisał(a):
… I found my problem. The cape eeprom was not programmed. Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADJLCSEUH6U7XUOW3O4I5S3TLNKUXANCNFSM4FF5KORQ>
.
|
Hi Patryk, I did not want to log this as an issue as it is likely my problem.When I try to compile the example code, I get the following error. I installed the tool yesterday so I can assume I have the latest version.The text alignment may not show correctly on your email if you do not have fixed width font, the error is pointing to the -j.
Thanks
***@***.***:~/BeagleWire-master/examples/blink_leds$ makeyosys \ -q \ -p "synth_ice40 -top top -json hardware.json -blif blink.blif" \ top.vERROR: Command syntax error: Unknown option or option in arguments.> synth_ice40 -top top -json hardware.json -blif blink.blif> ^../Makefile.beaglewire:11: recipe for target 'blink.blif' failedmake: *** [blink.blif] Error ***@***.***:~/BeagleWire-master/examples/blink_leds$
On Friday, April 30, 2021, 10:13:34 PM PDT, Patryk Mężydło ***@***.***> wrote:
Hi,
Great news, have fun with BeagleWire. If you find any issues please let me
know.
Patryk
sob., 1 maj 2021 o 03:30 sbenyamin ***@***.***> napisał(a):
I found my problem. The cape eeprom was not programmed. Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADJLCSEUH6U7XUOW3O4I5S3TLNKUXANCNFSM4FF5KORQ>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It seems the issue was solved in this thread if not please trying following repo with given commit, also attached getting started guide for beaglewire. Kindly try script on the following repo (Also worked in hardware with commit 26a99da ) Regards, |
Since I don't have the quick start firmare image due to issue #1, I've tried building the dev environment on a stock debian BBB image. To get to the point of being able to try the
fpga-load.ko
I had to:fpga-mgr.ko
andice-spi.ko
as out-of-tree modules and insmod'ed themDTS/BW-ICE40CapeV2-00A0.dts
into a dtbo and installed it with the cape managerbw-prog.sh
When
fpga-load.ko
is insmod'ed by the script, it fails with "Cannot find manager node
" and exits without loading the bitfile.The text was updated successfully, but these errors were encountered: