[beagleboard] Ubuntu flasher problem

2014-09-08 Thread penou87
Hi all,

I'm unsuccessfuly trying to flash my Ubuntu 14.04 from an SD card to my 
beagblebone black eMMC.
I'm using the Robert C. Nelson script to do it 
: 
https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/bbb-eMMC-flasher-eewiki-12mb.sh#

When I run the script, everything goes fine. 
Only afterward:
   -  when booting on the microSD, I have a kernel panic during the OS boot.
   -  when booting on the eMMC, the OS loading is stuck. Also, it boots 
when I insert the SD card.

I've checked the bbb-eMMC-flasher script and I saw that the step that kill 
my microSD is the last function copy_rootfs.

Does someone has the same problem when trying to flash an ubuntu or am I 
the only one ?
If Robert can see this, do you have any idea on what can be the reason ?

best regards,

Julien


-- 
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] Using g_ether/g_multi

2014-09-02 Thread penou87
Hi all,

I have quite troubles with using g_ether/g_multi.

Hardware:
BBB.

Software :
Linux arm 3.15.10-bone8 #1 Tue Sep 2 02:20:52 PDT 2014 armv7l armv7l armv7l 
GNU/Linux
Ubuntu 14.04

The A8 boots fine however I can't ping my usb0 interface with my PC.
The setup of my interface is the following :
*auto lo   
  *
*iface lo inet loopback*



*auto eth0 
   *
*iface eth0 inet dhcp  *


*auto usb0 
*
*iface usb0 inet static   *
*address 192.168.7.2   
  *
*netmask 255.255.255.0 
*
*network 192.168.7.0   
   *
*gateway 192.168.7.1*
  

The result of my lsmod is the following:
*Module  Size  Used by*
 
*g_ether 3694  0   
 *
*snd_soc_omap2562  0   
   *
*snd_pcm_dmaengine   4938  1 snd_soc_omap   
 *
*snd_soc_core  156036  1 snd_soc_omap   
 *
*snd_compress   11202  1 snd_soc_core   
 *
*snd_pcm70240  3 
snd_soc_core,snd_soc_omap,snd_pcm_dmaengine  *
*snd_timer  15971  1 snd_pcm  *
*snd53346  4 
snd_soc_core,snd_timer,snd_pcm,snd_compress *
*soundcore   6731  1 snd  *
*omap_aes   12664  0*
*omap_sham  18431  0*
*ti_am335x_adc   4491  0   *
*kfifo_buf   2407  1 ti_am335x_adc*
*evdev   7805  1 *
*rtc_omap5107  0  *
*industrialio   41829  2 ti_am335x_adc,kfifo_buf *
*usb_f_eem   7407  1*
*usb_f_rndis21745  2 g_ether   *
*libcomposite   35331  3 usb_f_eem,usb_f_rndis,g_ether *
*u_ether10825  3 usb_f_eem,usb_f_rndis,g_ether*
   
Furthermore, when connected to my PC, the RDNIS driver is not even loaded 
by Windows.

I don't really see from where the problem can come. Do anyone have an idea ?

Regards,

Julien.

PS: here is the link of my dmesg http://pastebin.com/XMBGKFfr

-- 
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] Interface eth0 won't show up

2014-09-02 Thread penou87
Hi all,

I have problems with the eth0 interface.

Hardware:
Custom BBB with no EEPROM.

Software :
Linux arm 3.15.10-bone8 #1 Tue Sep 2 02:20:52 PDT 2014 armv7l armv7l armv7l 
GNU/Linux
Ubuntu 14.04

The A8 boots fine however I don't see my eth0 interface.
I tried using the Angstrom kernel at start and I could use ethernet. 
However, I couldn't see my eMMC so that's why I decided to go with a latest 
kernel and OS.

I don't really see from where the problem can come. Do anyone have an idea ?

Regards,

Julien.

-- 
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?

2014-08-25 Thread penou87
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.


[beagleboard] g_multi module problems

2014-08-21 Thread penou87
Hi all,

I currently have trouble with the g_multi USB gadget module compilation in 
the kernel.
My hardware is a custom beaglebone black with the exact same hardware. 

I'd like to use my USB like the beaglebone black does, as a RNDIS and a 
mass storage.
However, during the kernel compilation of the 3.15.9, I check the builtin 
g_multi module but it is not working.

When using a dmesg, I can see an error -22 during g_multi module loading.
Furthermore, i don't know how the configuration of the module is done. I 
tried to create a g_multi.conf file in /etc/modprobe.d but it doesn't seem 
to have any effect.
I can't see any usb0 interface in my ifconfig and when connecting my USB to 
my Windows PC I don't see any RNDIS or mass storage.

Do you have any information or experience with the g_multi kernel-builtin 
module ?

Best regards,
Julien 

 

-- 
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: Please advise best stable kernel version

2014-08-13 Thread penou87
I found this link when asking myself the same question.
Hope this will help.

https://www.kernel.org/finger_banner

