Re: [beagleboard] ethernet gadget with beagleboard
On Thu, Jan 15, 2015 at 10:23 AM, Ran Shalit ransha...@gmail.com wrote: Hi Robert, Thank you very much. I was lazy not to notice that It now seems better (less errors on boot), but still fails with same error: insmod: error inserting 'g_ether.ko': -1 No such device Can you give me another hint what might cause such failure? This is the boot log: Last login: Thu Jan 12 12:31:58 GMT 2012 on ttyO2 root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# modprobe g_ether [ 30.667053] g_ether: disagrees about version of symbol module_layout FATAL: Error inserting g_ether This means your kernel was built seperatly from the modules.. When you build your kernel, just also build 'make modules' and install them to the rootfs.. (/lib/modules/2.6.37/kernel/drivers/usb/gadget/g_ether.ko): Invalid module format root@beagleboard:~# d Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07) Beagle Rev C5 Reading boot sector Loading u-boot.bin from mmc U-Boot 2009.06-rc2 (Jan 15 2015 - 11:12:37) , CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 512 MiB In:serial Out: serial Err: serial Board revision Ax/Bx Die ID #74aa0007015a676401014023 Hit any key to stop autoboot: 0 mmc1 is available reading uImage 2918324 bytes read ## Booting kernel from Legacy Image at 8030 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:2918260 Bytes = 2.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [0.00] Linux version 2.6.37 (ubuntu@ubuntu-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #7 Thu Jan 15 18:09:40 IST 2015 [0.00] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: OMAP3 Beagle Board [0.00] Reserving 4194304 bytes SDRAM for VRAM [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] OMAP3430/3530 ES3.1.2 (l2cache iva sgx neon isp 720mhz ) [0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000 [0.00] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait [0.00] PID hash table entries: 1024 (order: 0, 4096 bytes) [0.00] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [0.00] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Memory: 252MB = 252MB total [0.00] Memory: 242740k/242740k available, 19404k reserved, 0K highmem [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] DMA : 0xffc0 - 0xffe0 ( 2 MB) [0.00] vmalloc : 0xd080 - 0xf800 ( 632 MB) [0.00] lowmem : 0xc000 - 0xd000 ( 256 MB) [0.00] modules : 0xbf00 - 0xc000 ( 16 MB) [0.00] .init : 0xc0008000 - 0xc003a000 ( 200 kB) [0.00] .text : 0xc003a000 - 0xc0568f4c (5308 kB) [0.00] .data : 0xc056a000 - 0xc071f1a0 (1749 kB) [0.00] NR_IRQS:409 [0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [0.00] omap_hwmod: i2c1: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c2: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c3: softreset failed (waited 1 usec) [0.00] Reprogramming SDRC clock to 33200 Hz [0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 interrupts [0.00] Total of 96 interrupts on 1 active controller [0.00] GPMC revision 5.0 [0.00] Trying to install interrupt handler for IRQ402 [0.00] Trying to install interrupt handler for IRQ403 [0.00] Trying to install interrupt handler for IRQ404 [0.00] Trying to install interrupt handler for IRQ405 [0.00] Trying to install interrupt handler for IRQ406 [0.00] Trying to install interrupt handler for IRQ407 [0.00] Trying to install interrupt handler for IRQ408 [0.00] Trying to install type control for IRQ409 [0.00] Trying to set irq flags for IRQ409 [0.00] OMAP clockevent source: GPTIMER12 at 32768 Hz [0.00] Console: colour dummy device 80x30 [0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [0.00] ... MAX_LOCKDEP_SUBCLASSES: 8 [0.00] ... MAX_LOCK_DEPTH: 48 [0.00] ... MAX_LOCKDEP_KEYS:8191 [0.00] ... CLASSHASH_SIZE:
Re: [beagleboard] ethernet gadget with beagleboard
Hi Robert, Thanks, I have compiled both modules and kernel, but still some error, without any information. root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device The new boot log is below. Is there any idea why it fails ? Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07) Beagle Rev C5 Reading boot sector Loading u-boot.bin from mmc U-Boot 2009.06-rc2 (Jan 15 2015 - 11:12:37) , CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 512 MiB In:serial Out: serial Err: serial Board revision Ax/Bx Die ID #74aa0007015a676401014023 Hit any key to stop autoboot: 0 mmc1 is available reading uImage 2927348 bytes read ## Booting kernel from Legacy Image at 8030 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:2927284 Bytes = 2.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [0.00] Linux version 2.6.37 (ubuntu@ubuntu-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #8 Thu Jan 15 18:29:23 IST 2015 [0.00] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: OMAP3 Beagle Board [0.00] Reserving 4194304 bytes SDRAM for VRAM [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] OMAP3430/3530 ES3.1.2 (l2cache iva sgx neon isp 720mhz ) [0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000 [0.00] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait [0.00] PID hash table entries: 1024 (order: 0, 4096 bytes) [0.00] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [0.00] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Memory: 252MB = 252MB total [0.00] Memory: 242712k/242712k available, 19432k reserved, 0K highmem [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] DMA : 0xffc0 - 0xffe0 ( 2 MB) [0.00] vmalloc : 0xd080 - 0xf800 ( 632 MB) [0.00] lowmem : 0xc000 - 0xd000 ( 256 MB) [0.00] modules : 0xbf00 - 0xc000 ( 16 MB) [0.00] .init : 0xc0008000 - 0xc003a000 ( 200 kB) [0.00] .text : 0xc003a000 - 0xc056e0d0 (5329 kB) [0.00] .data : 0xc057 - 0xc0725220 (1749 kB) [0.00] NR_IRQS:409 [0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [0.00] omap_hwmod: i2c1: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c2: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c3: softreset failed (waited 1 usec) [0.00] Reprogramming SDRC clock to 33200 Hz [0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 interrupts [0.00] Total of 96 interrupts on 1 active controller [0.00] GPMC revision 5.0 [0.00] Trying to install interrupt handler for IRQ402 [0.00] Trying to install interrupt handler for IRQ403 [0.00] Trying to install interrupt handler for IRQ404 [0.00] Trying to install interrupt handler for IRQ405 [0.00] Trying to install interrupt handler for IRQ406 [0.00] Trying to install interrupt handler for IRQ407 [0.00] Trying to install interrupt handler for IRQ408 [0.00] Trying to install type control for IRQ409 [0.00] Trying to set irq flags for IRQ409 [0.00] OMAP clockevent source: GPTIMER12 at 32768 Hz [0.00] Console: colour dummy device 80x30 [0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [0.00] ... MAX_LOCKDEP_SUBCLASSES: 8 [0.00] ... MAX_LOCK_DEPTH: 48 [0.00] ... MAX_LOCKDEP_KEYS:8191 [0.00] ... CLASSHASH_SIZE: 4096 [0.00] ... MAX_LOCKDEP_ENTRIES: 16384 [0.00] ... MAX_LOCKDEP_CHAINS: 32768 [0.00] ... CHAINHASH_SIZE: 16384 [0.00] memory used by lock dependency info: 3951 kB [0.00] per task-struct memory footprint: 2304 bytes [0.00] Calibrating delay loop... 458.96 BogoMIPS (lpj=1789952) [0.00] pid_max: default: 32768 minimum: 301 [0.00] Security Framework initialized [0.00] Mount-cache hash table entries: 512 [0.00] CPU: Testing write buffer coherency: ok [0.00] devtmpfs: initialized [0.00] regulator: core version 0.5 [0.00]
Re: [beagleboard] Re: Still having problems compiling Kernel :(
On Thu, Jan 15, 2015 at 12:09 PM, William Pretty Security bill.pre...@xplornet.com wrote: It is a software RAID, and I am struggling with Robert's scripts :( I dunno anything about that. I can only say what I would do. I would provide enough info about what I've tried so far then someone might know right away what's up. Ok here we go: A couple of months ago I was looking for a Debian image with software RAID support. The one I was using did not. Robert kindly pointed me to one that, as it turned out had 'crippled' RAID support. In that while 'md' was present none of the software RAID Modem modules were. I tried to get some help just adding the modules support to my existing image. But nobody replied. So I looked around an found the following instructions: --- git clone https://github.com/RobertCNelson/ti-linux-kernel-dev.git cd ti-linux-kernel-dev git checkout origin/ti-linux-3.14.y -b tmp ./build_kernel.sh After that kernel upgrades are as easy as: wget http://rcn-ee.net/deb/raring-armhf/v3.8.13-bone28/install-me.sh sudo /bin/bash install-me.sh - The first part compiled a Kernel, but I can't get it to load to a uSD card and work properly. I modified 'system.sh' per the instructions in the README file. I copied a Debian image to the uSD card and then ran install_kernel.sh. I can find out what the image file name was, I just didn't have it handy. The result was a uSD card that doesn't boot. I think it's time to just nuke that script... All I can think is that there is kernel mismatch or something. Either that or I selected the wrong options during the 'build kernel' phase. That's why I was looking for a .config file from somebody that I know works. Any help would be REALLY appreciated at this point. Step 1: grab usb serial thing Step 2: check where zImage/uImage/etc is loaded from Step 3: check where *.dtb is loaded from: From the build, copy zImage/uImage to boot loacation, copy *.dtb to the boot location, install modules. See: https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-CopyKernelFiles For where they are expected to be today.. 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.
Re: [beagleboard] Recompile kernel
I could not say, as I've never seen it before. The name implies that it is an armhf libc for a cross compile environment. google also does not seem to be very forthcoming . . . On Thu, Jan 15, 2015 at 5:12 AM, Robert Kuhn rob...@ku.hn wrote: Thank you Robert N, and sorry to hi-jack your post Robert K. Np. You're welcome :-) One question: whats the purpose of the linux-libc-dev_1cross_armhf.deb package? I did not install it and until now I see no problem... Robert K. -- 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. -- 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: Still having problems compiling Kernel :(
It is a software RAID, and I am struggling with Robert's scripts :( I dunno anything about that. I can only say what I would do. I would provide enough info about what I've tried so far then someone might know right away what's up. Ok here we go: A couple of months ago I was looking for a Debian image with software RAID support. The one I was using did not. Robert kindly pointed me to one that, as it turned out had 'crippled' RAID support. In that while 'md' was present none of the software RAID Modem modules were. I tried to get some help just adding the modules support to my existing image. But nobody replied. So I looked around an found the following instructions: --- git clone https://github.com/RobertCNelson/ti-linux-kernel-dev.git cd ti-linux-kernel-dev git checkout origin/ti-linux-3.14.y -b tmp ./build_kernel.sh After that kernel upgrades are as easy as: wget http://rcn-ee.net/deb/raring-armhf/v3.8.13-bone28/install-me.sh sudo /bin/bash install-me.sh - The first part compiled a Kernel, but I can't get it to load to a uSD card and work properly. I modified 'system.sh' per the instructions in the README file. I copied a Debian image to the uSD card and then ran install_kernel.sh. I can find out what the image file name was, I just didn't have it handy. The result was a uSD card that doesn't boot. All I can think is that there is kernel mismatch or something. Either that or I selected the wrong options during the 'build kernel' phase. That's why I was looking for a .config file from somebody that I know works. Any help would be REALLY appreciated at this point. Bill -- 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] ethernet gadget with beagleboard
Hi, When I compiled earlier kernel version which are supposed to support OMAP3530 with beaglebone I fail to start kernel (psp 3.0.1.6, kernel 2.6.32); 1920736 bytes read ## Booting kernel from Legacy Image at 8030 ... Image Name: Linux-2.6.32 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:1920672 Bytes = 1.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux done, booting the kernel. -- NO more prinings -- I just need to work with usb ethernet in 2.6.37... why does it fail with the kernel 2.6.37 ? Regards, Ran On Thu, Jan 15, 2015 at 7:14 PM, Ran Shalit ransha...@gmail.com wrote: Hi, Did anyone tried to work with the usb connector (the one that is marked as usb otg), for ethernet with 2.6.37 ? If not - maybe I should try use some older version for beagleboard ? Regards, Ran On Thu, Jan 15, 2015 at 6:36 PM, Ran Shalit ransha...@gmail.com wrote: Hi Robert, Thanks, I have compiled both modules and kernel, but still some error, without any information. root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device The new boot log is below. Is there any idea why it fails ? Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07) Beagle Rev C5 Reading boot sector Loading u-boot.bin from mmc U-Boot 2009.06-rc2 (Jan 15 2015 - 11:12:37) , CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 512 MiB In:serial Out: serial Err: serial Board revision Ax/Bx Die ID #74aa0007015a676401014023 Hit any key to stop autoboot: 0 mmc1 is available reading uImage 2927348 bytes read ## Booting kernel from Legacy Image at 8030 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:2927284 Bytes = 2.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [0.00] Linux version 2.6.37 (ubuntu@ubuntu-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #8 Thu Jan 15 18:29:23 IST 2015 [0.00] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: OMAP3 Beagle Board [0.00] Reserving 4194304 bytes SDRAM for VRAM [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] OMAP3430/3530 ES3.1.2 (l2cache iva sgx neon isp 720mhz ) [0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000 [0.00] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait [0.00] PID hash table entries: 1024 (order: 0, 4096 bytes) [0.00] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [0.00] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Memory: 252MB = 252MB total [0.00] Memory: 242712k/242712k available, 19432k reserved, 0K highmem [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] DMA : 0xffc0 - 0xffe0 ( 2 MB) [0.00] vmalloc : 0xd080 - 0xf800 ( 632 MB) [0.00] lowmem : 0xc000 - 0xd000 ( 256 MB) [0.00] modules : 0xbf00 - 0xc000 ( 16 MB) [0.00] .init : 0xc0008000 - 0xc003a000 ( 200 kB) [0.00] .text : 0xc003a000 - 0xc056e0d0 (5329 kB) [0.00] .data : 0xc057 - 0xc0725220 (1749 kB) [0.00] NR_IRQS:409 [0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [0.00] omap_hwmod: i2c1: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c2: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c3: softreset failed (waited 1 usec) [0.00] Reprogramming SDRC clock to 33200 Hz [0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 interrupts [0.00] Total of 96 interrupts on 1 active controller [0.00] GPMC revision 5.0 [0.00] Trying to install interrupt handler for IRQ402 [0.00] Trying to install interrupt handler for IRQ403 [0.00] Trying to install interrupt handler for IRQ404 [0.00] Trying to install interrupt handler for IRQ405 [0.00] Trying to install interrupt handler for IRQ406 [0.00] Trying to install interrupt
Re: [beagleboard] ethernet gadget with beagleboard
Hi, Did anyone tried to work with the usb connector (the one that is marked as usb otg), for ethernet with 2.6.37 ? If not - maybe I should try use some older version for beagleboard ? Regards, Ran On Thu, Jan 15, 2015 at 6:36 PM, Ran Shalit ransha...@gmail.com wrote: Hi Robert, Thanks, I have compiled both modules and kernel, but still some error, without any information. root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device The new boot log is below. Is there any idea why it fails ? Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07) Beagle Rev C5 Reading boot sector Loading u-boot.bin from mmc U-Boot 2009.06-rc2 (Jan 15 2015 - 11:12:37) , CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 512 MiB In:serial Out: serial Err: serial Board revision Ax/Bx Die ID #74aa0007015a676401014023 Hit any key to stop autoboot: 0 mmc1 is available reading uImage 2927348 bytes read ## Booting kernel from Legacy Image at 8030 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:2927284 Bytes = 2.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [0.00] Linux version 2.6.37 (ubuntu@ubuntu-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #8 Thu Jan 15 18:29:23 IST 2015 [0.00] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: OMAP3 Beagle Board [0.00] Reserving 4194304 bytes SDRAM for VRAM [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] OMAP3430/3530 ES3.1.2 (l2cache iva sgx neon isp 720mhz ) [0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000 [0.00] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait [0.00] PID hash table entries: 1024 (order: 0, 4096 bytes) [0.00] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [0.00] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Memory: 252MB = 252MB total [0.00] Memory: 242712k/242712k available, 19432k reserved, 0K highmem [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] DMA : 0xffc0 - 0xffe0 ( 2 MB) [0.00] vmalloc : 0xd080 - 0xf800 ( 632 MB) [0.00] lowmem : 0xc000 - 0xd000 ( 256 MB) [0.00] modules : 0xbf00 - 0xc000 ( 16 MB) [0.00] .init : 0xc0008000 - 0xc003a000 ( 200 kB) [0.00] .text : 0xc003a000 - 0xc056e0d0 (5329 kB) [0.00] .data : 0xc057 - 0xc0725220 (1749 kB) [0.00] NR_IRQS:409 [0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [0.00] omap_hwmod: i2c1: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c2: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c3: softreset failed (waited 1 usec) [0.00] Reprogramming SDRC clock to 33200 Hz [0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 interrupts [0.00] Total of 96 interrupts on 1 active controller [0.00] GPMC revision 5.0 [0.00] Trying to install interrupt handler for IRQ402 [0.00] Trying to install interrupt handler for IRQ403 [0.00] Trying to install interrupt handler for IRQ404 [0.00] Trying to install interrupt handler for IRQ405 [0.00] Trying to install interrupt handler for IRQ406 [0.00] Trying to install interrupt handler for IRQ407 [0.00] Trying to install interrupt handler for IRQ408 [0.00] Trying to install type control for IRQ409 [0.00] Trying to set irq flags for IRQ409 [0.00] OMAP clockevent source: GPTIMER12 at 32768 Hz [0.00] Console: colour dummy device 80x30 [0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [0.00] ... MAX_LOCKDEP_SUBCLASSES: 8 [0.00] ... MAX_LOCK_DEPTH: 48 [0.00] ... MAX_LOCKDEP_KEYS:8191 [0.00] ... CLASSHASH_SIZE: 4096 [0.00] ... MAX_LOCKDEP_ENTRIES: 16384 [0.00] ... MAX_LOCKDEP_CHAINS: 32768 [0.00] ... CHAINHASH_SIZE: 16384 [0.00] memory used by lock dependency info: 3951 kB [0.00] per task-struct memory footprint: 2304 bytes
Re: [beagleboard] Recompile kernel
On Thu, Jan 15, 2015 at 6:12 AM, Robert Kuhn rob...@ku.hn wrote: Thank you Robert N, and sorry to hi-jack your post Robert K. Np. You're welcome :-) One question: whats the purpose of the linux-libc-dev_1cross_armhf.deb package? I did not install it and until now I see no problem... It provides userspaces headers from the Linux kernel. These headers are used by the installed headers for GNU glibc and other system libraries. Safe to ignore, you already have a version installed. 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.
Re: [beagleboard] ethernet gadget with beagleboard
Hi Robert, Thank you very much. I was lazy not to notice that It now seems better (less errors on boot), but still fails with same error: insmod: error inserting 'g_ether.ko': -1 No such device Can you give me another hint what might cause such failure? This is the boot log: Last login: Thu Jan 12 12:31:58 GMT 2012 on ttyO2 root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# root@beagleboard:~# modprobe g_ether [ 30.667053] g_ether: disagrees about version of symbol module_layout FATAL: Error inserting g_ether (/lib/modules/2.6.37/kernel/drivers/usb/gadget/g_ether.ko): Invalid module format root@beagleboard:~# d Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07) Beagle Rev C5 Reading boot sector Loading u-boot.bin from mmc U-Boot 2009.06-rc2 (Jan 15 2015 - 11:12:37) , CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 512 MiB In:serial Out: serial Err: serial Board revision Ax/Bx Die ID #74aa0007015a676401014023 Hit any key to stop autoboot: 0 mmc1 is available reading uImage 2918324 bytes read ## Booting kernel from Legacy Image at 8030 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:2918260 Bytes = 2.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [0.00] Linux version 2.6.37 (ubuntu@ubuntu-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #7 Thu Jan 15 18:09:40 IST 2015 [0.00] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: OMAP3 Beagle Board [0.00] Reserving 4194304 bytes SDRAM for VRAM [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] OMAP3430/3530 ES3.1.2 (l2cache iva sgx neon isp 720mhz ) [0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000 [0.00] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait [0.00] PID hash table entries: 1024 (order: 0, 4096 bytes) [0.00] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [0.00] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Memory: 252MB = 252MB total [0.00] Memory: 242740k/242740k available, 19404k reserved, 0K highmem [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] DMA : 0xffc0 - 0xffe0 ( 2 MB) [0.00] vmalloc : 0xd080 - 0xf800 ( 632 MB) [0.00] lowmem : 0xc000 - 0xd000 ( 256 MB) [0.00] modules : 0xbf00 - 0xc000 ( 16 MB) [0.00] .init : 0xc0008000 - 0xc003a000 ( 200 kB) [0.00] .text : 0xc003a000 - 0xc0568f4c (5308 kB) [0.00] .data : 0xc056a000 - 0xc071f1a0 (1749 kB) [0.00] NR_IRQS:409 [0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [0.00] omap_hwmod: i2c1: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c2: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c3: softreset failed (waited 1 usec) [0.00] Reprogramming SDRC clock to 33200 Hz [0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 interrupts [0.00] Total of 96 interrupts on 1 active controller [0.00] GPMC revision 5.0 [0.00] Trying to install interrupt handler for IRQ402 [0.00] Trying to install interrupt handler for IRQ403 [0.00] Trying to install interrupt handler for IRQ404 [0.00] Trying to install interrupt handler for IRQ405 [0.00] Trying to install interrupt handler for IRQ406 [0.00] Trying to install interrupt handler for IRQ407 [0.00] Trying to install interrupt handler for IRQ408 [0.00] Trying to install type control for IRQ409 [0.00] Trying to set irq flags for IRQ409 [0.00] OMAP clockevent source: GPTIMER12 at 32768 Hz [0.00] Console: colour dummy device 80x30 [0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [0.00] ... MAX_LOCKDEP_SUBCLASSES: 8 [0.00] ... MAX_LOCK_DEPTH: 48 [0.00] ... MAX_LOCKDEP_KEYS:8191 [0.00] ... CLASSHASH_SIZE: 4096 [0.00] ... MAX_LOCKDEP_ENTRIES: 16384 [0.00] ... MAX_LOCKDEP_CHAINS: 32768 [0.00] ... CHAINHASH_SIZE: 16384 [0.00] memory used by lock dependency info: 3951 kB [0.00] per task-struct memory footprint: 2304 bytes [0.00] Calibrating delay loop... 456.86
[beagleboard] Re: bmp085 with uext connection with BBB
I would like to stop this topic by correcting my mistake. I reversed my connection of uext cable.Afterwards I checked connectivity. Please check the connection when you interface with uext. Thank you for discussion Regards Jay Kothari On Thursday, 15 January 2015 09:44:35 UTC+5:30, JAY KOTHARI wrote: Hello, I am using bmp085 sensor with uext connection with beaglebone black. I have made change in device tree of BBB. I have made i2c1(pin 17 and 18) as input pin and pulled up internally and set it to mode two. I have also set compatible property in device tree to load module of bmp085. After looking into hardware design manual of bmp085 I interface with beaglebone black.I connected four wire (vdd(pin3),gnd(pin1),sda(pin17) and scl(pin18)) and kept other unconnected. https://www.olimex.com/Products/Modules/Sensors/MOD-BMP085/resources/MOD-BMP085_sch.pdf When I boot my kernel my bmp085 module is loaded automatically and I am getting entry in /dev of i2c1 Problem: When I connect BBB with bmp085 my kernel hangs or BBB does not start at allWhat may be the problem Note: I am not using 5v supply. -- 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] BeagleBone Black as reliable 3G/4G router/ modem
I've used 3 or 4 different Huawei usb 3G modems. All worked pretty easily. I'm using an old version of the RCN images with Debian Wheezy and kernel 3.8.13-bone51. All the tutorials for 3G modem for linux in general works good in BBB. A good one is this: https://www.thefanclub.co.za/how-to/how-setup-usb-3g-modem-raspberry-pi-using-usbmodeswitch-and-wvdial And I've tested only one 4G modem. It needed a newer version of usb_modeswitch, which is available in the Jessie images of RCN: http://elinux.org/BeagleBoardDebian#Debian_Testing_.28jessie.29 I think I had to recompile the kernel because one option was not turned on in the default kernel I used. But I don't remember which one. It was a long time ago and maybe this option is available now. I haven't shared the 3G connection with the ethernet port, but I have already read somewhere that it can be accomplished with firestarter and dhcp3-server (to provide the IP's). Maybe this can help you. Miguel Aveiro On 14-01-2015 21:33, bremenpl wrote: Hello there, Ive had it with my internet provider for a while now. I have a free BeagleBone Black and a usb huawei 3G modem laying around though. So I thought- wny not connect the usb modem to BeagleBone Black to get internet, and then connect BeagleBone Black to my router via ethernet to distrubute it further. I was trying to accmplish this approach some time a go by googling around and trying to set up some programs on a debian distro without success... I was wondering- isnt there any straight forward solution for aplication such as this? Maybe a separate OS even, I dont mind? This is the only task I would like BeagleBone Black to do- get and then distribute internet. I would really aprichiate any help in here, it would be really great for me to set this up. -- 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 mailto:beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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] BeagleBone Black doesn't sometimes start. Only Power LED is on
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there Martin. On 2015-01-14 18:05, martin.zol...@spotme.com wrote: Just as a +1 to Andrew's findings: In summary, this software fix is still highly useful. Glad you were able to solve your issue. I'm just wondering if Andrew's autoboot solution/hack hasn't propagated to the official software yet? Seems odd if not, since so many has been bitten by it and it is now 15 months since it was first described (2013-10-28: https://groups.google.com/forum/#!msg/beagleboard/aXv6An1xfqI/2_tLa7oWQBIJ). I haven't studied the u-boot source before but I just took a sniff at the mainline repository (http://git.denx.de/u-boot.git). I found that for BBB (really am335x) u-boot still defaults to aborting autoboot if any characters are received on the serial console and then waiting forever for further commands. Below is a patch mitigating this situation in mainline master (binaries at http://www.mikini.dk/wp-content/uploads/2015/01/u-boot_mainline_BBB-autoboot-patch_201501151.zip). It requires typing more characters (stop) to abort and uses a new(?) config feature to reset the board if autoboot is aborted but no commands are entered (for 30 sec). Except for the 30 sec timeout, which doesn't kick in for some unknown reason, it seems to behave ok. Disclaimer: this is mostly an experiment, there is a lot of u-boot trees and patches floating around for the BBB (like https://github.com/beagleboard/u-boot), so probably mainline hasn't got the most recent stuff for BBB yet. diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h index 5ed86d9..c58f467 100644 - --- a/include/configs/ti_am335x_common.h +++ b/include/configs/ti_am335x_common.h @@ -12,6 +12,12 @@ #ifndef __CONFIG_TI_AM335X_COMMON_H__ #define __CONFIG_TI_AM335X_COMMON_H__ +#define CONFIG_AUTOBOOT_KEYED +#define CONFIG_AUTOBOOT_STOP_STR stop +#define CONFIG_AUTOBOOT_PROMPT autoboot in %d seconds (type '%s' to abort)\n,bootdelay,CONFIG_AUTOBOOT_STOP_STR +#define CONFIG_BOOT_RETRY_TIME 30 +#define CONFIG_RESET_TO_RETRY + #define CONFIG_AM33XX #define CONFIG_ARCH_CPU_INIT #define CONFIG_SYS_CACHELINE_SIZE 64 @@ -102,4 +108,7 @@ /* Now bring in the rest of the common code. */ #include configs/ti_armv7_common.h +#undef CONFIG_BOOTDELAY +#define CONFIG_BOOTDELAY 5 + #endif /* __CONFIG_TI_AM335X_COMMON_H__ */ Thank you Andrew and Guglielmo for your work! Thumbs up, also for Guillermo ;). - -- Mikkel ,= ,-_-. =. ((_/)o o(\_)) `-'(. .)`-' \_/ keybase.io/mikini -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJUt9HnAAoJEJ2luFWzaTSaqCoH/2cuFepOVkHGM0gGaGV5U8Dg /Z3O4Cb1zGyasSeYLZbU5XfOms6k66hbLmbQiDYIKkMv/KS0gcjjkuFaZBE2NdVJ xFnaPS/XPd8MJcwWQMVScFafNJE1E4KLHe437FeenPZLEBcgtZc/AsTFX+mybKhC oQfaUmrA9gT2KGmFoGB8Sp+4q4reciXicHRfet78aEF8g9FdqprQvf4xjfcZYgxL 0cNNbXh+mmT+AjSCB4CEze25V5yitvfT744WUUHFznfRWXkRVvKpiVeiDwdswKcs AaV5yjCqxb0F3iM4leRxdDy3FhuMjxmyZxk9HpwO/sLKExigNktpd3aRjuHO7ds= =jU44 -END PGP SIGNATURE- -- 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] ethernet gadget with beagleboard
On Thu, Jan 15, 2015 at 9:39 AM, Ran Shalit ransha...@gmail.com wrote: Hi Robert, Thanks for the hint, But I re-check the config and it seems that all relevant USB flags are configured correctly: CONFIG_V4L_USB_DRIVERS=y CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m CONFIG_SND_USB=y CONFIG_USB_HID=y CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=y CONFIG_USB_DEVICE_CLASS=y CONFIG_USB_MUSB_HDRC=y CONFIG_USB_MUSB_OMAP2PLUS_GLUE=y CONFIG_USB_MUSB_OMAP2PLUS=y CONFIG_USB_MUSB_PERIPHERAL=y CONFIG_USB_GADGET_MUSB_HDRC=y CONFIG_USB_INVENTRA_DMA_HW=y CONFIG_USB_INVENTRA_DMA=y CONFIG_MUSB_USE_SYSTEM_DMA_WORKAROUND=y CONFIG_USB_MUSB_DEBUG=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_SELECTED=y CONFIG_USB_GADGET_DUALSPEED=y CONFIG_USB_ETH=m CONFIG_USB_ETH_RNDIS=y CONFIG_USB_FILE_STORAGE=m CONFIG_USB_OTG_UTILS=y Do you find anything missing ? [3.843353] 28systemd[1]: CONFIG_CGROUPS was not set when your kernel was compiled. Systems without control groups are not supported. We will now sleep for 10s, and then continue boot-up. Expect breakage and please do not file bugs. Instead fix your kernel and enable CONFIG_CGROUPS. 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.
Re: [beagleboard] ethernet gadget with beagleboard
Hi Robert, Thanks for the hint, But I re-check the config and it seems that all relevant USB flags are configured correctly: CONFIG_V4L_USB_DRIVERS=y CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m CONFIG_SND_USB=y CONFIG_USB_HID=y CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=y CONFIG_USB_DEVICE_CLASS=y CONFIG_USB_MUSB_HDRC=y CONFIG_USB_MUSB_OMAP2PLUS_GLUE=y CONFIG_USB_MUSB_OMAP2PLUS=y CONFIG_USB_MUSB_PERIPHERAL=y CONFIG_USB_GADGET_MUSB_HDRC=y CONFIG_USB_INVENTRA_DMA_HW=y CONFIG_USB_INVENTRA_DMA=y CONFIG_MUSB_USE_SYSTEM_DMA_WORKAROUND=y CONFIG_USB_MUSB_DEBUG=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_SELECTED=y CONFIG_USB_GADGET_DUALSPEED=y CONFIG_USB_ETH=m CONFIG_USB_ETH_RNDIS=y CONFIG_USB_FILE_STORAGE=m CONFIG_USB_OTG_UTILS=y Do you find anything missing ? Regards, Ran On Thu, Jan 15, 2015 at 4:27 PM, Robert Nelson robertcnel...@gmail.com wrote: On Thu, Jan 15, 2015 at 8:09 AM, Ran Shalit ransha...@gmail.com wrote: On Thu, Jan 15, 2015 at 3:22 PM, Ran Shalit ransha...@gmail.com wrote: Hello, I have trouble using ethernet usb gadget driver on the beagleboard (omap3530). I am using SDK 4.2.0.7 for the kernel, I've compiled it with beaglebpoard config, so everything is expected to work as required on this EVM. I have compiled both kernel and modules with ethernet gadget module enabled, but on trying to insmod the driver, I get the following; root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device Did anyone encounter such failure ? Attached boot log.Regards, Hi, I suspect it is related to the following error: Welcome to The ֵngstrצm Distribution! [3.811035] 28systemd[1]: /sbin/modprobe failed with error code 1. [3.822387] 30systemd[1]: Set hostname to beagleboard. [3.843353] 28systemd[1]: CONFIG_CGROUPS was not set when your kernel was compiled. Systems without control groups are not supported. We will now sleep for 10s, and then continue boot-up. Expect breakage and please do not file bugs. Instead fix your kernel and enable CONFIG_CGROUPS. [ 13.897247] 28systemd[1]: No control group support available, not creating root group. [ 14.307220] 27systemd[1]: Failed to open /dev/autofs: No such file or directory [ 14.315338] 27systemd[1]: Failed to initialize automounter: No such file or directory [ 14.323974] 29systemd[1]: Unit proc-sys-fs-binfmt_misc.automount entered failed state. Starting Runtime Directory... Is anyone familiar with it ? It should be pretty obvious, it's actually telling you twice what kernel config your missing.. Hint: it's telling you your kernel is mis-configured, add the config option and reboot.. 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 a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/RznTdyaz2gg/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. -- 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] Checking GPIOpins for being healthy
Hi, I accidentally wired my BB wrong. I connected (+) and (-) to GPIOs (default setting). I would like to check, whether these PINS had survived me. What is a valid most simplistic way to do so? Thank you very much in advance for any help! Best regards, Meino -- 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: Still having problems compiling Kernel :(
On Thu, Jan 15, 2015 at 1:58 AM, William Pretty Security bill.pre...@xplornet.com wrote: Thanks RH; It is a software RAID, and I am struggling with Robert's scripts :( Well, CONFIG_MD_RAIDall is already built as a module, what module do you actually need? 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.
Re: [beagleboard] Checking GPIOpins for being healthy
plus and minus what ? On 1/15/2015 8:30 AM, meino.cra...@gmx.de wrote: Hi, I accidentally wired my BB wrong. I connected (+) and (-) to GPIOs (default setting). I would like to check, whether these PINS had survived me. What is a valid most simplistic way to do so? Thank you very much in advance for any help! Best regards, Meino -- 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] ethernet gadget with beagleboard
On Thu, Jan 15, 2015 at 10:36 AM, Ran Shalit ransha...@gmail.com wrote: Hi Robert, Thanks, I have compiled both modules and kernel, but still some error, without any information. root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device The new boot log is below. Is there any idea why it fails ? Maybe debmod ? depmod -a then: modprobe g_ether Otherwise it is 2.6.37 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.
Re: [beagleboard] ethernet gadget with beagleboard
.Maybe debmod ? depmod -a then: modprobe g_ether I've tried that too... Still same result. We have another nibary which works well with g_ether, (but we don't have the sources for that binary so it does not help a lot, except for telling us that there is no HW failure) What can I do ? Is it a problem in this package (TI'S PSP 04.02.00.07) ? Thank you, Ran On Thu, Jan 15, 2015 at 6:38 PM, Robert Nelson robertcnel...@gmail.com wrote: On Thu, Jan 15, 2015 at 10:36 AM, Ran Shalit ransha...@gmail.com wrote: Hi Robert, Thanks, I have compiled both modules and kernel, but still some error, without any information. root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device The new boot log is below. Is there any idea why it fails ? Maybe debmod ? depmod -a then: modprobe g_ether Otherwise it is 2.6.37 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 a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/RznTdyaz2gg/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. -- 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: BeagleBone Black as reliable 3G/4G router/ modem
Thanks for the tips. I was wondering about openwrt, but im not sure either everything is supported there. I could get more pain than usage i fear. Dnia 15 stycznia 2015 22:16:31 c...@isbd.net napisał(a): bremenpl breme...@gmail.com wrote: [-- multipart/alternative, encoding 7bit, 55 lines --] [-- text/plain, encoding 7bit, charset: UTF-8, 21 lines --] Hello there, Ive had it with my internet provider for a while now. I have a free BeagleBone Black and a usb huawei 3G modem laying around though. So I thought- wny not connect the usb modem to BeagleBone Black to get internet, and then connect BeagleBone Black to my router via ethernet to distrubute it further. I was trying to accmplish this approach some time a go by googling around and trying to set up some programs on a debian distro without success... I was wondering- isnt there any straight forward solution for aplication such as this? Maybe a separate OS even, I dont mind? This is the only task I would like BeagleBone Black to do- get and then distribute internet. I would really aprichiate any help in here, it would be really great for me to set this up. openwrt maybe? -- Chris Green · -- 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/Vi0CTOoGaw4/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. -- 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] SYS_5V rail timing on the BeagleBone
Might also be of interest to others and I wanted a second opinion before making things more complex - Does power from the SYS_5V rail meet timing to drive IO on the BeagleBone/AM335x? That is - If I use SYS_5V to drive an always enabled 3.3V LDO, will the output of the LDO be safe to directly connect to an input GPIO. The PMIC datasheet suggests it is not (it is the input to the 3.3V regulator on there). Delays in the 3.3V regulator would cause the 3.3V rail to come up later then the SYS_5V line. Checking before adding more switching and sequencing. Thanks. -- Hunyue Yau http://www.hy-research.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.
Re: [beagleboard] SYS_5V rail timing on the BeagleBone
Basically,no. You need to enable the LDO with 3.3V rail on the expansion header. Gerald On Thu, Jan 15, 2015 at 2:24 PM, ybea...@rehut.com wrote: Might also be of interest to others and I wanted a second opinion before making things more complex - Does power from the SYS_5V rail meet timing to drive IO on the BeagleBone/AM335x? That is - If I use SYS_5V to drive an always enabled 3.3V LDO, will the output of the LDO be safe to directly connect to an input GPIO. The PMIC datasheet suggests it is not (it is the input to the 3.3V regulator on there). Delays in the 3.3V regulator would cause the 3.3V rail to come up later then the SYS_5V line. Checking before adding more switching and sequencing. Thanks. -- Hunyue Yau http://www.hy-research.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. -- Gerald ger...@beagleboard.org http://beagleboard.org/ http://circuitco.com/support/ -- 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] BeagleBone Black doesn't sometimes start. Only Power LED is on
Hi Patrick, Ensure you modify config.h after running the clean and configure steps before compiling, otherwise it will re-copy the default configuration file. Only once you have compiled with the correct config file should the u-boot image be copied over. BTW there is a run-time config file for u-boot that can be used to achieve the same effect (i.e. without the need to rebuild and copy over u-boot) - this might be worth investigating as a lower-risk option. Cheers, Andrew. On 16 January 2015 at 11:20, Patrick Schmidt patch...@gmail.com wrote: Mikkel, I just found this forum after a couple beaglebones I have starting displaying the same problem discussed here. I figured I would reply to you since I saw you just posted. I have a question on how to implement Andrew's solution. I am able to download and build the u-boot, everything is working fine there. Then I have two files, MLO and u-boot.img that I can copy into the boot directory (/boot/uboot I am using Debian and booting from the eMMC). My question is when are we suppose to edit the config.h file? After I build and move the 2 files? I'm wondering because in Andrew's post he mentions that he edited the config.h file then rebuilt the u-boot. But when I try this it just overwrites the config.h file back to the original. So I assume the process should be first download and build the u-boot, then move the MLO and u-boot.img to the boot directory, finally edit the config.h file. Is this correct? I have tried everything I can think of but my board is still hanging on boots about 1 out of 20. Forgive me because I am not too familiar with Debian. Thank you for any help you can provide! On Thursday, January 15, 2015 at 8:43:07 AM UTC-6, Mikkel Kirkgaard Nielsen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there Martin. On 2015-01-14 18:05, martin...@spotme.com wrote: Just as a +1 to Andrew's findings: In summary, this software fix is still highly useful. Glad you were able to solve your issue. I'm just wondering if Andrew's autoboot solution/hack hasn't propagated to the official software yet? Seems odd if not, since so many has been bitten by it and it is now 15 months since it was first described (2013-10-28: https://groups.google.com/forum/#!msg/beagleboard/ aXv6An1xfqI/2_tLa7oWQBIJ). I haven't studied the u-boot source before but I just took a sniff at the mainline repository (http://git.denx.de/u-boot.git). I found that for BBB (really am335x) u-boot still defaults to aborting autoboot if any characters are received on the serial console and then waiting forever for further commands. Below is a patch mitigating this situation in mainline master (binaries at http://www.mikini.dk/wp-content/uploads/2015/01/u- boot_mainline_BBB-autoboot-patch_201501151.zip). It requires typing more characters (stop) to abort and uses a new(?) config feature to reset the board if autoboot is aborted but no commands are entered (for 30 sec). Except for the 30 sec timeout, which doesn't kick in for some unknown reason, it seems to behave ok. Disclaimer: this is mostly an experiment, there is a lot of u-boot trees and patches floating around for the BBB (like https://github.com/beagleboard/u-boot), so probably mainline hasn't got the most recent stuff for BBB yet. diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h index 5ed86d9..c58f467 100644 - --- a/include/configs/ti_am335x_common.h +++ b/include/configs/ti_am335x_common.h @@ -12,6 +12,12 @@ #ifndef __CONFIG_TI_AM335X_COMMON_H__ #define __CONFIG_TI_AM335X_COMMON_H__ +#define CONFIG_AUTOBOOT_KEYED +#define CONFIG_AUTOBOOT_STOP_STR stop +#define CONFIG_AUTOBOOT_PROMPT autoboot in %d seconds (type '%s' to abort)\n,bootdelay,CONFIG_AUTOBOOT_STOP_STR +#define CONFIG_BOOT_RETRY_TIME 30 +#define CONFIG_RESET_TO_RETRY + #define CONFIG_AM33XX #define CONFIG_ARCH_CPU_INIT #define CONFIG_SYS_CACHELINE_SIZE 64 @@ -102,4 +108,7 @@ /* Now bring in the rest of the common code. */ #include configs/ti_armv7_common.h +#undef CONFIG_BOOTDELAY +#define CONFIG_BOOTDELAY 5 + #endif /* __CONFIG_TI_AM335X_COMMON_H__ */ Thank you Andrew and Guglielmo for your work! Thumbs up, also for Guillermo ;). - -- Mikkel ,= ,-_-. =. ((_/)o o(\_)) `-'(. .)`-' \_/ keybase.io/mikini -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJUt9HnAAoJEJ2luFWzaTSaqCoH/2cuFepOVkHGM0gGaGV5U8Dg /Z3O4Cb1zGyasSeYLZbU5XfOms6k66hbLmbQiDYIKkMv/KS0gcjjkuFaZBE2NdVJ xFnaPS/XPd8MJcwWQMVScFafNJE1E4KLHe437FeenPZLEBcgtZc/AsTFX+mybKhC oQfaUmrA9gT2KGmFoGB8Sp+4q4reciXicHRfet78aEF8g9FdqprQvf4xjfcZYgxL 0cNNbXh+mmT+AjSCB4CEze25V5yitvfT744WUUHFznfRWXkRVvKpiVeiDwdswKcs AaV5yjCqxb0F3iM4leRxdDy3FhuMjxmyZxk9HpwO/sLKExigNktpd3aRjuHO7ds= =jU44 -END PGP SIGNATURE- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are
Re: [beagleboard] Migrating to F2FS on the eMMC
On Thu, Jan 15, 2015 at 4:39 PM, Jean-Francois Gauthier noisette...@gmail.com wrote: Is there a simple way to migrate from EXT4 to F2FS on the eMMC ? Using the Debian beaglebone distribution. It looks like a much better, faster and best suited for NAND based Flash memory filesystem. As long as you understand, u-boot can only read from a fat/ext partition. Just create a 2 partition setup: sudo sfdisk --in-order --Linux --unit M ${DISK} -__EOF__ 1,48,0xE,* ,,,- __EOF__ Create first ext4 boot partition, in it you'll store zImage/dtbs Then create your second f2fs rootfs partition. Most here still applies: https://eewiki.net/display/linuxonarm/BeagleBone+Black Just adjust for the partition change and let us know how it works for you.. 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] Migrating to F2FS on the eMMC
Is there a simple way to migrate from EXT4 to F2FS on the eMMC ? Using the Debian beaglebone distribution. It looks like a much better, faster and best suited for NAND based Flash memory filesystem. Cheers, Jean-Francois -- 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: BeagleBone Black as reliable 3G/4G router/ modem
Oh yes,and you will need an iptables SNAT rule (again google is your friend). David On Thursday 15 January 2015 22:55:12 David Goodenough wrote: This is very standard stuff. Debian can handle everything you need. OpenWrt is needed on kit with very restricted memory and flash, and neither of these are a problem with the BBB. The kernel is going to have support for most USB 3G modems (just don't choose a brand new one it's kernel support might still be in development). Then set up the routing, and put a dhcp server up and off you go. Oh yes, and remember to enable IPV4 forwarding (google it, as I say this is standard stuff). David On Thursday 15 January 2015 22:31:57 Bremenpl wrote: Thanks for the tips. I was wondering about openwrt, but im not sure either everything is supported there. I could get more pain than usage i fear. Dnia 15 stycznia 2015 22:16:31 c...@isbd.net napisał(a): bremenpl breme...@gmail.com wrote: [-- multipart/alternative, encoding 7bit, 55 lines --] [-- text/plain, encoding 7bit, charset: UTF-8, 21 lines --] Hello there, Ive had it with my internet provider for a while now. I have a free BeagleBone Black and a usb huawei 3G modem laying around though. So I thought- wny not connect the usb modem to BeagleBone Black to get internet, and then connect BeagleBone Black to my router via ethernet to distrubute it further. I was trying to accmplish this approach some time a go by googling around and trying to set up some programs on a debian distro without success... I was wondering- isnt there any straight forward solution for aplication such as this? Maybe a separate OS even, I dont mind? This is the only task I would like BeagleBone Black to do- get and then distribute internet. I would really aprichiate any help in here, it would be really great for me to set this up. openwrt maybe? -- Chris Green · -- 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/Vi0CTOoGaw4/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. -- 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] BeagleBone Black doesn't sometimes start. Only Power LED is on
Mikkel, I just found this forum after a couple beaglebones I have starting displaying the same problem discussed here. I figured I would reply to you since I saw you just posted. I have a question on how to implement Andrew's solution. I am able to download and build the u-boot, everything is working fine there. Then I have two files, MLO and u-boot.img that I can copy into the boot directory (/boot/uboot I am using Debian and booting from the eMMC). My question is when are we suppose to edit the config.h file? After I build and move the 2 files? I'm wondering because in Andrew's post he mentions that he edited the config.h file then rebuilt the u-boot. But when I try this it just overwrites the config.h file back to the original. So I assume the process should be first download and build the u-boot, then move the MLO and u-boot.img to the boot directory, finally edit the config.h file. Is this correct? I have tried everything I can think of but my board is still hanging on boots about 1 out of 20. Forgive me because I am not too familiar with Debian. Thank you for any help you can provide! On Thursday, January 15, 2015 at 8:43:07 AM UTC-6, Mikkel Kirkgaard Nielsen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there Martin. On 2015-01-14 18:05, martin...@spotme.com javascript: wrote: Just as a +1 to Andrew's findings: In summary, this software fix is still highly useful. Glad you were able to solve your issue. I'm just wondering if Andrew's autoboot solution/hack hasn't propagated to the official software yet? Seems odd if not, since so many has been bitten by it and it is now 15 months since it was first described (2013-10-28: https://groups.google.com/forum/#!msg/beagleboard/aXv6An1xfqI/2_tLa7oWQBIJ). I haven't studied the u-boot source before but I just took a sniff at the mainline repository (http://git.denx.de/u-boot.git). I found that for BBB (really am335x) u-boot still defaults to aborting autoboot if any characters are received on the serial console and then waiting forever for further commands. Below is a patch mitigating this situation in mainline master (binaries at http://www.mikini.dk/wp-content/uploads/2015/01/u-boot_mainline_BBB-autoboot-patch_201501151.zip). It requires typing more characters (stop) to abort and uses a new(?) config feature to reset the board if autoboot is aborted but no commands are entered (for 30 sec). Except for the 30 sec timeout, which doesn't kick in for some unknown reason, it seems to behave ok. Disclaimer: this is mostly an experiment, there is a lot of u-boot trees and patches floating around for the BBB (like https://github.com/beagleboard/u-boot), so probably mainline hasn't got the most recent stuff for BBB yet. diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h index 5ed86d9..c58f467 100644 - --- a/include/configs/ti_am335x_common.h +++ b/include/configs/ti_am335x_common.h @@ -12,6 +12,12 @@ #ifndef __CONFIG_TI_AM335X_COMMON_H__ #define __CONFIG_TI_AM335X_COMMON_H__ +#define CONFIG_AUTOBOOT_KEYED +#define CONFIG_AUTOBOOT_STOP_STR stop +#define CONFIG_AUTOBOOT_PROMPT autoboot in %d seconds (type '%s' to abort)\n,bootdelay,CONFIG_AUTOBOOT_STOP_STR +#define CONFIG_BOOT_RETRY_TIME 30 +#define CONFIG_RESET_TO_RETRY + #define CONFIG_AM33XX #define CONFIG_ARCH_CPU_INIT #define CONFIG_SYS_CACHELINE_SIZE 64 @@ -102,4 +108,7 @@ /* Now bring in the rest of the common code. */ #include configs/ti_armv7_common.h +#undef CONFIG_BOOTDELAY +#define CONFIG_BOOTDELAY 5 + #endif /* __CONFIG_TI_AM335X_COMMON_H__ */ Thank you Andrew and Guglielmo for your work! Thumbs up, also for Guillermo ;). - -- Mikkel ,= ,-_-. =. ((_/)o o(\_)) `-'(. .)`-' \_/ keybase.io/mikini -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJUt9HnAAoJEJ2luFWzaTSaqCoH/2cuFepOVkHGM0gGaGV5U8Dg /Z3O4Cb1zGyasSeYLZbU5XfOms6k66hbLmbQiDYIKkMv/KS0gcjjkuFaZBE2NdVJ xFnaPS/XPd8MJcwWQMVScFafNJE1E4KLHe437FeenPZLEBcgtZc/AsTFX+mybKhC oQfaUmrA9gT2KGmFoGB8Sp+4q4reciXicHRfet78aEF8g9FdqprQvf4xjfcZYgxL 0cNNbXh+mmT+AjSCB4CEze25V5yitvfT744WUUHFznfRWXkRVvKpiVeiDwdswKcs AaV5yjCqxb0F3iM4leRxdDy3FhuMjxmyZxk9HpwO/sLKExigNktpd3aRjuHO7ds= =jU44 -END PGP SIGNATURE- -- 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: BeagleBone Black as reliable 3G/4G router/ modem
This is very standard stuff. Debian can handle everything you need. OpenWrt is needed on kit with very restricted memory and flash, and neither of these are a problem with the BBB. The kernel is going to have support for most USB 3G modems (just don't choose a brand new one it's kernel support might still be in development). Then set up the routing, and put a dhcp server up and off you go. Oh yes, and remember to enable IPV4 forwarding (google it, as I say this is standard stuff). David On Thursday 15 January 2015 22:31:57 Bremenpl wrote: Thanks for the tips. I was wondering about openwrt, but im not sure either everything is supported there. I could get more pain than usage i fear. Dnia 15 stycznia 2015 22:16:31 c...@isbd.net napisał(a): bremenpl breme...@gmail.com wrote: [-- multipart/alternative, encoding 7bit, 55 lines --] [-- text/plain, encoding 7bit, charset: UTF-8, 21 lines --] Hello there, Ive had it with my internet provider for a while now. I have a free BeagleBone Black and a usb huawei 3G modem laying around though. So I thought- wny not connect the usb modem to BeagleBone Black to get internet, and then connect BeagleBone Black to my router via ethernet to distrubute it further. I was trying to accmplish this approach some time a go by googling around and trying to set up some programs on a debian distro without success... I was wondering- isnt there any straight forward solution for aplication such as this? Maybe a separate OS even, I dont mind? This is the only task I would like BeagleBone Black to do- get and then distribute internet. I would really aprichiate any help in here, it would be really great for me to set this up. openwrt maybe? -- Chris Green · -- 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/Vi0CTOoGaw4/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. -- 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] Migrating to F2FS on the eMMC
Thanks Robert! I will post my results here in this thread :-) Jean-Francois Le jeudi 15 janvier 2015 17:47:23 UTC-5, RobertCNelson a écrit : On Thu, Jan 15, 2015 at 4:39 PM, Jean-Francois Gauthier noise...@gmail.com javascript: wrote: Is there a simple way to migrate from EXT4 to F2FS on the eMMC ? Using the Debian beaglebone distribution. It looks like a much better, faster and best suited for NAND based Flash memory filesystem. As long as you understand, u-boot can only read from a fat/ext partition. Just create a 2 partition setup: sudo sfdisk --in-order --Linux --unit M ${DISK} -__EOF__ 1,48,0xE,* ,,,- __EOF__ Create first ext4 boot partition, in it you'll store zImage/dtbs Then create your second f2fs rootfs partition. Most here still applies: https://eewiki.net/display/linuxonarm/BeagleBone+Black Just adjust for the partition change and let us know how it works for you.. 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.
Re: [beagleboard] Checking GPIOpins for being healthy
evilwulfie evilwul...@gmail.com [15-01-15 17:20]: plus and minus what ? On 1/15/2015 8:30 AM, meino.cra...@gmx.de wrote: Hi, I accidentally wired my BB wrong. I connected (+) and (-) to GPIOs (default setting). I would like to check, whether these PINS had survived me. What is a valid most simplistic way to do so? Thank you very much in advance for any help! Best regards, Meino -- 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. Hi evilwuffie, :) ...ok, I was a little t fast: ;) (+) and (-) were of a 3.2V Lithium coin cell... Best regards, Meino -- 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 as reliable 3G/4G router/ modem
bremenpl breme...@gmail.com wrote: [-- multipart/alternative, encoding 7bit, 55 lines --] [-- text/plain, encoding 7bit, charset: UTF-8, 21 lines --] Hello there, Ive had it with my internet provider for a while now. I have a free BeagleBone Black and a usb huawei 3G modem laying around though. So I thought- wny not connect the usb modem to BeagleBone Black to get internet, and then connect BeagleBone Black to my router via ethernet to distrubute it further. I was trying to accmplish this approach some time a go by googling around and trying to set up some programs on a debian distro without success... I was wondering- isnt there any straight forward solution for aplication such as this? Maybe a separate OS even, I dont mind? This is the only task I would like BeagleBone Black to do- get and then distribute internet. I would really aprichiate any help in here, it would be really great for me to set this up. openwrt maybe? -- Chris Green · -- 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] make menuconfig when compiling kernel
Dear All I am having this trouble that when I finished selecting the menuconfig exit and type in command make. It will have an error like bellow. root@beaglebone:/usr/src/kernel# make CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. make[1]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop. make: *** [prepare0] Error 2 I am using a BBB with Angstrom. Does anyone know what is the problem of this? Thank! -- 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: Still having problems compiling Kernel :(
Thanks RH; It is a software RAID, and I am struggling with Robert's scripts :( -Original Message- From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of rh_ Sent: Thursday, January 15, 2015 12:12 AM To: beagleboard@googlegroups.com Subject: [beagleboard] Re: Still having problems compiling Kernel :( On Wed, 14 Jan 2015 23:50:12 -0500 William Pretty Security bill.pre...@xplornet.com wrote: What I am trying to create is a Debian image with RAID Kernel module support. Haven't done any RAID stuff lately. Are you doing software RAID or hardware RAID? If hardware RAID you need to make sure you have the driver for your controller selected. You may have to fiddle with the order of module loading or something if you're trying to boot from a RAID. Initrd? -- 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. - No virus found in this message. Checked by AVG - www.avg.com Version: 2015.0.5645 / Virus Database: 4260/8933 - Release Date: 01/15/15 - No virus found in this message. Checked by AVG - www.avg.com Version: 2015.0.5645 / Virus Database: 4260/8927 - Release Date: 01/13/15 -- 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] splash screen on BeagleBone Black LCD
Hello list, I'm trying to figure out how to display a splash screen on a BeagleBone Black with the Chipsee 7 LCD expansion board. using an old u-boot is working using instruction from TI here: http://e2e.ti.com/support/arm/sitara_arm/f/791/p/217383/952703 with later u-boot versions, is unfortunatly not working nevertherless new u-boot is having some kind of basic framebuffer drivers (am335x-fb.c and da8xx-fb.c) but I cannot figure out how to enable it. Any help/hints are welcome. Cheers Ayoub Zaki -- 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] Recompile kernel
Thank you Robert N, and sorry to hi-jack your post Robert K. Np. You're welcome :-) One question: whats the purpose of the linux-libc-dev_1cross_armhf.deb package? I did not install it and until now I see no problem... Robert K. -- 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] ethernet gadget with beagleboard
Hello, I have trouble using ethernet usb gadget driver on the beagleboard (omap3530). I am using SDK 4.2.0.7 for the kernel, I've compiled it with beaglebpoard config, so everything is expected to work as required on this EVM. I have compiled both kernel and modules with ethernet gadget module enabled, but on trying to insmod the driver, I get the following; root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device Did anyone encounter such failure ? Attached boot log.Regards, Ran -- 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. Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07) Beagle Rev C5 Reading boot sector Loading u-boot.bin from mmc U-Boot 2009.06-rc2 (Jan 15 2015 - 11:12:37) , CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 512 MiB In:serial Out: serial Err: serial Board revision Ax/Bx Die ID #74aa0007015a676401014023 Hit any key to stop autoboot: 0 mmc1 is available reading uImage 3064968 bytes read ## Booting kernel from Legacy Image at 8030 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:3064904 Bytes = 2.9 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [0.00] Linux version 2.6.37 (ubuntu@ubuntu-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #5 Thu Jan 15 13:40:05 IST 2015 [0.00] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: OMAP3 Beagle Board [0.00] Reserving 4194304 bytes SDRAM for VRAM [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] OMAP3430/3530 ES3.1.2 (l2cache iva sgx neon isp 720mhz ) [0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000 [0.00] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait [0.00] PID hash table entries: 1024 (order: 0, 4096 bytes) [0.00] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [0.00] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Memory: 252MB = 252MB total [0.00] Memory: 242452k/242452k available, 19692k reserved, 0K highmem [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xfff0 - 0xfffe ( 896 kB) [0.00] DMA : 0xffc0 - 0xffe0 ( 2 MB) [0.00] vmalloc : 0xd080 - 0xf800 ( 632 MB) [0.00] lowmem : 0xc000 - 0xd000 ( 256 MB) [0.00] modules : 0xbf00 - 0xc000 ( 16 MB) [0.00] .init : 0xc0008000 - 0xc003a000 ( 200 kB) [0.00] .text : 0xc003a000 - 0xc05abf00 (5576 kB) [0.00] .data : 0xc05ac000 - 0xc07681a0 (1777 kB) [0.00] NR_IRQS:409 [0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [0.00] omap_hwmod: i2c1: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c2: softreset failed (waited 1 usec) [0.00] omap_hwmod: i2c3: softreset failed (waited 1 usec) [0.00] Reprogramming SDRC clock to 33200 Hz [0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 interrupts [0.00] Total of 96 interrupts on 1 active controller [0.00] GPMC revision 5.0 [0.00] Trying to install interrupt handler for IRQ402 [0.00] Trying to install interrupt handler for IRQ403 [0.00] Trying to install interrupt handler for IRQ404 [0.00] Trying to install interrupt handler for IRQ405 [0.00] Trying to install interrupt handler for IRQ406 [0.00] Trying to install interrupt handler for IRQ407 [0.00] Trying to install interrupt handler for IRQ408 [0.00] Trying to install type control for IRQ409 [0.00] Trying to set irq flags for IRQ409 [0.00] OMAP clockevent source: GPTIMER12 at 32768 Hz [0.00] Console: colour dummy device 80x30 [0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [0.00] ... MAX_LOCKDEP_SUBCLASSES: 8 [0.00] ... MAX_LOCK_DEPTH: 48 [0.00] ... MAX_LOCKDEP_KEYS:8191 [0.00] ... CLASSHASH_SIZE: 4096 [0.00] ...
Re: [beagleboard] bring-up failure
On Thu, Jan 15, 2015 at 1:21 AM, Ran Shalit ransha...@gmail.com wrote: Those directions are just old and out-dated.. https://eewiki.net/display/linuxonarm/BeagleBoard Hi Robert, Thanks for the link. I am using the same instructions as in wiki, with PSP 04.02.00.07: make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap3_beagle_config make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm (by the way, in the wiki it says omap3_beagle_defconfig while it should be omap3_beagle_config ) This changed in u-boot: v2014.10 But The u-boot does not start on the beagleboard, using some binary I've found (revC4 image from http://elinux.org/Beagleboard:BeagleBoard#BeagleBoard_Rev_C4_Image) Is there any idea why I have no success in bring-up of this simple board ? So are you using mainline now, or are you still trying with the ancient PSP crap? 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.
Re: [beagleboard] ethernet gadget with beagleboard
On Thu, Jan 15, 2015 at 3:22 PM, Ran Shalit ransha...@gmail.com wrote: Hello, I have trouble using ethernet usb gadget driver on the beagleboard (omap3530). I am using SDK 4.2.0.7 for the kernel, I've compiled it with beaglebpoard config, so everything is expected to work as required on this EVM. I have compiled both kernel and modules with ethernet gadget module enabled, but on trying to insmod the driver, I get the following; root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device Did anyone encounter such failure ? Attached boot log.Regards, Hi, I suspect it is related to the following error: Welcome to The ֵngstrצm Distribution! [3.811035] 28systemd[1]: /sbin/modprobe failed with error code 1. [3.822387] 30systemd[1]: Set hostname to beagleboard. [3.843353] 28systemd[1]: CONFIG_CGROUPS was not set when your kernel was compiled. Systems without control groups are not supported. We will now sleep for 10s, and then continue boot-up. Expect breakage and please do not file bugs. Instead fix your kernel and enable CONFIG_CGROUPS. [ 13.897247] 28systemd[1]: No control group support available, not creating root group. [ 14.307220] 27systemd[1]: Failed to open /dev/autofs: No such file or directory [ 14.315338] 27systemd[1]: Failed to initialize automounter: No such file or directory [ 14.323974] 29systemd[1]: Unit proc-sys-fs-binfmt_misc.automount entered failed state. Starting Runtime Directory... Is anyone familiar with it ? Regards, Ran -- 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] ethernet gadget with beagleboard
On Thu, Jan 15, 2015 at 8:09 AM, Ran Shalit ransha...@gmail.com wrote: On Thu, Jan 15, 2015 at 3:22 PM, Ran Shalit ransha...@gmail.com wrote: Hello, I have trouble using ethernet usb gadget driver on the beagleboard (omap3530). I am using SDK 4.2.0.7 for the kernel, I've compiled it with beaglebpoard config, so everything is expected to work as required on this EVM. I have compiled both kernel and modules with ethernet gadget module enabled, but on trying to insmod the driver, I get the following; root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko insmod: error inserting 'g_ether.ko': -1 No such device Did anyone encounter such failure ? Attached boot log.Regards, Hi, I suspect it is related to the following error: Welcome to The ֵngstrצm Distribution! [3.811035] 28systemd[1]: /sbin/modprobe failed with error code 1. [3.822387] 30systemd[1]: Set hostname to beagleboard. [3.843353] 28systemd[1]: CONFIG_CGROUPS was not set when your kernel was compiled. Systems without control groups are not supported. We will now sleep for 10s, and then continue boot-up. Expect breakage and please do not file bugs. Instead fix your kernel and enable CONFIG_CGROUPS. [ 13.897247] 28systemd[1]: No control group support available, not creating root group. [ 14.307220] 27systemd[1]: Failed to open /dev/autofs: No such file or directory [ 14.315338] 27systemd[1]: Failed to initialize automounter: No such file or directory [ 14.323974] 29systemd[1]: Unit proc-sys-fs-binfmt_misc.automount entered failed state. Starting Runtime Directory... Is anyone familiar with it ? It should be pretty obvious, it's actually telling you twice what kernel config your missing.. Hint: it's telling you your kernel is mis-configured, add the config option and reboot.. 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.