[beagleboard] Beaglebone black does not stop at autoboot

2016-06-25 Thread Mrigendra Chaubey
Hi all, I have a couple of questions before I start asking any specific questions. 1) Does BBB is made keeping in mind windows users? 2) I wanted to boot from my sd card, after compiling u-boot, kernel, and android . Is there any step by step instructions that tells how to do it? I am using

[beagleboard] trying to boot from sd card

2016-07-22 Thread Mrigendra Chaubey
Hi all, I am trying to boot from sd card by holding S2 button. All I can see on gtkterm is C... printing. Is it trying take images from SD to get flashed in emmc? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the

[beagleboard] pin mux settings in uboot and kernel

2016-07-27 Thread Mrigendra Chaubey
Hi all, I am trying to understand how pin muxing is done in BBB in u-boot and kernel.My u boot version is and kernel version is 3.8. I came to know about some files that contain mux settings, /board/ti/am335x/mux.c /arch/arm/include/asm/arch-am33xx/mux.h

[beagleboard] Understanding of how to multiplex pins on Beaglebone black

2016-07-24 Thread Mrigendra Chaubey
I want to know how to pin multiplex pins in initial phase of boot i.e is in spl(MLO). What I am trying to do is change the default pin configuration to gpio one, so that I can see high or low on the pin. On P8 header I tried to change the mode 0 from default 'TIMER4' to gpio2[2] i.e mode 7.

[beagleboard] Re: Beaglebone black is not enumerating as ttyUSB0

2016-07-21 Thread Mrigendra Chaubey
yes the issue was with uart cable. I don't have any debugger to see what is the problem but replacing it worked. On Tuesday, July 19, 2016 at 4:56:48 PM UTC+5:30, epcm...@gmail.com wrote: > > The circuitry for the USB to UART cable is in the USB plug of the cable, > so it should enumerate as

[beagleboard] Can't see kern.log

2017-01-09 Thread Mrigendra Chaubey
Hi all, I am a newbie and following a number of forums to learn kernel programming such as drivers, pin multilexing without using overlays or device tree because I was comfortable with the previous kernel. Kernel version is 3.8. Well the small problem I am having is I am using extra folder of

[beagleboard] How to use KGDB

2017-04-01 Thread Mrigendra Chaubey
My setup one beaglebone black one usb to serial cable connected on proper uart header properly compiled kernel , vmlinux, uImage, uboot.bin, MLO, device tree binary booting through uSD card beaglebone_defconfig added these lines CONFIG_HAVE_ARCH_KGDB=y CONFIG_KGDB=y

[beagleboard] Device tree compiler throws error dtc: invalid option — '@'

2017-10-05 Thread Mrigendra Chaubey
Hi All, I am trying to compile an overlay and use it for study purpose but I am not able to compile an overlay. For example I took an example device tree overlay from derek molloy blog git clone git://github.com/derekmolloy/boneDeviceTree.git and now I have a directory with a name

[beagleboard] i2cdump shows all as xx xx xx with adxl345 sensor board.

2017-10-06 Thread Mrigendra Chaubey
Hi all, I have a bbb,

Re: [beagleboard] i2cdump shows all as xx xx xx with adxl345 sensor board.

2017-10-06 Thread Mrigendra Chaubey
> > I was at mistake > I did echo adxl345_i2c 0x53 > /sys/bus/i2c/devices/i2c-2/new_device in dmesg [ 110.747301] i2c i2c-2: new_device: Instantiated device adxl345_i2c at 0x53 [ 308.580190] i2c i2c-2: Failed to register i2c client adxl345_i2c at 0x53 (-16) > -- For more options,

[beagleboard] linux kernel not booting stops at "starting kernel"

2017-10-08 Thread Mrigendra Chaubey
uEnv.txt *console=ttyS0,115200n8* *netargs=setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait debug earlyprintk mem=256M* *netboot=echo Booting from Network ...; setenv autoload no ; load mmc 0:1 ${loadaddr} uImage ; load mmc 0:1 ${fdtaddr}

[beagleboard] Re: linux kernel not booting stops at "starting kernel"

2017-10-09 Thread Mrigendra Chaubey
Is something wrong with the question? -- 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] How to boot bb kernel 4.4 in beaglebone black

2017-10-10 Thread Mrigendra Chaubey
I have booted kernel 3.8 but not able to boot kernel 4.4. uEnv.txt *console=ttyS0,115200n8* *netargs=setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait debug earlyprintk mem=256M* *netboot=echo Booting from Network ...; setenv autoload no ; load mmc 0:1

Re: [beagleboard] I need a tutorial for how to boot prepare a sd card boot image

2017-10-14 Thread Mrigendra Chaubey
I don't know if I am doing the right thing that's why I am posting questions. -- 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

Re: [beagleboard] I need a tutorial for how to boot prepare a sd card boot image

2017-10-14 Thread Mrigendra Chaubey
yes, i didn't followed instructions, for cross compiler. I already have a cross compiler that I am using and that builds u-boot. A couple of more questions, I took this kernel *For am33x-v4.4 (Longterm 4.4.x): * There is another thing on this site *1. TI BSP* What its for? 2. I took this

Re: [beagleboard] I need a tutorial for how to boot prepare a sd card boot image

2017-10-14 Thread Mrigendra Chaubey
also why would I use TI's BSP? Is it important for a first timer? -- 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

Re: [beagleboard] I need a tutorial for how to boot prepare a sd card boot image

2017-10-14 Thread Mrigendra Chaubey
Why i asked this because except I am downloading kernel from Robert's repository I don't know where beaglebone configs are selected. I can only see the soc name like am3xx but no where in configs beaglebone or anything that does not confuse a first timer sure that he is doing the right thing.

Re: [beagleboard] I need a tutorial for how to boot prepare a sd card boot image

2017-10-14 Thread Mrigendra Chaubey
I am at menuconfig menu in terminal, I don't know where is bb.org_defconfig. Which configuration I choose for .config file to get booted on my BBB. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups

[beagleboard] Re: Not able to detect a new adxl345 i2c device with driver

2017-10-15 Thread Mrigendra Chaubey
I got this, my driver name was adxl_i2c my device name was adxl345 instantiating correct device made my probe function work right away. Now I will try to do it device tree way. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] Not able to detect a new adxl345 i2c device with driver

2017-10-15 Thread Mrigendra Chaubey
Hi all, I am stuck at this, 4.4.92-bone-rt-r19 /home/nikhil/bbblatest/bb-kernel/KERNEL/drivers/iio/accel/adxl345_core.c /home/nikhil/bbblatest/bb-kernel/KERNEL/drivers/iio/accel/adxl345_i2c.c I compiled this driver as a module, and *echo adxl345_i2c 0x53 >

Re: [beagleboard] I need a tutorial for how to boot prepare a sd card boot image

2017-10-14 Thread Mrigendra Chaubey
> > took u-boot just now from this tutorial, > > two problems I see while compiling > > *Your GCC is older than 6.0 and will not be supported starting in > v2018.01.* > > and > > *lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch* > > Why such errors? > Can't we use older

Re: [beagleboard] Device tree compiler throws error dtc: invalid option — '@'

2017-10-05 Thread Mrigendra Chaubey
Hi Robert, I am using kernel 3.8.13. Regards, Mrigendra On Thursday, October 5, 2017 at 8:22:30 PM UTC+5:30, RobertCNelson wrote: > > On Thu, Oct 5, 2017 at 1:51 AM, Mrigendra Chaubey > <mrigendr...@gmail.com > wrote: > > Hi All, > > > > > > > &

Re: [beagleboard] Device tree compiler throws error dtc: invalid option — '@'

2017-10-05 Thread Mrigendra Chaubey
I am first trying to compile a device tree overlay, in my ubuntu 14.04. The overlay I am compiling for, is beaglebone black kernel 3.8 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To

Re: [beagleboard] Device tree compiler throws error dtc: invalid option — '@'

2017-10-05 Thread Mrigendra Chaubey
> > Yes that works. Many 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

Re: [beagleboard] Device tree compiler throws error dtc: invalid option — '@'

2017-10-05 Thread Mrigendra Chaubey
> > One small question that is not related to upper discussion. On beaglebone, i2c-2 instance,that is on pins p9_19 and p9_20. Is this mapped as i2c1? If this is already mapped, why do I(or people) need to create an overlay file?Its already there. Also if I do create an overlay file and

[beagleboard] I need a tutorial for how to boot prepare a sd card boot image

2017-10-14 Thread Mrigendra Chaubey
Hi All, I need a tutorial to boot linux in bbb. I have booted 3.8 I have rootfs and boot partition I have booted using a prebuild debian image I see there is only one rootfs iin debian image why there is difference between having boot and rootfs vs a single rootfs folder. I want to use latest

[beagleboard] Trying to compile adxl345 as a module in bbb but get error

2017-10-07 Thread Mrigendra Chaubey
Hi all, I have downloaded a debian image *Debian 8.7 2017-03-19 4GB SD LXQT * I have attached a adxl345 accelerometer, and with user space tools its working fine. Now I am trying to attach a kernel

Re: [beagleboard] Nont able to use overlay at boot time

2017-11-07 Thread Mrigendra Chaubey
or directory slots file itself is not present now. On Wednesday, November 8, 2017 at 2:10:12 AM UTC+5:30, RobertCNelson wrote: > > On Tue, Nov 7, 2017 at 2:32 PM, Mrigendra Chaubey > <mrigendr...@gmail.com > wrote: > > Hi All, > > > > I face this problem of no

[beagleboard] Nont able to use overlay at boot time

2017-11-07 Thread Mrigendra Chaubey
Hi All, I face this problem of not being able to make overlay work at boot time.I checked these threads, https://stackoverflow.com/questions/17768714/bbb-automatically-load-a-device-tree-overlay-on-boot https://groups.google.com/forum/#!msg/beagleboard/jYpYHZPl1ig/90BPMxxhWLMJ and I added

Re: [beagleboard] Nont able to use overlay at boot time

2017-11-07 Thread Mrigendra Chaubey
trying to just make it work somehow. Which source files or functions would be best to start? I just need a direction from where I can start. On Wednesday, November 8, 2017 at 10:48:54 AM UTC+5:30, RobertCNelson wrote: > > > > On Nov 7, 2017 10:49 PM, "Mrigendra Chaubey"

Re: [beagleboard] device tree overlay does not load while booting up

2018-05-14 Thread Mrigendra Chaubey
, RobertCNelson wrote: > > On Sun, May 13, 2018 at 4:06 PM, Mrigendra Chaubey > <mrigendr...@gmail.com > wrote: > > root@arm:~# /opt/scripts/tools/version.sh > > git:/opt/scripts/:[ef2c5982e3788e07d9ec4a3d23089dc5e5a3f9cd] > > eeprom:[A335BNLT00C05315BBBK054D] >

[beagleboard] Re: device tree overlay does not load while booting up

2018-05-14 Thread Mrigendra Chaubey
, Mrigendra Chaubey wrote: > > *root@arm:~# /opt/scripts/tools/version.sh* > git:/opt/scripts/:[ef2c5982e3788e07d9ec4a3d23089dc5e5a3f9cd] > eeprom:[A335BNLT00C05315BBBK054D] > model:[TI_AM335x_BeagleBone_Black] > bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.03-d

[beagleboard] device tree overlay does not load while booting up

2018-05-13 Thread Mrigendra Chaubey
*root@arm:~# /opt/scripts/tools/version.sh* git:/opt/scripts/:[ef2c5982e3788e07d9ec4a3d23089dc5e5a3f9cd] eeprom:[A335BNLT00C05315BBBK054D] model:[TI_AM335x_BeagleBone_Black] bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.03-dirty] bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot

[beagleboard] U-boot does not silence its output

2018-10-07 Thread Mrigendra Chaubey
Its not a beagle board but just regular uboot functionality I am trying to understand. I have this uboot VERSION = 2017 PATCHLEVEL = 03 I am trying to silent the console using the silent variable.I defined this `#define CONFIG_SILENT_CONSOLE` So at boot time I am interrupting the