[<<][am335x][>>][..]
Mon May 7 07:19:31 EDT 2018

PRU enable

Add a place to put the device tree config.  We don't need overlays,
since configuration will be fixed per board.

Simplest here is to put it in the linux git.  Or maintain it as patch
or file that is copied into the tree.  The latter seems better as it
doesn't require maintenance of yet another large linux repo.

tom@buildroot:~/gw_buildroot/target/bbb$ find -name am335x-boneblack.dts
./build/linux-headers-4a10a494f997b8082afb37fcad1a8da62f28d865/arch/arm/boot/dts/am335x-boneblack.dts
./build/uboot-2018.01/arch/arm/dts/am335x-boneblack.dts
./build/linux-4a10a494f997b8082afb37fcad1a8da62f28d865/arch/arm/boot/dts/am335x-boneblack.dts

Now, why does uboot have its own?  Maybe it needs some information as
well?  It would be nice go get a final answer on that.  For now it
seems best to just focus on what is found in the linux tree.

OTOH, placing it inside the tree makes it easier to build the kernel
separately for incremental updates.  I'm going to need to change this
a couple of times, so maybe better to "host" it somewhere else.

Or, can I have a single linux repository?  EDIT: Doesn't need to be
solved right now.

Incremental setup:
- buildroot:cross/Makefile has linux-hatd-octavo target
- dts modifications are in cross/am335x-boneblack.dts


tom@buildroot:~/cross$ ~/gw_buildroot/target/bbb/host/bin/dtc linux-hatd-octavo/arch/arm/boot/dts/am335x-boneblack.dtb


Added these:

/ {
	ocp {
		pruss_soc_bus@4a326000 {
			status = "okay";
			pruss@4a300000 {
				status = "okay";
				pru@4a334000 {
					status = "okay";
				};
				pru@4a338000 {
					status = "okay";
				};
			};
		};
	};
};
# cat /sys/devices/platform/ocp/4a326000.pruss-soc-bus/of_node/status 
okay

but the rest is not there?
# cd /sys/devices/platform/ocp/
# find -name '*pru*'
./4a326000.pruss-soc-bus
./480c8000.mailbox/mbox/mbox_pru1
./480c8000.mailbox/mbox/mbox_pru0


on the pocket1:

Not there either..

WTF am I missing?

Let's bring up the other bbb in Debian 4.9




[Reply][About]
[<<][am335x][>>][..]