Re: Error reading USB camera in BeagleBone with ARM Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 19, 2018 at 07:19:17PM +0200, Josep M. Mirats Tur wrote:
> Hi Bin,
> 
> I included the following line in the /boot/uEnv.txt file (attached for
> your info):
> cmdline=musb_hdrc.use_dma=0

I am not sure about the 'cmdline=' part. Anyway, after your board is
booted, use command 'cat /proc/cmdline' to check if your setting is
correct.

Regards,
-Bin.
> 
> Is this format correct?
> I rebooted and checked again but still the same errors from dmesg:
> 
> [  228.863997] usb 1-1: new high-speed USB device number 2 using musb-hdrc
> [  229.016708] usb 1-1: New USB device found, idVendor=2bc5, idProduct=0404
> [  229.023512] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [  229.032841] usb 1-1: Product: ORBBEC Depth Sensor
> [  229.038752] usb 1-1: Manufacturer: Orbbec(R)
> [  249.221761] musb_host_rx 1965: Rx interrupt with no errors or packet!
> [  249.228346] musb_host_rx 1965: Rx interrupt with no errors or packet!
> [  249.238329] musb_host_rx 1965: Rx interrupt with no errors or packet!
> [  249.249025] musb_ep_program 916: broken !rx_reinit, ep2 csr 0003
> On Fri, Oct 19, 2018 at 7:00 PM Bin Liu <b-liu@xxxxxx> wrote:
> >
> > On Fri, Oct 19, 2018 at 06:31:15PM +0200, Josep M. Mirats Tur wrote:
> > > Bin,
> > >
> > > I'm sorry but I cannot find that menuconfig at the Beagle...
> >
> > Never mind, but add the following to your UBoot bootargs env instead to
> > disable dma.
> >
> > musb_hdrc.use_dma=0
> >
> > Regards,
> > -Bin.
> >

> #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
> 
> uname_r=4.14.71-ti-r80
> #uuid=
> #dtb=
> 
> ###U-Boot Overlays###
> ###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
> ###Master Enable
> enable_uboot_overlays=1
> ###
> ###Overide capes with eeprom
> #uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
> #uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
> #uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
> #uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
> ###
> ###Additional custom capes
> #uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
> #uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
> #uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
> #uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
> ###
> ###Custom Cape
> #dtb_overlay=/lib/firmware/<file8>.dtbo
> ###
> ###Disable auto loading of virtual capes (emmc/video/wireless/adc)
> #disable_uboot_overlay_emmc=1
> disable_uboot_overlay_video=1
> disable_uboot_overlay_audio=1
> disable_uboot_overlay_wireless=1
> #disable_uboot_overlay_adc=1
> ###
> ###PRUSS OPTIONS
> ###pru_rproc (4.4.x-ti kernel)
> #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
> ###pru_rproc (4.14.x-ti kernel)
> uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
> ###pru_uio (4.4.x-ti, 4.14.x-ti & mainline/bone kernel)
> uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
> ###
> ###Cape Universal Enable
> enable_uboot_cape_universal=1
> ###
> ###Debug: disable uboot autoload of Cape
> #disable_uboot_overlay_addr0=1
> #disable_uboot_overlay_addr1=1
> #disable_uboot_overlay_addr2=1
> #disable_uboot_overlay_addr3=1
> ###
> ###U-Boot fdt tweaks... (60000 = 384KB)
> #uboot_fdt_buffer=0x60000
> ###U-Boot Overlays###
> 
> cmdline=coherent_pool=1M net.ifnames=0 quiet
> 
> #In the event of edid real failures, uncomment this next line:
> #cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e
> 
> #Use an overlayfs on top of a read-only root filesystem:
> #cmdline=coherent_pool=1M net.ifnames=0 quiet overlayroot=tmpfs
> 
> ##enable Generic eMMC Flasher:
> ##make sure, these tools are installed: dosfstools rsync
> #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
> 
> #jmmt disable dma for musb
> cmdline=musb_hdrc.use_dma=0




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux