Hi Alan,
There is a patch after March, 6th (commit 9bf23ea262), that removes the
symbol spi1_pins_s0 from am335x-bone-common.dtsi
The patch name is:
0115-am335x-bone-common-Remove-SPI-unused-pinmux-config.patch
Now the command is working, and I can see the mrf24j40 print debug. One
more step :)
Thank you a lot
Best regards,
Joao Paulo
2013/3/25 Alan Ott <a...@signal11.us>
> On 03/25/2013 04:48 AM, João Paulo Bodanese wrote:
>
> Hi Alan,
>
> I am starting this new thread to do not disturb that one from the
> compilation error.
>
> I'm following the steps you told me to load the MRF24J40.
>
> After board power up, I am getting problem below when running the command:
> echo BB-BONE-MRF24J40 >/sys/devices/bone_capemgr.7/slots
>
> [ 30.143448] bone-capemgr bone_capemgr.7: part_number
> 'BB-BONE-MRF24J40', version 'N/A'
> [ 30.153341] bone-capemgr bone_capemgr.7: slot #4: specific override
> [ 30.160081] bone-capemgr bone_capemgr.7: bone: Using override eeprom
> data at slot 4
> [ 30.168118] bone-capemgr bone_capemgr.7: slot #4:
> 'Bone-MRF24J40,00A0,Signal 11 Softwa,BB-BONE-MRF24J40'
> [ 30.178582] bone-capemgr bone_capemgr.7: slot #4: Requesting firmware
> 'cape-bone-mrf24j40-00A0.dtbo' for board-name 'Bone-MRF24J40', version
> '00A0'
> [ 30.196039] bone-capemgr bone_capemgr.7: slot #4: dtbo
> 'cape-bone-mrf24j40-00A0.dtbo' loaded; converting to live tree
> [ 30.207704] of_resolve: Could not find symbol 'spi1_pins_s0'
> [ 30.213751] bone-capemgr bone_capemgr.7: slot #4: Failed to resolve tree
> -sh: echo: write error: Invalid argument
>
>
> I double checked my patched files and they are correctly.
>
>
> What version of everything are you running? Maybe something changed in the
> .dtsi (arch/arm/boot/dts/am33x*)
>
> Check that and see if you can find out why spi1_pins_s0 is failing.
>
> Alan.
>
>
>
> Thank you again,
>
> Best regards,
> Joao Paulo
>
>
> --------------------------------------------------------------------------------------------------
>
> 2013/3/18 Alan Ott <a...@signal11.us>
> On 03/18/2013 04:45 AM, João Paulo Bodanese wrote:
> > I am trying to set up the demo that Alan presented at Linux Conference
> > Europe 2012.
> > I have already installed the 3.7-rc2 Linux kernel in the BeagleBone
> > with all the patches that its described in his website.
>
> Hi João,
>
> At this point you're best off doing something slightly different than
> that, which I'll describe.
>
> Grab the BeagleBone 3.8 kernel, which already has Tony's patches in it:
> https://github.com/beagleboard/kernel/tree/3.8
>
> Apply these patches to it:
> http://www.signal11.us/~alan/patches/patches-joao.tar.gz
> (btw, those were sent to next-next just a minute ago)
>
> Also apply this one:
> http://www.signal11.us/~alan/patches/bone-dt-cape-override.diff
>
> Install the linux-zigbee userspace tools from source:
> 1. extract libnl (I'm using 3.2.7) and linux-zigbee userspace tools (use
> the ones from git) side-by-side.
>
> 2. Build libnl with:
> ./configure --prefix=$PWD/../out --host=arm-linux
> make
>
> 3. Build linux-zigbee userspace tools with:
> LDFLAGS=-L$PWD/../out/lib ./configure \
> --prefix=$PWD/../out --host=arm-linux
> make
>
> 4. Output files will be in out/ . Copy these to your BeagleBone.
>
> Connect your mrf24j40ma to SPI1 (CS0), and connect the INT pin to
> GPIO1_29 (see my DT file, patch 0001).
>
> Once the Bone is running, load the DT for the MRF24J40:
> echo BB-BONE-MRF24J40 >/sys/devices/bone_capemgr.7/
>>
>> slots
>>
>> Then run this setup script:
>> http://www.signal11.us/~alan/patches/setup
>>
>> I'll get this stuff up on the website soon, as it's a popular question.
>> Or if you have time (all you need is a souceforge account)....
>>
>> > My question is how to install the linux-zigbee userspace tools in the
>> > BeagleBone node? Is there a recipe to install it in the Angstron?
>>
>> Not that I know of. Feel free to find out for sure and let us know.
>>
>> Alan.
>
>
>
>
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel