[beagleboard] Re: MCP2515 SPI CAN

2016-12-23 Thread rickyc8888
Hi Travis, Thanks for the reply. The problem was with the driver, the MCP251x drivers that came with 4.4.30-ti-r64 kernel are not compatible. I got a new driver and now I can bring the CAN bus online. But other problems now came up. Whenever I tried to send with cansend, I got a TXWAR/EP

Re: [beagleboard] Boot stopped at "A start job is running for dev-mmcb...\xc2\xa0.device"

2016-12-07 Thread rickyc8888
On Wednesday, December 7, 2016 at 10:57:00 PM UTC+8, RobertCNelson wrote: > On Wed, Dec 7, 2016 at 8:49 AM, wrote: > > Hi, > > > > I built the kernel "4.8.12-bone2" using Mr Nelson's source and scripts and > > downloaded it to the Sdcard together with the file system > >

[beagleboard] Boot stopped at "A start job is running for dev-mmcb...\xc2\xa0.device"

2016-12-07 Thread rickyc8888
Hi, I built the kernel "4.8.12-bone2" using Mr Nelson's source and scripts and downloaded it to the Sdcard together with the file system "debian-8.6-bare-armhf-2016-09-17", following the instructions on "https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot;.

Re: [beagleboard] Startup Scripts

2016-12-01 Thread rickyc8888
Hi Peter, Thanks for the template! On Wednesday, November 30, 2016 at 12:36:37 PM UTC+8, Peter Lawler wrote: > > > > On 28/11/16 22:43, ricky...@gmail.com wrote: > > Hi, > > > > I am trying to run some simple startup shell scripts when the system > boots. > > Hi, > If you're after a

[beagleboard] MCP2515 SPI CAN

2016-11-29 Thread rickyc8888
Hi, I am trying to get an MCP2515 running on SPI1.0. I can successfully load the .dtbo, found the device under /sys/bus/spi/devices/spi1.0, but couldn't seem to get the CAN bus running. Does anyone know if the driver is already compiled into the kernel? Or if I need to do something to

[beagleboard] Re: Startup Scripts

2016-11-29 Thread rickyc8888
Hi Stephane, Yes crontab will work. I've also found that rc.local did run only for some reasons it couldn't execute my scripts, I'd look into that further. Thanks for the help! On Tuesday, November 29, 2016 at 2:15:34 AM UTC+8, Stephane Charette wrote: > > I am trying to run some simple

[beagleboard] Startup Scripts

2016-11-28 Thread rickyc8888
Hi, I am trying to run some simple startup shell scripts when the system boots. It used to be an easy task by putting the script in /etc/init.d. But now with systemd I have no idea how this can be done. I've tried to put them in etc/rc.local, etc/init.d, but the scripts don't seem to run. I've

[beagleboard] dtc syntax error

2016-11-26 Thread rickyc8888
Dear all, I am using the latest version of Debian on the Black: "Linux beaglebone 4.4.30-ti-r64 #1 SMP Fri Nov 4 21:23:33 UTC 2016 armv7l GNU/Linux" My dtc version is "DTC 1.4.1-g1e75ebc9" I am using the "misc cape" board from WaveShare. They have provided several .dts files for the

Re: [beagleboard] Where is the MLO and u-boot.img

2014-12-11 Thread rickyc8888
Hi Robert. Thanks for your info. When you make partitions using sfdisk, where is the info written? Would the info overwrite the memory area of MLO or boot.img? I have a problem when using this image. At boot I always get this message : [ 10.379089] libphy: PHY 4a101000.mdio:01 not found [

Re: [beagleboard] Where is the MLO and u-boot.img

2014-12-08 Thread rickyc8888
Yes, a lot of things on Linux looks like voodoo magic, and so many mysterious codes lying everywhere :) That said, can you point me to the place where I can learn how that was done, and the complete boot mechanism of the BBB? I am trying to learn the boot process(among other things) of the BBB