[beagleboard] Disable serial consol on ttyO0

2014-08-22 Thread Tristan Phillips
One for Robert I'm guessing, unless anyone else can help!

How could I disable the serial console on ttyO0.  Our hardware engineers 
have used this for a device I need to talk to, which I can do after the 
board has booted by disabling /etc/init/serial.conf however I think the 
board still dumps info on this port during boot, which is bad for our 
device and I need to power up the external device after boot to stop it 
going crazy... Not good.

I see /boot/SOC.sh specifies serial_tty=ttyO0 and also I think I can set 
console= in the uEnv.txt, however playing with these stops the board 
booting.

Is there a ncie clean way?

Thanks as usual!

Tris

-- 
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] Board won't flash

2014-08-01 Thread Tristan Phillips
Hi Robert,

I'm starting to worry I will never get this image to the eMMC.  Can you 
help?

Sorry to nag...

On Thursday, 31 July 2014 11:09:29 UTC+1, Tristan Phillips wrote:

 OK, so my board is working well running off the SD card (non 'flasher' 
 with a patched 3.8.13-bone62).

 Changing the cmdline to init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh 
 causes:

 grep: /proc/cmdline: No such file or directory

 So the script is failing here: 
 https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/init-eMMC-flasher-v2.sh#L34

 I guess there is more to making a non flashing image a flashing one. 
  perhaps I could just flash the eMMC manually?

 Any clues?

 On Wednesday, 30 July 2014 20:00:00 UTC+1, Tristan Phillips wrote:

 OK, thanks.  At least I have a plan and some things to try in the morning 
 :)

 On Wednesday, 30 July 2014 19:58:00 UTC+1, RobertCNelson wrote:

 On Wed, Jul 30, 2014 at 1:55 PM, Tristan Phillips 
 tris.p...@gmail.com wrote: 
  OK, cool.  I'm using a serial connection.  So to clarify we are 
 talking 
  about how to make a non flasher image flash to the internal NAND. 
  Great :) 

 Not sure what we are talking about... 

  So just xyz, literally? 

 fingers are lazy... 


 https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L741
  

  
  Awesome :)  I'll try that and let you know how I get on in the 
 morning. 
  It's beer time here across the pond :) 

 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] Board won't flash

2014-08-01 Thread Tristan Phillips
So I booted off the patched SD card, cd to /opt/scripts and did a git pull.
I commented out the cmdline check and ran tools/eMMC/init-eMMC-flasher-v2.sh
Seemed to work fine, but the board stalls on boot from the eMMC, no error, 
no panic, just stops.  Great.
I'm guessing the scripts needs to be run from boot. Can't do that though as 
I get the /proc/cmdline error.

Rock  ME  Hard place

On Friday, 1 August 2014 13:09:50 UTC+1, Tristan Phillips wrote:

 Hi Robert,

 I'm starting to worry I will never get this image to the eMMC.  Can you 
 help?

 Sorry to nag...

 On Thursday, 31 July 2014 11:09:29 UTC+1, Tristan Phillips wrote:

 OK, so my board is working well running off the SD card (non 'flasher' 
 with a patched 3.8.13-bone62).

 Changing the cmdline to init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh 
 causes:

 grep: /proc/cmdline: No such file or directory

 So the script is failing here: 
 https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/init-eMMC-flasher-v2.sh#L34

 I guess there is more to making a non flashing image a flashing one. 
  perhaps I could just flash the eMMC manually?

 Any clues?

 On Wednesday, 30 July 2014 20:00:00 UTC+1, Tristan Phillips wrote:

 OK, thanks.  At least I have a plan and some things to try in the 
 morning :)

 On Wednesday, 30 July 2014 19:58:00 UTC+1, RobertCNelson wrote:

 On Wed, Jul 30, 2014 at 1:55 PM, Tristan Phillips 
 tris.p...@gmail.com wrote: 
  OK, cool.  I'm using a serial connection.  So to clarify we are 
 talking 
  about how to make a non flasher image flash to the internal NAND. 
  Great :) 

 Not sure what we are talking about... 

  So just xyz, literally? 

 fingers are lazy... 


 https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L741
  

  
  Awesome :)  I'll try that and let you know how I get on in the 
 morning. 
  It's beer time here across the pond :) 

 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] Board won't flash

2014-08-01 Thread Tristan Phillips
uname_r=3.8.13-bone62
#dtb=
#cmdline=quiet
cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh
optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN 
capemgr.enable_partno=BB-BONE-AUDI-TE

On Friday, 1 August 2014 14:21:28 UTC+1, RobertCNelson wrote:

 On Thu, Jul 31, 2014 at 5:09 AM, Tristan Phillips 
 tris.p...@gmail.com javascript: wrote: 
  OK, so my board is working well running off the SD card (non 'flasher' 
 with 
  a patched 3.8.13-bone62). 
  
  Changing the cmdline to 
 init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh 
  causes: 
  
  grep: /proc/cmdline: No such file or directory 
  
  So the script is failing here: 
  
 https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/init-eMMC-flasher-v2.sh#L34
  
  
  I guess there is more to making a non flashing image a flashing one. 
  perhaps I could just flash the eMMC manually? 

 On your microSD, what are the contents of /boot/uEnv.txt 

 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] Board won't flash

2014-08-01 Thread Tristan Phillips
The flash is running!!! Fingers crossed!

Thank you SO MUCH.

