abhishek-kakkar/BeagleLogic

Data Capture trouble shooting

Closed this issue · 2 comments

I am running the BeagleLogic from the image on an SD card without the cape. I am putting 3.3V patterns directly to the PRU1 through pins 39-46 on the header. Then I use 'dd if=/dev/beaglelogic of=mydump bs=1M count=1' to capture data. All I get are zeros when I look at the HEX dump of the file. Is there something I am missing in my setup? How do I trouble shoot?

Here are the messages shown when the kernel starts:

Starting kernel ...

[ 0.000863] clocksource_probe: no matching clocksources found
[ 2.301632] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 2.549977] omap_voltage_late_init: Voltage driver support not added
[ 2.558465] PM: Cannot get wkup_m3_ipc handle
[ 2.832597] bone_capemgr bone_capemgr: slot #0: No cape found
[ 2.863617] bone_capemgr bone_capemgr: slot #1: No cape found
[ 2.896288] bone_capemgr bone_capemgr: slot #2: No cape found
[ 2.929019] bone_capemgr bone_capemgr: slot #3: No cape found
[ 11.229524] bone_capemgr bone_capemgr: slot #4: override
[ 11.294459] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,beaglelogic'
[ 11.437313] bone_capemgr bone_capemgr: slot #5: override
[ 11.481213] bone_capemgr bone_capemgr: slot #5: 'Override Board Name,00A0,Override Manuf,cape-universalh'
[ 13.363972] pinctrl-single 44e10800.pinmux: pin PIN56 already requested by 0-0070; cannot claim for ocp:P8_27_pinmux
[ 13.479819] pinctrl-single 44e10800.pinmux: pin-56 (ocp:P8_27_pinmux) status -22
[ 13.586006] pinctrl-single 44e10800.pinmux: could not request pin 56 (PIN56) from group pinmux_P8_27_default_pin on device pinctrl-single
[ 13.755955] bone-pinmux-helper ocp:P8_27_pinmux: Error applying setting, reverse things back
[ 13.877390] pinctrl-single 44e10800.pinmux: pin PIN58 already requested by 0-0070; cannot claim for ocp:P8_28_pinmux
[ 14.024997] pinctrl-single 44e10800.pinmux: pin-58 (ocp:P8_28_pinmux) status -22
[ 14.025013] pinctrl-single 44e10800.pinmux: could not request pin 58 (PIN58) from group pinmux_P8_28_default_pin on device pinctrl-single
[ 14.025021] bone-pinmux-helper ocp:P8_28_pinmux: Error applying setting, reverse things back
[ 14.052920] pinctrl-single 44e10800.pinmux: pin PIN57 already requested by 0-0070; cannot claim for ocp:P8_29_pinmux
[ 14.052934] pinctrl-single 44e10800.pinmux: pin-57 (ocp:P8_29_pinmux) status -22
[ 14.052942] pinctrl-single 44e10800.pinmux: could not request pin 57 (PIN57) from group pinmux_P8_29_default_pin on device pinctrl-single
[ 14.052950] bone-pinmux-helper ocp:P8_29_pinmux: Error applying setting, reverse things back
[ 14.054294] pinctrl-single 44e10800.pinmux: pin PIN59 already requested by 0-0070; cannot claim for ocp:P8_30_pinmux
[ 14.054304] pinctrl-single 44e10800.pinmux: pin-59 (ocp:P8_30_pinmux) status -22
[ 14.054312] pinctrl-single 44e10800.pinmux: could not request pin 59 (PIN59) from group pinmux_P8_30_default_pin on device pinctrl-single
[ 14.054318] bone-pinmux-helper ocp:P8_30_pinmux: Error applying setting, reverse things back
[ 14.147365] pinctrl-single 44e10800.pinmux: pin PIN54 already requested by 0-0070; cannot claim for ocp:P8_31_pinmux
[ 14.147381] pinctrl-single 44e10800.pinmux: pin-54 (ocp:P8_31_pinmux) status -22
[ 14.147391] pinctrl-single 44e10800.pinmux: could not request pin 54 (PIN54) from group pinmux_P8_31_default_pin on device pinctrl-single
[ 14.147398] bone-pinmux-helper ocp:P8_31_pinmux: Error applying setting, reverse things back
[ 14.157261] pinctrl-single 44e10800.pinmux: pin PIN55 already requested by 0-0070; cannot claim for ocp:P8_32_pinmux
[ 14.157275] pinctrl-single 44e10800.pinmux: pin-55 (ocp:P8_32_pinmux) status -22
...

Is this related to my problem?

It appears old u-boot in the eMMC was preventing u-boot overlays from working. I did the following to zero out the old boot loader stuff:

sudo dd if=/dev/zero of=/dev/mmcblk1 count=1 seek=1 bs=128k

and now I am seeing data in my captures.