sudo chmod ugo+w
ubuntu@arm:/sys/devices/bone_capemgr.9$ ls -altotal 0drwxr-xr-x 6 root root 0 Jan 1 2000 .drwxr-xr-x 14 root root 0 Jan 1 2000 ..drwxr-xr-x 2 root root 0 Aug 6 23:12 baseboardlrwxrwxrwx 1 root root 0 Aug 6 23:12 driver -> ../../bus/platform/drivers/bone-capemgr-r--r--r-- 1 root root 4096 Aug 6 23:12 modaliasdrwxr-xr-x 2 root root 0 Aug 6 23:12 powerdrwxr-xr-x 2 root root 0 Aug 6 23:12 slot-4drwxr-xr-x 2 root root 0 Aug 6 23:12 slot-5-rw-rw-rw- 1 root root 4096 Aug 6 23:20 slotslrwxrwxrwx 1 root root 0 Jan 1 2000 subsystem -> ../../bus/platform-rw-r--r-- 1 root root 4096 Jan 1 2000 uevent
ubuntu@arm:/sys/devices/bone_capemgr.9$ cat slots 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
ubuntu@arm:/sys/devices/bone_capemgr.9$ # echo -5 >/sys/devices/bone_capemgr*/slotsubuntu@arm:/sys/devices/bone_capemgr.9$ cat slots 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
kernel_file=zImageinitrd_file=uInitrdinitrd_high=0xfffffffffdt_high=0xffffffff
#Video: Uncomment to override:#kms_force_mode=video=HDMI-A-1:1024x768@60
##BeagleBone Cape Overrides##Note: On the BeagleBone Black, there is also an uEnv.txt in the eMMC, so if these changes do not seem to be makeing a difference...
##BeagleBone Black:##Disable HDMI/eMMC#capemgr=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G
console=ttyO0,115200n8
mmcroot=UUID=0a595bd3-2716-41ca-986a-0da77d5ebb0e rommcrootfstype=ext4 rootwait fixrtc
loadkernel=load mmc ${mmcdev}:${mmcpart} 0x80200000 ${kernel_file}loadinitrd=load mmc ${mmcdev}:${mmcpart} 0x81000000 ${initrd_file}; setenv initrd_size ${filesize}loadfdt=load mmc ${mmcdev}:${mmcpart} 0x815f0000 /dtbs/${fdtfile}
boot_classic=run loadkernel; run loadinitrdboot_ftd=run loadkernel; run loadinitrd; run loadfdt
device_args=run expansion_args; run mmcargsmmcargs=setenv bootargs console=${console} ${optargs} ${kms_force_mode} root=${mmcroot} rootfstype=${mmcrootfstype} ${expansion} ${capemgr}
optargs=expansion_args=setenv expansion ip=${ip_method}optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
#Classic Board File Boot:#uenvcmd=run boot_classic; run device_args; bootz 0x80200000 0x81000000:${initrd_size}#uenvcmd=run boot_classic; run device_args; bootz 0x80200000 0x81000000:${initrd_size}#New Device Tree Boot:uenvcmd=run boot_ftd; run device_args; bootz 0x80200000 0x81000000:${initrd_size} 0x815f0000
optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
kernel_file=zImageinitrd_file=uInitrdinitrd_high=0xfffffffffdt_high=0xffffffff
#Video: Uncomment to override:#kms_force_mode=video=HDMI-A-1:1024x768@60
##BeagleBone Cape Overrides##Note: On the BeagleBone Black, there is also an uEnv.txt in the eMMC, so if these changes do not seem to be makeing a difference...
##BeagleBone Black:##Disable HDMI/eMMC
optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
#,BB-BONE-EMMC-2G <-- This does the eMMC too
console=ttyO0,115200n8
mmcroot=UUID=f1200610-1760-4283-99fd-46076bc38371 ro
mmcrootfstype=ext4 rootwait fixrtc
loadkernel=load mmc ${mmcdev}:${mmcpart} 0x80200000 ${kernel_file}loadinitrd=load mmc ${mmcdev}:${mmcpart} 0x81000000 ${initrd_file}; setenv initrd_size ${filesize}loadfdt=load mmc ${mmcdev}:${mmcpart} 0x815f0000 /dtbs/${fdtfile}
boot_classic=run loadkernel; run loadinitrdboot_ftd=run loadkernel; run loadinitrd; run loadfdt
device_args=run expansion_args; run mmcargsmmcargs=setenv bootargs console=${console} ${optargs} ${kms_force_mode} root=${mmcroot} rootfstype=${mmcrootfstype} ${expansion}
expansion_args=setenv expansion ip=${ip_method}
#Classic Board File Boot:#uenvcmd=run boot_classic; run device_args; bootz 0x80200000 0x81000000:${initrd_size}
#New Device Tree Boot:uenvcmd=run boot_ftd; run device_args; bootz 0x80200000 0x81000000:${initrd_size} 0x815f0000
ubuntu@arm:~$ cat /sys/devices/bone_capemgr.8/slots
0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI 6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
./pingroups
[sudo] password for ubuntu: registered pin groups:group: pinmux_userled_pinspin 21 (44e10854)pin 22 (44e10858)pin 23 (44e1085c)pin 24 (44e10860)
group: pinmux_rstctl_pinspin 20 (44e10850)
group: pinmux_i2c0_pinspin 98 (44e10988)pin 99 (44e1098c)
group: pinmux_i2c2_pinspin 94 (44e10978)pin 95 (44e1097c)
group: pinmux_bb_i2c1_pinspin 86 (44e10958)pin 87 (44e1095c)
group: pinmux_bb_uart1_pinspin 97 (44e10984)pin 96 (44e10980)
group: pinmux_bb_uart2_pinspin 84 (44e10950)pin 85 (44e10954)
group: pinmux_bb_uart4_pinspin 28 (44e10870)pin 29 (44e10874)
group: pinmux_bb_uart5_pinspin 49 (44e108c4)pin 48 (44e108c0)
group: pinmux_bb_spi1_pinspin 100 (44e10990)pin 101 (44e10994)pin 102 (44e10998)pin 103 (44e1099c)
group: pinmux_emmc2_pinspin 32 (44e10880)pin 33 (44e10884)pin 0 (44e10800)pin 1 (44e10804)pin 2 (44e10808)pin 3 (44e1080c)pin 4 (44e10810)pin 5 (44e10814)pin 6 (44e10818)pin 7 (44e1081c)
group: pinmux_userled_pinspin 21 (44e10854)pin 22 (44e10858)pin 23 (44e1085c)pin 24 (44e10860)
ls /dev/alarm loop3 ram3 tty21 tty48 ttyS2ashmem loop4 ram4 tty22 tty49 ttyS3autofs loop5 ram5 tty23 tty5 ubi_ctrlbinder loop6 ram6 tty24 tty50 uinputblock loop7 ram7 tty25 tty51 urandombtrfs-control mapper ram8 tty26 tty52 usbmon0bus mem ram9 tty27 tty53 usbmon1char mmcblk0 random tty28 tty54 usbmon2console mmcblk0boot0 rtc0 tty29 tty55 vcscpu_dma_latency mmcblk0boot1 shm tty3 tty56 vcs1disk mmcblk0p1 snd tty30 tty57 vcs2fd mmcblk0p2 stderr tty31 tty58 vcs3full net stdin tty32 tty59 vcs4fuse network_latency stdout tty33 tty6 vcs5i2c-0 network_throughput tty tty34 tty60 vcs6i2c-1 null tty0 tty35 tty61 vcs7i2c-2 ppp tty1 tty36 tty62 vcsainput psaux tty10 tty37 tty63 vcsa1kmem ptmx tty11 tty38 tty7 vcsa2kmsg pts tty12 tty39 tty8 vcsa3log ram0 tty13 tty4 tty9 vcsa4log_events ram1 tty14 tty40 ttyGS0 vcsa5log_main ram10 tty15 tty41 ttyO0 vcsa6log_radio ram11 tty16 tty42 ttyO1 vcsa7log_system ram12 tty17 tty43 ttyO2 watchdogloop-control ram13 tty18 tty44 ttyO4 watchdog0loop0 ram14 tty19 tty45 ttyO5 zeroloop1 ram15 tty2 tty46 ttyS0loop2 ram2 tty20 tty47 ttyS1
--
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/groups/opt_out.
Im looking through David Ander's article and I just dont understand whats going on when "applying diff to kernel"could you offer any assistance
{ .compatible = "linux,spidev" },
{ .compatible = "rohm,dh2228fv" },
For more options, visit https://groups.google.com/d/optout.
From: <nathan.ta...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Thursday, March 13, 2014 at 9:11 AM
To: <beagl...@googlegroups.com>
Cc: Jacob Stockton <jacob.d....@gmail.com>, <ma...@grosen.org>
Subject: Re: [beagleboard] Device Tree Compiler
Im looking through David Ander's article and I just dont understand whats going on when "applying diff to kernel"could you offer any assistanceOpen the file drivers/spi/spidev.c and add the line:{ .compatible = "linux,spidev" },This line should be placed after the line:{ .compatible = "rohm,dh2228fv" },Regards,John
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/zQ039ckqp3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
What can be the meaning here? |
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+unsub...@googlegroups.com. |
What can be the meaning here?
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
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/zQ039ckqp3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
Hi all,Thanks for your support till now. I am really grateful to you.While I going through the reference manual of the arm processor on the BBB, I came to know that the processor has the capacity for 4 SPI channels but BBB only provides 2 channels.1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for just one channel (because I have read the spidevB.C means channel B and device C) why are they two in number. Does these files represent the SLAVES which could be attached with this channel ?
Hi John,Thanks for your reply. You mean whatever we have to send and receive should be done via spidev1.0 only ?
--