On Friday, 1 August 2014 15:04:07 UTC+1, RobertCNelson wrote:

 On Fri, Aug 1, 2014 at 8:56 AM, Tristan Phillips 
 tris.p...@gmail.com javascript: wrote: 
  uname_r=3.8.13-bone62 
  #dtb= 
  #cmdline=quiet 
  cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh 
  optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN 
  capemgr.enable_partno=BB-BONE-AUDI-TE 

 Run this first.. 

 sudo update-initramfs -c -k `uname -r` 

 to regenerate /boot/initrd.img-`uname -r` 

 Then reboot with the flashing cmdline enabled.. 

 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] Board won't flash

2014-08-01 Thread Tristan Phillips
Yep, that worked 100% 

Thanks again!  To help other people I have updated a blog post I already 
had with all this:
http://trisblog.tumblr.com/post/87884207700/patch-the-bbb-kernel-on-a-non-flashing-sd-card-for


On Friday, 1 August 2014 15:20:15 UTC+1, Tristan Phillips wrote:

 The flash is running!!! Fingers crossed!

 Thank you SO MUCH.

 On Friday, 1 August 2014 15:04:07 UTC+1, RobertCNelson wrote:

 On Fri, Aug 1, 2014 at 8:56 AM, Tristan Phillips 
 tris.p...@gmail.com wrote: 
  uname_r=3.8.13-bone62 
  #dtb= 
  #cmdline=quiet 
  cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh 
  optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN 
  capemgr.enable_partno=BB-BONE-AUDI-TE 

 Run this first.. 

 sudo update-initramfs -c -k `uname -r` 

 to regenerate /boot/initrd.img-`uname -r` 

 Then reboot with the flashing cmdline enabled.. 

 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] Board won't flash

2014-07-31 Thread Tristan Phillips
OK, so my board is working well running off the SD card (non 'flasher' with 
a patched 3.8.13-bone62).

Changing the cmdline to init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh 
causes:

grep: /proc/cmdline: No such file or directory

So the script is failing 
here: 
https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/init-eMMC-flasher-v2.sh#L34

I guess there is more to making a non flashing image a flashing one. 
 perhaps I could just flash the eMMC manually?

Any clues?

On Wednesday, 30 July 2014 20:00:00 UTC+1, Tristan Phillips wrote:

 OK, thanks.  At least I have a plan and some things to try in the morning 
 :)

 On Wednesday, 30 July 2014 19:58:00 UTC+1, RobertCNelson wrote:

 On Wed, Jul 30, 2014 at 1:55 PM, Tristan Phillips 
 tris.p...@gmail.com wrote: 
  OK, cool.  I'm using a serial connection.  So to clarify we are talking 
  about how to make a non flasher image flash to the internal NAND. 
  Great :) 

 Not sure what we are talking about... 

  So just xyz, literally? 

 fingers are lazy... 


 https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L741
  

  
  Awesome :)  I'll try that and let you know how I get on in the morning. 
  It's beer time here across the pond :) 

 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] Board won't flash

2014-07-30 Thread Tristan Phillips
Can anyone help figure out what is going wrong here?


mmc1: new high speed MMC card at address 0001
[   10.497469] mmcblk1: mmc1:0001 MMC02G 1.78 GiB 
[   10.502697] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
[   10.509831] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
[   10.518332]  mmcblk1: unknown partition table
[   10.524548]  mmcblk1boot1: unknown partition table
[   10.531366] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
mode. Opts: (null)
[   10.540032]  mmcblk1boot0: unknown partition table
[   10.545638] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[   10.557100] devtmpfs: mounted
[   10.560585] Freeing init memory: 240K
[   10.612364] usb 1-1.2: new high-speed USB device number 3 using musb-hdrc
[   10.731178] usb 1-1.2: New USB device found, idVendor=148f, 
idProduct=5370
[   10.738415] usb 1-1.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[   10.746055] usb 1-1.2: Product: 802.11 n WLAN
[   10.750607] usb 1-1.2: Manufacturer: Ralink
[   10.754990] usb 1-1.2: SerialNumber: 1.0
grep: /proc/cmdline: No such file or directory
[   10.989176] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x0200
[   10.989176] 
[   10.998766] [c0010f5d] (unwind_backtrace+0x1/0x98) from [c0494903] 
(panic+0x5b/0x158)
[   11.007319] [c0494903] (panic+0x5b/0x158) from [c0032ea9] 
(do_exit+0x5f5/0x674)
[   11.015311] [c0032ea9] (do_exit+0x5f5/0x674) from [c0032f6b] 
(do_group_exit+0x27/0x6c)
[   11.023950] [c0032f6b] (do_group_exit+0x27/0x6c) from [c0032fbd] 
(__wake_up_parent+0x1/0x18)
[   11.033132] [c0032fbd] (__wake_up_parent+0x1/0x18) from [c000c741] 
(ret_fast_syscall+0x1/0x46)

-- 
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] Board won't flash

2014-07-30 Thread Tristan Phillips
Brilliant, I was just about to ask that.  So I have my kernel build honed 
now, and can get our board without ethernet booting by removing the TI 
drivers,  there are other kernel options I will play with later.

So, to sort out a flasher, or use a non flasher as a flasher, even 
manually?  (I have had no luck simply touching the trigger file...)

Much appreciated :)

On Wednesday, 30 July 2014 19:13:30 UTC+1, RobertCNelson wrote:

 On Wed, Jul 30, 2014 at 1:11 PM, Robert Nelson robert...@gmail.com 
 javascript: wrote: 
  On Wed, Jul 30, 2014 at 12:51 PM, Tristan Phillips 
  tris.p...@gmail.com javascript: wrote: 
  OK, here goes :) 
  
  Downloaded BBB-eMMC-flasher-ubuntu-14.04-console-armhf-2014-07-06-2gb 
 and 
  flashed to SD card 
  
  git clone https://github.com/RobertCNelson/bb-kernel.git 
  cd bb-kernel/ 
  git checkout origin/am33x-v3.8 -b tmp 
  ./build_kernel.sh 
  
  Deselected TI ethernet drivers in the menuconfig.  Thats all. 
  Waited for build to complete. 
  tools/install_kernel.sh 
  
  So, at this point, you've removed the initrd.img from the flasher 
  microSD card... 
  
  Waited for copy 
  Ejected and inserted into BBB 
  Attempted boot 
  Cried 
  Posted asking for help 
  
  The flasher relies on a lot of things to be setup properly.  By 
  removing one, it falls apart like a house of cards.. 

 If all you are doing is testing kernel options.. Ignore the eMMC 
 (infact clear it out: sudo dd if=/dev/zero of=/dev/mmcblk1) 

 Then just use the microSD image and update the kernel like above.. 

 Once you get your microSD working just right, we can talk again about 
 the flasher... 

 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] Board won't flash

2014-07-30 Thread Tristan Phillips
OK, thanks.  At least I have a plan and some things to try in the morning :)

On Wednesday, 30 July 2014 19:58:00 UTC+1, RobertCNelson wrote:

 On Wed, Jul 30, 2014 at 1:55 PM, Tristan Phillips 
 tris.p...@gmail.com javascript: wrote: 
  OK, cool.  I'm using a serial connection.  So to clarify we are talking 
  about how to make a non flasher image flash to the internal NAND.  Great 
 :) 

 Not sure what we are talking about... 

  So just xyz, literally? 

 fingers are lazy... 


 https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L741
  

  
  Awesome :)  I'll try that and let you know how I get on in the morning. 
  It's beer time here across the pond :) 

 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] Kernel Panic - help!

2014-07-29 Thread Tristan Phillips
Hi,

I'm trying to patch 3.15.6-bone5 to run on a BeagleBone black.

I'm working from the base flasher image downloaded 
from http://elinux.org/BeagleBoardUbuntu#BeagleBone.2FBeagleBone_Black

That image boots, however after flashing a new kernel built by doing:

git clone https://github.com/RobertCNelson/bb-kernel.git
cd bb-kernel/
git checkout origin/am33x-v3.15 -b tmp
./build_kernel.sh

I get the following kernel panic:

mmc1: BKOPS_EN bit is not set
[3.960600] mmc1: new high speed MMC card at address 0001 
[3.967666] mmcblk1: mmc1:0001 MMC02G 1.78 GiB  
[3.972656] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB 
[3.979151] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB 
[3.988642]  mmcblk1: unknown partition table 
[3.995322]  mmcblk1boot1: unknown partition table 
[4.001842]  mmcblk1boot0: unknown partition table 
grep: /proc/cmdline: No such file or directory 
[4.207489] Kernel panic - not syncing: Attempted to kill init! exitcode=
0x0200 
[4.207489]  
[4.217087] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 3.15.6-bone5 #1 

[4.224430] [c00113f5] (unwind_backtrace) from [c000fa37] (show_stack
+0xb/0xc) 
[4.232375] [c000fa37] (show_stack) from [c054d20d] (panic+0x65/0x170
) 
[4.239598] [c054d20d] (panic) from [c003090b] (do_exit+0x693/0x694) 
[4.246628] [c003090b] (do_exit) from [c0030951] (do_group_exit+0x29/
0x60) 
[4.254206] [c0030951] (do_group_exit) from [c0030995] (
__wake_up_parent+0x1/0x18) 
[4.262509] drm_kms_helper: panic occurred, switching back to text 
console 
[4.269729] ---[ end Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x0200


I did not make any changes to the kernel and left menuconfig as it was, 
this is simply a rebuild of 3.15

Can anyone point me in the right direction?

Tris

-- 
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] Kernel Panic - help!

2014-07-29 Thread Tristan Phillips
Happy to, how do I do that? ;)

On Tuesday, 29 July 2014 14:21:07 UTC+1, RobertCNelson wrote:

 On Tue, Jul 29, 2014 at 5:56 AM, Tristan Phillips 
 tris.p...@gmail.com javascript: wrote: 
  Hi, 
  
  I'm trying to patch 3.15.6-bone5 to run on a BeagleBone black. 
  
  I'm working from the base flasher image downloaded from 
  http://elinux.org/BeagleBoardUbuntu#BeagleBone.2FBeagleBone_Black 
  
  That image boots, however after flashing a new kernel built by doing: 
  
  git clone https://github.com/RobertCNelson/bb-kernel.git 
  cd bb-kernel/ 
  git checkout origin/am33x-v3.15 -b tmp 
  ./build_kernel.sh 
  
  I get the following kernel panic: 
  
  mmc1: BKOPS_EN bit is not set 
  [3.960600] mmc1: new high speed MMC card at address 0001 
  [3.967666] mmcblk1: mmc1:0001 MMC02G 1.78 GiB 
  [3.972656] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB 
  [3.979151] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB 
  [3.988642]  mmcblk1: unknown partition table 
  [3.995322]  mmcblk1boot1: unknown partition table 
  [4.001842]  mmcblk1boot0: unknown partition table 
  grep: /proc/cmdline: No such file or directory 

 Cool! Didn't know we could disable: /proc/cmdline 

 You should bisect it for me and figure out what config we are missing. 

 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] Board with Ethernet removed

2014-07-28 Thread Tristan Phillips
Hi All,

We are working on a board based on the BBB design and in our latest 
revision we have no Ethernet chip on board.  During boot, I get a Kernel 
panic:

davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[   10.739305] davinci_mdio 4a101000.mdio: no live phy, scanning all 
[   10.745901] davinci_mdio: probe of 4a101000.mdio failed with error -5 
[   10.752865] Detected MACID = d0:ff:50:b1:b7:3e 
[   10.757374] Unhandled fault: external abort on non-linefetch (0x1008) at 
0xe089c000 
[   10.765550] Internal error: : 1008 [#1] SMP THUMB2 
[   10.770538] Modules linked in: 
[   10.773724] CPU: 0Not tainted  (3.8.13-bone59 #1) 
[   10.779000] PC is at cpsw_probe+0x37e/0x9fc 
[   10.783353] LR is at ioremap_page_range+0x8d/0x11c 
[   10.788347] pc : [c03160d2]lr : [c0243e2d]psr: a033 
[   10.788347] sp : df071df8  ip : 4a10  fp : df071e30 
[   10.800304] r10: 0002  r9 : e089c000  r8 :  
[   10.805742] r7 :   r6 : df0d3400  r5 :   r4 : de2f6000 
[   10.812543] r3 :   r2 : e089d000  r1 : 4a100e13  r0 : e089c000 
[   10.819340] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  
Segment kernel 
[   10.827138] Control: 50c5387d  Table: 9e34c019  DAC: 0015 
[   10.833125] Process swapper/0 (pid: 1, stack limit = 0xdf070240) 
[   10.839385] Stack: (0xdf071df8 to 0xdf072000)


My research suggests that this is due to the Ethernet chip not being 
present.  During Kernel building I have removed Device Drivers - Network 
Device Support - Ethernet Driver Support - TI devices, however this does 
not seem to make any difference at all?

Has anybody got any ideas as to what I might try?

Thanks,

Tris

-- 
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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-05 Thread Tristan Phillips
Hooray

I managed to take a flasher SD card, mount it on a Linux box and apply 
the patched kernel using tools/install_kernel.sh

The flasher then successfully writes to the target BBB internal SD :)

Robert, did you recommend working on a non flashing image to allow more 
customisation, in order to create a form of golden master?  Installing 
packages and the like?

Thank you all so much for the help :)

Tris

On Wednesday, 4 June 2014 19:20:43 UTC+1, Tristan Phillips wrote:

 Thank you :)

 On Wednesday, 4 June 2014 19:15:03 UTC+1, RobertCNelson wrote:

 On Wed, Jun 4, 2014 at 1:12 PM, Tristan Phillips 
 tris.p...@gmail.com wrote: 
  Nice one :) 
  
  Yeap, and for a hint. Take the current non-flashing debian image  - 
 OK 
  with Ubuntu too? 

 With this one: (it's the exact same rsync based script as in debian) 

 http://elinux.org/BeagleBoardUbuntu#BeagleBone.2FBeagleBone_Black 

  install your kernel - by running tools/installkernel.sh on the pc 
 with the 
  SD card plugged in? 

 yeap, or if you get stuck, look at: 

 http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-CopyKernelFiles
  

 for hints. 

 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] Custom audio cape with mic - DTO?

2014-06-04 Thread Tristan Phillips
Hi all,

Bit of a strange question... We are working on something which uses a tlv320 
in the same layout as the audio cape, with one difference, we have *added* 
an electret mic.  So our board has line out left/right, line in left/right 
and also mic in.

Apart from changing the i2c bus everything else is the same.  With a modded 
overlay (addressing the right i2c bus) output and line input work as 
expected. However, the mic is not powered as no bias is being provided. 
 Also the Alsa mixer does not mention the mic anywhere.

My assumption is that I need to modify the device tree overlay to tell the 
driver that we have a mic present (I'm rather new to audio and dto's, so 
forgive me if I'm talking rubbish).

Could anyone point me in the right direction to getting this mic working?

Thanks in advance!

Tris

-- 
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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Hi,

I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle bone black 
and would like to apply a patch to /sound/soc/davinci/davinci-evm.c.  I 
guess I need to recompile the kernel.  Can someone tell me what I need to 
download from where and the steps I should follow to achieve this?

Robert, are you out there? ;)

Thanks,

Tris

-- 
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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Thanks :)

On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips tris.p...@gmail.com 
 javascript: wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle bone 
 black and would like to apply a patch to /sound/soc/davinci/davinci-
 evm.c.  I guess I need to recompile the kernel.  Can someone tell me 
 what I need to download from where and the steps I should follow 
 to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@googlegroups.com javascript:.
 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: Custom audio cape with mic - DTO?

2014-06-04 Thread Tristan Phillips
The bias is provided by the codec afaik

On Wednesday, 4 June 2014 13:04:51 UTC+1, Mickae1 wrote:

 However, the mic is not powered as no bias is being provided

 If the micro is powered by a PIN, you have to tell the cape manager 
 through the dtbo to power the micro .

 Micka,


 On Wed, Jun 4, 2014 at 1:11 PM, Tristan Phillips tris.p...@gmail.com 
 javascript: wrote:

 In addition, my engineer tells me we are using MIC3L which is not used on 
 the audio cape.  Thats what I need to get working...

 On Wednesday, 4 June 2014 11:50:48 UTC+1, Tristan Phillips wrote:

 Hi all,

 Bit of a strange question... We are working on something which uses a 
 tlv320 
 in the same layout as the audio cape, with one difference, we have 
 *added* an electret mic.  So our board has line out left/right, line in 
 left/right and also mic in.

 Apart from changing the i2c bus everything else is the same.  With a 
 modded overlay (addressing the right i2c bus) output and line input work as 
 expected. However, the mic is not powered as no bias is being provided. 
  Also the Alsa mixer does not mention the mic anywhere.

 My assumption is that I need to modify the device tree overlay to tell 
 the driver that we have a mic present (I'm rather new to audio and dto's, 
 so forgive me if I'm talking rubbish).

 Could anyone point me in the right direction to getting this mic working?

 Thanks in advance!

 Tris

  -- 
 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...@googlegroups.com javascript:.
 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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Is this specific to 3.8.13-bone47 and the beagle bone black?

On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips tris.p...@gmail.com 
 javascript: wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle bone 
 black and would like to apply a patch to /sound/soc/davinci/davinci-
 evm.c.  I guess I need to recompile the kernel.  Can someone tell me 
 what I need to download from where and the steps I should follow 
 to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@googlegroups.com javascript:.
 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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Thank you very much :)  

I guess I need to do this on a linux pc, not the BBB?

What do I do after doing all that to flash the new kernel onto a BBB?

On Wednesday, 4 June 2014 13:28:51 UTC+1, Mickae1 wrote:

 With this command :

 git checkout origin/am33x-v3.8 -b tmp

 you will get the last kernel version of the branch 3.8 , which is today; 
 beaglebone 
 3.8.13-bone55

 Micka,


 On Wed, Jun 4, 2014 at 2:23 PM, Tristan Phillips tris.p...@gmail.com 
 javascript: wrote:

 Is this specific to 3.8.13-bone47 and the beagle bone black?


 On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle bone 
 black and would like to apply a patch to /sound/soc/davinci/davinci-ev
 m.c.  I guess I need to recompile the kernel.  Can someone tell me 
 what I need to download from where and the steps I should follow 
 to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@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...@googlegroups.com javascript:.
 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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Thank you very much for all your help.  I'll crack on with that and come 
back if I have more questions if thats OK?

Thanks again,

Tris

On Wednesday, 4 June 2014 13:54:47 UTC+1, Mickae1 wrote:

 yes on a linux pc.

 ( it will kill you to compile the kernel on the bbb . it already takes 
 time on the PC  )


 look at this command provided by Robert Nelson = 
 ./tools/install_kernel.sh ( something like that ).


 Micka,


 On Wed, Jun 4, 2014 at 2:50 PM, Tristan Phillips tris.p...@gmail.com 
 javascript: wrote:

 Thank you very much :)  

 I guess I need to do this on a linux pc, not the BBB?

 What do I do after doing all that to flash the new kernel onto a BBB?


 On Wednesday, 4 June 2014 13:28:51 UTC+1, Mickae1 wrote:

 With this command :

 git checkout origin/am33x-v3.8 -b tmp

 you will get the last kernel version of the branch 3.8 , which is today; 
 beaglebone 
 3.8.13-bone55

 Micka,


 On Wed, Jun 4, 2014 at 2:23 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Is this specific to 3.8.13-bone47 and the beagle bone black?


 On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle bone 
 black and would like to apply a patch to /sound/soc/davinci/davinci-
 evm.c.  I guess I need to recompile the kernel.  Can someone tell 
 me what I need to download from where and the steps I should follow 
 to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@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...@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...@googlegroups.com javascript:.
 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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Thanks! :)

On Wednesday, 4 June 2014 14:06:14 UTC+1, DLF wrote:

 Hello

 I am a beginner and I was able to follow this page for Cross Compile.   
 Becareful if you are using Firefox because not all the text is rendered.

 http://eewiki.net/display/linuxonarm/BeagleBone+Black

 I made a copy with all the text if that helps

 http://dumb-looks-free.blogspot.fr/2014/05/beaglebone-black-bbb-cross-compile_28.html

 good luck



 On Wednesday, 4 June 2014 14:55:32 UTC+2, Tristan Phillips wrote:

 Thank you very much for all your help.  I'll crack on with that and come 
 back if I have more questions if thats OK?

 Thanks again,

 Tris

 On Wednesday, 4 June 2014 13:54:47 UTC+1, Mickae1 wrote:

 yes on a linux pc.

 ( it will kill you to compile the kernel on the bbb . it already 
 takes time on the PC  )


 look at this command provided by Robert Nelson = 
 ./tools/install_kernel.sh ( something like that ).


 Micka,


 On Wed, Jun 4, 2014 at 2:50 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Thank you very much :)  

 I guess I need to do this on a linux pc, not the BBB?

 What do I do after doing all that to flash the new kernel onto a BBB?


 On Wednesday, 4 June 2014 13:28:51 UTC+1, Mickae1 wrote:

 With this command :

 git checkout origin/am33x-v3.8 -b tmp

 you will get the last kernel version of the branch 3.8 , which is 
 today; beaglebone 3.8.13-bone55

 Micka,


 On Wed, Jun 4, 2014 at 2:23 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Is this specific to 3.8.13-bone47 and the beagle bone black?


 On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips 
 tris.p...@gmail.com wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle 
 bone black and would like to apply a patch to 
 /sound/soc/davinci/davinci-evm.c.  I guess I need to recompile 
 the kernel.  Can someone tell me what I need to download from where 
 and the 
 steps I should follow to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@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...@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...@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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
So I have done all that, and the build is complete.  Ideally I would 
like to just replace the kernel on a working bbb with my patched one, 
rather than blat the box completely and have to manually install.  is that 
possible?

On Wednesday, 4 June 2014 13:56:20 UTC+1, Mickae1 wrote:

 We are here for that ;)


 On Wed, Jun 4, 2014 at 2:55 PM, Tristan Phillips tris.p...@gmail.com 
 javascript: wrote:

 Thank you very much for all your help.  I'll crack on with that and come 
 back if I have more questions if thats OK?

 Thanks again,

 Tris


 On Wednesday, 4 June 2014 13:54:47 UTC+1, Mickae1 wrote:

 yes on a linux pc.

 ( it will kill you to compile the kernel on the bbb . it already 
 takes time on the PC  )


 look at this command provided by Robert Nelson = 
 ./tools/install_kernel.sh ( something like that ).


 Micka,


 On Wed, Jun 4, 2014 at 2:50 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Thank you very much :)  

 I guess I need to do this on a linux pc, not the BBB?
  
 What do I do after doing all that to flash the new kernel onto a BBB?


 On Wednesday, 4 June 2014 13:28:51 UTC+1, Mickae1 wrote:

 With this command :

 git checkout origin/am33x-v3.8 -b tmp

 you will get the last kernel version of the branch 3.8 , which is 
 today; beaglebone 3.8.13-bone55

 Micka,


 On Wed, Jun 4, 2014 at 2:23 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Is this specific to 3.8.13-bone47 and the beagle bone black?


 On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips 
 tris.p...@gmail.com wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle 
 bone black and would like to apply a patch to 
 /sound/soc/davinci/davinci-evm.c.  I guess I need to recompile 
 the kernel.  Can someone tell me what I need to download from where 
 and the 
 steps I should follow to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@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...@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...@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...@googlegroups.com javascript:.
 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] Microphone Bias Voltage Level

2014-06-04 Thread Tristan Phillips
Is there a dummies guide to replacing a kernel on a BBB built with a 
flasher with a new one?

On Tuesday, 3 June 2014 17:58:20 UTC+1, lisarden wrote:

 I think you just need to recompile the kernel with the code provided. Then 
 you use alsamixer to tell which device captures sounds


 2014-06-03 20:51 GMT+04:00 Tristan Phillips tris.p...@gmail.com 
 javascript::

 Thank you, does that mean I need a device tree overlay that tells the 
 driver I'm using a mic as well as line in?

 Will I need to recompile the kernel to apply this patch?


 On Tuesday, 3 June 2014 17:48:15 UTC+1, lisarden wrote:

 Hi!

 diff --git a/sound/soc/davinci/davinci-evm.c 
 b/sound/soc/davinci/davinci-evm.c
 index 7ad7b37..e196aa5 100644
 --- a/sound/soc/davinci/davinci-evm.c
 +++ b/sound/soc/davinci/davinci-evm.c
 @@ -117,15 +117,13 @@ static const struct snd_soc_dapm_route audio_map[] = {
 {Line Out, NULL, RLOUT},
  
 /* Mic connected to (MIC3L | MIC3R) */
 -   {MIC3L, NULL, Mic Bias 2V},
 -   {MIC3R, NULL, Mic Bias 2V},
 -   {Mic Bias 2V, NULL, Mic Jack},
 +   {LINE2L, NULL, Mic Bias 2.5V},
 +   {LINE2R, NULL, Mic Bias 2.5V},
 +   {Mic Bias 2.5V, NULL, Mic Jack},
  
 /* Line In connected to (LINE1L | LINE2L), (LINE1R | LINE2R) */
 {LINE1L, NULL, Line In},
 -   {LINE2L, NULL, Line In},
 {LINE1R, NULL, Line In},
 -   {LINE2R, NULL, Line In},
  };




 2014-06-03 20:14 GMT+04:00 Tristan Phillips tris.p...@gmail.com:


 Hi,

 I'm wondering how I can set the mic bias voltage level on the Audio 
 Cape, it is currently off and I cannot get my mic to work.  Can I do this 
 via alsa or something similar?

 Thank you,

 Tris

 -- 
 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...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.




 -- 
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company
  
  -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company
  

-- 
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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Is it this:

Extract 3.8.13-bone55.2-dtbs.tar.gz to /boot/uboot/dtbs/
Extract 3.8.13-bone55.2-firmware.tar.gz to /lib/firmware/
Extract 3.8.13-bone55.2-modules.tar.gz to /lib/modules
End mv 3.8.13-bone55.2.zImage to /boot/uboot/zImage

That accounts for all files in deploy...

?

On Wednesday, 4 June 2014 17:52:29 UTC+1, Tristan Phillips wrote:

 So I have done all that, and the build is complete.  Ideally I would 
 like to just replace the kernel on a working bbb with my patched one, 
 rather than blat the box completely and have to manually install.  is that 
 possible?

 On Wednesday, 4 June 2014 13:56:20 UTC+1, Mickae1 wrote:

 We are here for that ;)


 On Wed, Jun 4, 2014 at 2:55 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Thank you very much for all your help.  I'll crack on with that and come 
 back if I have more questions if thats OK?

 Thanks again,

 Tris


 On Wednesday, 4 June 2014 13:54:47 UTC+1, Mickae1 wrote:

 yes on a linux pc.

 ( it will kill you to compile the kernel on the bbb . it already 
 takes time on the PC  )


 look at this command provided by Robert Nelson = 
 ./tools/install_kernel.sh ( something like that ).


 Micka,


 On Wed, Jun 4, 2014 at 2:50 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Thank you very much :)  

 I guess I need to do this on a linux pc, not the BBB?
  
 What do I do after doing all that to flash the new kernel onto a BBB?


 On Wednesday, 4 June 2014 13:28:51 UTC+1, Mickae1 wrote:

 With this command :

 git checkout origin/am33x-v3.8 -b tmp

 you will get the last kernel version of the branch 3.8 , which is 
 today; beaglebone 3.8.13-bone55

 Micka,


 On Wed, Jun 4, 2014 at 2:23 PM, Tristan Phillips tris.p...@gmail.com
  wrote:

 Is this specific to 3.8.13-bone47 and the beagle bone black?


 On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips 
 tris.p...@gmail.com wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle 
 bone black and would like to apply a patch to 
 /sound/soc/davinci/davinci-evm.c.  I guess I need to recompile 
 the kernel.  Can someone tell me what I need to download from where 
 and the 
 steps I should follow to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@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...@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...@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...@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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Great :) Sorry for being a muppet, but I'm running the BBB off the internal 
flash.  I have done the build on a linux box.  Would I copy the resultant 
build folder to the BBB and run the /tools/installkernel.sh on the BBB?

Sorry, I feel like a right idiot!

On Wednesday, 4 June 2014 18:43:15 UTC+1, Mickae1 wrote:

 No need to do it manually thx to Robert = ./tools/installkernel.sh 
 (something like that)


 On Wed, Jun 4, 2014 at 6:52 PM, Tristan Phillips tris.p...@gmail.com 
 javascript: wrote:

 So I have done all that, and the build is complete.  Ideally I would 
 like to just replace the kernel on a working bbb with my patched one, 
 rather than blat the box completely and have to manually install.  is that 
 possible?

 On Wednesday, 4 June 2014 13:56:20 UTC+1, Mickae1 wrote:

 We are here for that ;)


 On Wed, Jun 4, 2014 at 2:55 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Thank you very much for all your help.  I'll crack on with that and 
 come back if I have more questions if thats OK?

 Thanks again,

 Tris


 On Wednesday, 4 June 2014 13:54:47 UTC+1, Mickae1 wrote:

 yes on a linux pc.

 ( it will kill you to compile the kernel on the bbb . it already 
 takes time on the PC  )


 look at this command provided by Robert Nelson = 
 ./tools/install_kernel.sh ( something like that ).


 Micka,


 On Wed, Jun 4, 2014 at 2:50 PM, Tristan Phillips tris.p...@gmail.com 
 wrote:

 Thank you very much :)  

 I guess I need to do this on a linux pc, not the BBB?
  
 What do I do after doing all that to flash the new kernel onto a BBB?


 On Wednesday, 4 June 2014 13:28:51 UTC+1, Mickae1 wrote:

 With this command :

 git checkout origin/am33x-v3.8 -b tmp

 you will get the last kernel version of the branch 3.8 , which is 
 today; beaglebone 3.8.13-bone55

 Micka,


 On Wed, Jun 4, 2014 at 2:23 PM, Tristan Phillips 
 tris.p...@gmail.com wrote:

 Is this specific to 3.8.13-bone47 and the beagle bone black?


 On Wednesday, 4 June 2014 13:09:57 UTC+1, Mickae1 wrote:

 There =

 git clone https://github.com/RobertCNelson/bb-kernel.git
 cd bb-kernel/
 git checkout origin/am33x-v3.8 -b tmp
 ./build_kernel.sh

 edit the files that you want
 then =

 tools/rebuild.sh


 Micka,


 On Wed, Jun 4, 2014 at 1:35 PM, Tristan Phillips 
 tris.p...@gmail.com wrote:

 Hi,

 I'm running Robert Nelson's Linux arm 3.8.13-bone47 on a beagle 
 bone black and would like to apply a patch to 
 /sound/soc/davinci/davinci-evm.c.  I guess I need to recompile 
 the kernel.  Can someone tell me what I need to download from where 
 and the 
 steps I should follow to achieve this?

 Robert, are you out there? ;)

 Thanks,

 Tris
  
 -- 
 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...@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...@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...@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...@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...@googlegroups.com javascript:.
 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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Cheers Robert :) 

If I wanted to maybe mod a flasher SD card with the new kernel, and then 
reflash, would that be easier?