On Saturday, August 9, 2014 12:53:46 AM UTC+2, Dejan Nenov wrote:

 Hello,

 It appears that the most popular kernel version out is 
 https://github.com/RobertCNelson/bb-kernel/tree/3.8.13-boneXX

 However, Robert's git branches have tags up to 3.16.bone-2

 Can you please advise as to which version/tag would be best for a new 
 project - most important is support for SPI, USB Wireless WiFi and overall 
 stability.

 Thank you,

 Dejan Nenov


-- 
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: Initially load capes on AM335x without EEPROM

2014-08-11 Thread penou87
Hi Robert,

I tried to use the u-boot patch you mentionned but I still can't see the 
eMMC cape.

I'm using the current ubuntu image 
: bone-ubuntu-14.04-console-armhf-2014-07-06-2gb

Here is my dmesg result. Do you see where the problem come from ?

Best regards, 
Julien

dmesg
[0.00] Booting Linux on physical CPU 0x0
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 3.8.13-bone59 (root@imx6q-wandboard-2gb-0) 
(gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #1 SMP Sat Jul 5 
02:59:43 UTC 2014
[0.00] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), 
cr=50c5387d
[0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing 
instruction cache
[0.00] Machine: Generic AM33XX (Flattened Device Tree), model: TI 
AM335x BeagleBone
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] On node 0 totalpages: 130816
[0.00] free_area_init_node: node 0, pgdat c08a8e80, node_mem_map 
c0924000
[0.00]   Normal zone: 1024 pages used for memmap
[0.00]   Normal zone: 0 pages reserved
[0.00]   Normal zone: 129792 pages, LIFO batch:31
[0.00] AM335X ES2.1 (l2cache sgx neon )
[0.00] PERCPU: Embedded 9 pages/cpu @c0d34000 s14080 r8192 d14592 
u36864
[0.00] pcpu-alloc: s14080 r8192 d14592 u36864 alloc=9*4096
[0.00] pcpu-alloc: [0] 0 
[0.00] Built 1 zonelists in Zone order, mobility grouping on. 
 Total pages: 129792
[0.00] Kernel command line: console=ttyO0,115200n8 
root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc quiet
[0.00] PID hash table entries: 2048 (order: 1, 8192 bytes)
[0.00] Dentry cache hash table entries: 65536 (order: 6, 262144 
bytes)
[0.00] Inode-cache hash table entries: 32768 (order: 5, 131072 
bytes)
[0.00] __ex_table already sorted, skipping sort
[0.00] allocated 1048576 bytes of page_cgroup
[0.00] please try 'cgroup_disable=memory' option if you don't want 
memory cgroups
[0.00] Memory: 511MB = 511MB total
[0.00] Memory: 505024k/505024k available, 19264k 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] vmalloc : 0xe080 - 0xff00   ( 488 MB)
[0.00] lowmem  : 0xc000 - 0xe000   ( 512 MB)
[0.00] pkmap   : 0xbfe0 - 0xc000   (   2 MB)
[0.00] modules : 0xbf80 - 0xbfe0   (   6 MB)
[0.00]   .text : 0xc0008000 - 0xc07e3b78   (8047 kB)
[0.00]   .init : 0xc07e4000 - 0xc0823700   ( 254 kB)
[0.00]   .data : 0xc0824000 - 0xc08abe40   ( 544 kB)
[0.00].bss : 0xc08abe40 - 0xc0923580   ( 478 kB)
[0.00] Hierarchical RCU implementation.
[0.00] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[0.00] NR_IRQS:0 nr_irqs:0 0
[0.00] IRQ: Found an INTC at 0xfa20 (revision 5.0) with 128 
interrupts
[0.00] Total of 128 interrupts on 1 active controller
[0.00] OMAP clockevent source: GPTIMER1 at 2600 Hz
[0.00] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 
165191ms
[0.00] OMAP clocksource: GPTIMER2 at 2600 Hz
[0.00] Console: colour dummy device 80x30
[0.000215] Calibrating delay loop... 1077.49 BogoMIPS (lpj=1051648)
[0.029198] pid_max: default: 32768 minimum: 301
[0.029321] Security Framework initialized
[0.029373] Mount-cache hash table entries: 512
[0.034711] Initializing cgroup subsys cpuacct
[0.034734] Initializing cgroup subsys memory
[0.034770] Initializing cgroup subsys blkio
[0.034852] CPU: Testing write buffer coherency: ok
[0.035239] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[0.035287] Setting up static identity map for 0x804c96f8 - 0x804c9744
[0.036115] Brought up 1 CPUs
[0.036128] SMP: Total of 1 processors activated (1077.49 BogoMIPS).
[0.036778] devtmpfs: initialized
[0.044759] omap_hwmod: wd_timer2: _wait_target_disable failed
[0.095846] pinctrl core: initialized pinctrl subsystem
[0.095971] rstctl core: initialized rstctl subsystem
[0.096236] regulator-dummy: no parameters
[0.096530] NET: Registered protocol family 16
[0.097013] DMA: preallocated 256 KiB pool for atomic coherent 
allocations
[0.102145] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 
568
[0.102639] platform 4900.edma: alias fck already exists
[0.102655] platform 4900.edma: alias fck already exists
[0.102667] platform 4900.edma: alias fck already exists
[0.103203] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[0.103290] OMAP GPIO hardware version 0.1
[0.104080] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[0.104693] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[0.105318] 

Re: [beagleboard] Re: Initially load capes on AM335x without EEPROM

2014-08-06 Thread penou87
Yes, my custom board has the same RAM and µP. Only the eMMC is a 32GB one 
but I think that this will not be a problem.

I'll try to apply the patch to the u-boot.

Thank you  !!!


On Wednesday, August 6, 2014 6:11:14 PM UTC+2, RobertCNelson wrote:

 On Wed, Aug 6, 2014 at 11:01 AM, Julien pen...@gmail.com javascript: 
 wrote: 
  Robert Nelson robertcnelson@... writes: 
  
  
  On Tue, Aug 5, 2014 at 9:30 AM,  penou87@... wrote: 
   Hi, 
   
   I'm currently working on a custom BeagleBone Black of ours and I have 
 a 
  few 
   problem. The electronic is the same except that there is no graphic 
 chip 
  and 
   no EEPROM. 
   
   I'm booting on a µSD card the Angstrom distribution used in the BBB. 
 The 
   board is working well except that I have the following message during 
  the 
   boot  [5.561536] bone-capemgr bone_capemgr.9: Failed to scan 
  baseboard 
   eeprom. 
   
   This is perfectly normal because I have no EEPROM. My problem is that 
 I 
   didn't know that the EEPROM was mandatory to initialize the cape 
  manager. 
   Thus, my EMMC is not loaded by the OS. 
   
   I already tried to enable the cape with the uEnv.txt but it did 
 nothing. 
   I also tried to load it manually but in my cape manager folder there 
 is 
  no 
   slot file so i guess that the cape manager is simply OFF. 
   
   Is there a way to bypass the EEPROM and to load by default the EMMC 
 cape 
  ? 
   I'm actually going through the kernel compilation, i'm afraid that I 
  can't 
   avoid it. 
   Does someone have any experience on this ? 
  
  Mainline kernel has the eMMC setup by default in the dts... 
  
  Since you didn't specify a need for v3.8.x/capemgr, it's a viable 
 option. 
  ;) 
  
  Regards, 
  
  
  Hi Roberts, 
  
  Thank you this is great news. The reason why I didn't go with kernel 
 version 
  over 3.8.x is because the u-boot that I tried didn't include a default 
 load 
  device tree. 

 As long as your clone has the same memory and is 1Ghz version of the 
 am335x, you can use this u-boot patch: 


 https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2014.07/0002-NFM-Production-eeprom-assume-device-is-BeagleBone-Bl.patch
  

  
  So now, I'm trying to use the eMMC Flasher from this link : 
  http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black 
  
  I have a few problems with the MLO and the u-boot since I have no 
 EEPROM. 
  I used the old MLO which agrees that I'm using a BBB by default. But I'm 
  still blocked on the u-boot part. 
  
  I tried using the uEnv.txt file with the following args but it is not 
  working: 
  board_name=A335BNLT 
  fdtfile=am335x-boneblack.dtb 
  uenvcmd=run loadimage; run loadfdt; run mmcargs; bootz ${loadaddr} - 
  ${fdtaddr} 
  fdtdir=/boot/dtbs/3.8.13-bone59 
  
  My main problems are the following: 
  ** Unable to read file /zImage ** 
  ** Unable to read file /boot/dtbs/3.8.13-bone59/am335x-boneblack.dtb ** 
  Bad Linux ARM zImage magic! 
  
  Do you know how I could solve this ? 

 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] Load capes by default on AM335x without EEPROM ?

2014-08-05 Thread penou87


Hi,

I'm currently working on a custom BeagleBone Black of ours and I have a few 
problem. The electronic is the same except that there is no graphic chip 
and no EEPROM.

I'm booting on a µSD card the Angstrom distribution used in the BBB. The 
board is working well except that I have the following message during the 
boot  [5.561536] bone-capemgr bone_capemgr.9: Failed to scan baseboard 
eeprom.

This is perfectly normal because I have no EEPROM. My problem is that I 
didn't know that the EEPROM was mandatory to initialize the cape manager. 
Thus, my EMMC is not loaded by the OS.

I already tried to enable the cape with the uEnv.txt but it did nothing.
I also tried to load it manually but in my cape manager folder there is no 
slot file so i guess that the cape manager is simply OFF.

Is there a way to bypass the EEPROM and to load by default the EMMC cape ?
The u-boot seems to be OK with it, it is assuming we are using a BBB, but 
the kernel is not.

I'm actually going through the kernel compilation, i'm afraid that I can't 
avoid it. 
Does someone have any experience on this ?

Thank you in advance,

Julien Erdogan 

-- 
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.