2nd thought, the uart conflicts..
so disable:
#include "am335x-bone-basic-proto-cape.dtsi"
->
/* #include "am335x-bone-basic-proto-cape.dtsi" */
Then add spi0:
#include "am335x-bone-spi0-spidev.dtsi"
Then spi1:
#include "am335x-bone-spi1-spidev.dtsi"
or
#include "am335x-bone-spi1a-spidev.dtsi"
then make/sudo make install/sudo reboot
root@arm:~# cat /boot/uEnv.txtOr something similar.
uname_r=3.8.13-bone64.1
cmdline=quiet init=/lib/systemd/systemd
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
--
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.
How would you guys feel about nuking that fat16 "boot" partition. ;)
done ;)
dd if=MLO of=/dev/sdX count=1 seek=1 conv=notrunc bs=128k
dd if=u-boot.img of=/dev/sdX count=2 seek=1 conv=notrunc bs=384k
only works on omap4+ bootrom's (so the old omap34xx/omap36xx family is out)
I'm close to rolling out a new testing image that uses this feature..
The flasher gets more interesting as i need to remember to include the
MLO/u-boot.img somewhere in the ext4 partition for later flashing..
OK, so I think I got that figured out. Was not familiar with "seek", but am now. So what about uEnv.txt ?
/boot/uEnv.txt can be in any partition ( /dev/mmcblkXp1 -> /dev/mmcblkXp7* )7: is the usual max enabled by default for most normal mmc host controllers in linux.
Regards,Right, I get that, but in the case of NFS rootfs, how is uboot supposed to know to look over an NFS share ?
--
That's why we've been moving every "critical" file out of that partition.
For the official lxde image, the fat partition will still be there,
but NO critical boot files will exist in. (a windows user can add a
'uEnv.txt/boot.scr/boot/boot.
scr' and it will change the boot..
"In" theory, windows users should be able to re-format the drive too,
when it's shown in windows over the usb-gadget connection.
That's why we've been moving every "critical" file out of that partition.
For the official lxde image, the fat partition will still be there,
but NO critical boot files will exist in. (a windows user can add a
'uEnv.txt/boot.scr/boot/boot.scr' and it will change the boot..
"In" theory, windows users should be able to re-format the drive too,
when it's shown in windows over the usb-gadget connection.It is kind of sad that this is even necessary. In the context that the BBB is a dev board, and as such *some* knowledge / common sense should be implied.
On Tuesday, 2 September 2014 16:15:58 UTC-7, William Hermans wrote:Jason,/boot/uboot should have been nothing more than a mount point for /dev/mmcblk0p1. Which is the fat16 formatted partition that u-boot.img, MLO, and uEnv.txt reside.
For a while the fat16 partition was mounted at /boot/uboot so that the kinds of things that frequently go in boot like different kernel images could be kept there without filling up the tiny FAT16 partition (similar to /boot/efi).
The factory images from May which are labeled "BeagleBoard.org Latest Firmware Images" are that way. From /etc/fstab: "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0".
Scripts that manipulate /boot should take this possibility into account.
2nd thought, the uart conflicts..
so disable:
#include "am335x-bone-basic-proto-cape.dtsi"
->
/* #include "am335x-bone-basic-proto-cape.dtsi" */
Then add spi0:
#include "am335x-bone-spi0-spidev.dtsi"
Then spi1:
#include "am335x-bone-spi1-spidev.dtsi"
or
#include "am335x-bone-spi1a-spidev.dtsi"
then make/sudo make install/sudo reboot
--
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/_qhb4wumgpU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
all did not complain but no joy.
/dev/spidev1.[0/1] is enabled by:
https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L102
as that enables:
#include "am335x-bone-spi0-spidev.dtsi"
root@beaglebone:/# cat /boot/uEnv.txt |egrep -v '^(#|$)'
uname_r=4.1.0-rc6-bone6
cmdline=quiet init=/lib/systemd/systemd
bone_capemgr.enable_partno=BB-SPIDEV0
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
Kernel with CONFIG_BONE_CAPEMGR support:
zcat /proc/config.gz | grep CONFIG_BONE_CAPEMGR
CONFIG_BONE_CAPEMGR=y