On Wednesday, 4 June 2014 19:00:28 UTC+1, RobertCNelson wrote:

 On Wed, Jun 4, 2014 at 12:58 PM, Tristan Phillips 
 tris.p...@gmail.com javascript: wrote: 
  Great :) Sorry for being a muppet, but I'm running the BBB off the 
 internal 
  flash.  I have done the build on a linux box.  Would I copy the 
 resultant 
  build folder to the BBB and run the /tools/installkernel.sh on the BBB? 
  
  Sorry, I feel like a right idiot! 

 There's so simple way, other then coping the built files from your pc 
 and extracting them on the bbb while running from eMMC.. 

 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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Nice one :)

Yeap, and for a hint. Take the current non-flashing debian image  - OK 
with Ubuntu too?

install your kernel - by running tools/installkernel.sh on the pc with 
the SD card plugged in?

Feel like I'm getting closer :)  Thanks!


On Wednesday, 4 June 2014 19:08:15 UTC+1, RobertCNelson wrote:

 On Wed, Jun 4, 2014 at 1:04 PM, Tristan Phillips 
 tris.p...@gmail.com javascript: wrote: 
  Cheers Robert :) 
  
  If I wanted to maybe mod a flasher SD card with the new kernel, and 
 then 
  reflash, would that be easier? 

 Yeap, and for a hint. Take the current non-flashing debian image 

 http://beagleboard.org/latest-images 

 flash it to a microSD card, install your kernel, test that it works then.. 

 sudo touch /boot/uboot/flash-eMMC.txt 
 sync 
 (sudo halt) 

 on the next boot/reboot/etc... It'll flash the eMMC.. 

 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] Apply a patch to 3.8.13-bone47 and recompile kernel

2014-06-04 Thread Tristan Phillips
Thank you :)

On Wednesday, 4 June 2014 19:15:03 UTC+1, RobertCNelson wrote:

 On Wed, Jun 4, 2014 at 1:12 PM, Tristan Phillips 
 tris.p...@gmail.com javascript: wrote: 
  Nice one :) 
  
  Yeap, and for a hint. Take the current non-flashing debian image  - 
 OK 
  with Ubuntu too? 

 With this one: (it's the exact same rsync based script as in debian) 

 http://elinux.org/BeagleBoardUbuntu#BeagleBone.2FBeagleBone_Black 

  install your kernel - by running tools/installkernel.sh on the pc with 
 the 
  SD card plugged in? 

 yeap, or if you get stuck, look at: 

 http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-CopyKernelFiles
  

 for hints. 

 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] Microphone Bias Voltage Level

2014-06-03 Thread Tristan Phillips

Hi,

I'm wondering how I can set the mic bias voltage level on the Audio Cape, 
it is currently off and I cannot get my mic to work.  Can I do this via 
alsa or something similar?

Thank you,

Tris

-- 
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] Microphone Bias Voltage Level

2014-06-03 Thread Tristan Phillips
Thank you, does that mean I need a device tree overlay that tells the 
driver I'm using a mic as well as line in?

Will I need to recompile the kernel to apply this patch?

On Tuesday, 3 June 2014 17:48:15 UTC+1, lisarden wrote:

 Hi!

 diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
 index 7ad7b37..e196aa5 100644
 --- a/sound/soc/davinci/davinci-evm.c
 +++ b/sound/soc/davinci/davinci-evm.c
 @@ -117,15 +117,13 @@ static const struct snd_soc_dapm_route audio_map[] = {
   {Line Out, NULL, RLOUT},
  
   /* Mic connected to (MIC3L | MIC3R) */
 - {MIC3L, NULL, Mic Bias 2V},
 - {MIC3R, NULL, Mic Bias 2V},
 - {Mic Bias 2V, NULL, Mic Jack},
 + {LINE2L, NULL, Mic Bias 2.5V},
 + {LINE2R, NULL, Mic Bias 2.5V},
 + {Mic Bias 2.5V, NULL, Mic Jack},
  
   /* Line In connected to (LINE1L | LINE2L), (LINE1R | LINE2R) */
   {LINE1L, NULL, Line In},
 - {LINE2L, NULL, Line In},
   {LINE1R, NULL, Line In},
 - {LINE2R, NULL, Line In},
  };




 2014-06-03 20:14 GMT+04:00 Tristan Phillips tris.p...@gmail.com 
 javascript::


 Hi,

 I'm wondering how I can set the mic bias voltage level on the Audio Cape, 
 it is currently off and I cannot get my mic to work.  Can I do this via 
 alsa or something similar?

 Thank you,

 Tris

 -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company
  

-- 
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] Disable BB-BONELT-HDMI using uEnv

2014-04-25 Thread Tristan Phillips
 

I'm rather confused.  I cannot seem to disable BB-BONELT-HDMI using the 
uEnv capemgr.disable_partno optargs arg.

My uEnv.txt line looks like this: 
optargs=capemgr=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

but:

root@StockBBB:~#* cat /sys/devices/bone_capemgr.9/slots*

 1: 55:PF---

 2: 56:PF--- 

 3: 57:PF--- 

 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G

 5: ff:P-O-*L* Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI

Yet I can see the uEnv was read:

root@StockBBB:~# *cat /proc/cmdline *

console=ttyO0,115200n8 
*capemgr=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN*root=UUID=458951f9-fd96-459c-b1a3-6f2300e0fa58
 ro rootfstype=ext4 rootwait 
fixrtc ip=

Does anybody have any ideas?

As a side question, the firmware for things like the BB-BONE-AUD-01 are 
apparently compiled into the kernel now.  How could I force the dtbo to be 
loaded from a file?

Thanks in advance for any help.

Tris

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