Re: [beagleboard] Load the MLO and U-BOOT in beaglebone black though USB port
https://github.com/ungureanuvladvictor/BBBlfs look at this to see how to boot via USB. On Thursday, January 15, 2015 at 8:54:06 AM UTC+1, goku...@gmail.com wrote: hi According to Silicon Errata SPRZ360 section 3.1.3 Boot: USB Boot ROM Code Uses Default DATAPOLARITY .The AM335x USB PHYs supports a DATAPOLARITY feature that allows the data plus (DP) and data minus (DM) data signals to be swapped. This feature was added to simplify PCB layout.In some cases, the DP and DM data signals may need to cross over each other to connect to the respective USB connector pins. Crossing these signals on the PCB may cause signal integrity issues if not implemented properly since they must be routed as high-speed differential transmission lines. The DATAPOLARITY feature in the USB PHYs can be used resolve this issue.The DATAPOLARITY feature is controlled by DATAPOLARITY_INV (bit 23) of the respective USB_CTRL register. The USB boot ROM code uses the default value for DATAPOLARITY_INV when booting from USB. Therefore, the PCB must be designed to use the default DATAPOLARITY if the system must support USB boot How Beagle bone black is designed . is this considered in the design ? On Wednesday, January 14, 2015 at 9:53:07 PM UTC+5:30, RobertCNelson wrote: On Wed, Jan 14, 2015 at 7:00 AM, goku...@gmail.com wrote: How we can load the MLO and U-BOOT in beaglebone black though USB port? I know it can be done by SD card/serial port and it will load to eMMC but if I have a USB stick/External HDD/USB connected to host, how can MLO and UBOOT be fetch through USB port and able transfer directly to eMMC. Once these are done and we get the UBOOT prompt, we can surely upload the kernel image to any of the known memory interfaces . Well... It's not 100% of what you want.. but close.. First flash this console eMMC flasher: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBB_.28All_Revs.29_eMMC_Flashers After flashing has finished, remove microSD... From u-boot: ums 0 mmc 1 Now you can flash the eMMC thru usb the port.. (thanks to u-boot) Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] bbb: u-boot change
Hello Robert, Check out https://github.com/ungureanuvladvictor/BBBlfs I am doing basically the same thing and reaching ~5m flashing time. Exposing the eMMC from a custom ramdisk. Best, vvu -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Kernel Panic with eMMC flasher
Can you try flashing using https://github.com/ungureanuvladvictor/BBBlfs .Also post a console log here so we can see what is happening. On Monday, November 17, 2014 5:41:46 AM UTC+1, Joe Spanier wrote: I am trying to flash my eMMC with the image here: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Releases I am using the 4Gb flasher for the RevC. I can flash the microSD but all of the images ive tried cause Kernel Panics when I try to flash the BBB. Im sure this is something I am doing but Im not sure. Here are the steps Im using: 1. Wget the image 2. md5sum check 3. xzcat BBB-eMMC-Flasher... ...img.xz | sudo dd bs=4096 of=/dev/sdc 4. load SD and apply power 5. kernel panic So what am I missing here? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: BBB boots on SD card, not from emmc. Any ideas?
Hello, Try https://github.com/ungureanuvladvictor/BBBlfs to flash directly the eMMC. On Wednesday, November 12, 2014 11:42:59 PM UTC+1, Christopher Greer wrote: I've got a BBB (rev C) and I've been trying different images. As I was learning to flash it, I've gotten one of the boards in a state where it will boot off the microSD card, but not off the emmc. When there is no card inserted into the BBB, the power LED comes on steady, but there is no output on the serial terminal and none of the LEDs seem to work. However, when booting from a SD card, everything seems to more or less behave. I haven't booted on the SD card and tried to access the emmc, since I'm not entirely sure on how to do that. I've attached the output of running a flasher SD card image that seems to complete normally. The SDcard seems fine; I've used it to flash another BBB just fine. The particular image on the SD card doesn't seem to matter either. There is one section of the output that seems suspicious, which I've copied from the attachment. It seems like the emmc partition table is somehow corrupted? I'm new to this though, so I'll defer to anyone who knows more. Thanks. - dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk1 count=2 seek=1 conv=notrunc bs=384k - 0+1 records in 0+1 records out 375372 bytes (375 kB) copied, 0.0571357 s, 6.6 MB/s Formatting: /dev/mmcblk1 Checking that no[ 20.440917] mmcblk1: unknown partition table -one is using this disk right now ... OK Dis[ 20.451158] mmcblk1: p1 p2 k /dev/mmcblk1: 118016 cylinders, 4 heads, 16 sectors/track sfdisk: ERROR: sector 3069653513 does not have an msdos signature /dev/mmcblk1: unrecognized partition table type Old situation: No partitions found New situation: Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start EndMiB#blocks Id System /dev/mmcblk1p1 * 1 96 96 98304e W95 FAT16 (LBA) /dev/mmcblk1p297 3687 35913677184 83 Linux /dev/mmcblk1p3 0 - 0 00 Empty /dev/mmcblk1p4 0 - 0 00 Empty Successfully wrote the new partition table Re-reading the partition table ... If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 (See fdisk(8).) mkfs.vfat -F 16 /dev/mmcblk1p1 -n BEAGLEBONE - mkfs.vfat 3.0.13 (30 Jun 2012) - mkfs.ext4 /dev/mmcblk1p2 -L rootfs - mke2fs 1.42.5 (29-Jul-2012) ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/mmcblk1p2 is mounted. Discarding device blocks: done Filesystem label=rootfs -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Flashing BBB eMMC in product
If you have any chance to make the boot pins to change to USB boot you can use https://github.com/ungureanuvladvictor/BBBlfs to flash the eMMC. On Thursday, October 2, 2014 10:45:40 AM UTC+2, Alexander Rössler wrote: Hi, What is the best way to flash BBB built into a product. This means that there is no access to the SD card slot and boot, power buttons. The user only has access to USB (host and hub) and Ethernet. What is the best way to flash a new image on this device? Regards Alexander -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: How to Configure USB Gadget?
https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-g-ether-load.sh Search on g_multi. On Monday, August 25, 2014 9:05:54 AM UTC+2, pen...@gmail.com wrote: Any answer on that subject ? I'm looking for some too. On Saturday, June 15, 2013 1:21:27 AM UTC+2, BeagleInterest wrote: I was hoping someone could give some insight on where the configuration files and/or source code is for controlling the USB gadget. Eg. I want to change the name of the device and it must have the USB descriptor somewhere. On Friday, June 14, 2013 7:11:20 AM UTC-7, Juan C. wrote: If you plug in your BBB to an HDMI enabled device you can view it there. When your BBB boots up and is at the Desktop, go to ApplicationsSystem ToolsDisk Utility Expand Local StorageFlash Drive Here, you will see the volumes on your BBB. On Wednesday, June 12, 2013 11:32:22 PM UTC-5, BeagleInterest wrote: Could someone point me to where the Linux USB Configuration files are had? Eg where does it specify /media/BEAGLEBONE as mass storage device and the size? Also is there a way to direct something other than console to the USB Gadget Serial? I'd like to make my own USB device and would like to configure the configurations. Thanks! On Wednesday, June 12, 2013 11:32:22 PM UTC-5, BeagleInterest wrote: Could someone point me to where the Linux USB Configuration files are had? Eg where does it specify /media/BEAGLEBONE as mass storage device and the size? Also is there a way to direct something other than console to the USB Gadget Serial? I'd like to make my own USB device and would like to configure the configurations. Thanks! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Kernel headers for Linux beaglebone 3.13.6-bone8
Got it working from there! Thx! On Wed, Mar 26, 2014 at 1:48 PM, Robert Kuhn rob...@ku.hn wrote: Perhaps one of these: https://github.com/RobertCNelson/armv7-multiplatform/releases Nethertheless very usefull and easy to use. Its very easy to compile the kernel on the own. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/TlD4rpOVHQc/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- *Vlad Victor Ungureanu* *http://vdev.ro http://vdev.ro* *ungureanuvladvic...@gmail.com ungureanuvladvic...@gmail.com* -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Beaglebone Black: Boot from USB or serial
https://github.com/ungureanuvladvictor/BBBlfs Here you have src code to do a usb boot/flash the eMMC with an image in .tar.xz format as I remember. When the ROM USB boot kicks in you will see an ethernet gadget device, you can find the vid/pid in my code over there. Check if your linux machine has rndis drivers because I had this problem with my Android device, did not have rndis drivers and will not enumerate the device at all. Put a RS232 cable to the board to see if it really goes into USB boot *you should receive some awkward chars on the terminal*. On Friday, February 21, 2014 10:35:16 AM UTC+1, terry.b...@googlemail.com wrote: We are developing a board based on the TI AM3358 processor and we are using the Beaglebone Black as a development test platform prior to the real hardware becoming available. Our system will have eMMC memory but no microSD card so we intend to do a boot/install via the USB or serial port. We are testing this out using the Beaglebone Black but it is not working. We can boot our own Linux from the microSD card by powering up with the S2 boot button pressed fine. However if we power up (via a USB-B cable) without a microSD card and the S2 boot button pressed the BBB does not seem to try and boot via the USB or serial. Our host is Linux and a lsusb shows no new devices (We were expecting an Ethernet gadget device). Minicom or a raw serial port program connected to UART0 shows no ASIC id (what ever that is) being sent. Any ideas ? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Interfacing BeagleBoneBlack USB Boot with libusb on OSX
Hello! I am trying to port the BeagleBoot *https://github.com/ungureanuvladvictor/BBBlfs.git* project from Linux to OSX. My Linux project was based on libusb to take over the device and communicate with it from an user level application. However on OSX the kernel takes over the device and the libusb_kernel_driver_active function is just a stub on OSX. I asked around the libusb ML about codeless kexts for OSX to prevent the kernel taking over my device but got no valid answer. Also I tried to read the Apple documentation on them but I get my ears caught in all of that and have a hard time to understand it. I found some examples on the internet and tried to modify them but same result, kernel still takes over my device. Are here some OSX kexts experts or at least does anybody have any idea how to tackle this problem? Thank you in advance! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.