robertcnelson / u-boot Goto Github PK
View Code? Open in Web Editor NEWmirror of git://git.denx.de/u-boot.git
Home Page: http://git.denx.de/?p=u-boot.git;a=summary
mirror of git://git.denx.de/u-boot.git
Home Page: http://git.denx.de/?p=u-boot.git;a=summary
#define CONFIG_CDP_CAPABILITIES 0x00000010
Line 166 in d529124
uboot# cdp
Using FEC0 device
data abort
pc : [] lr : [<00000074>]
sp : bfb70d58 ip : 00000030 fp : bfdf8d98
r10: 00000001 r9 : bfb70f04 r8 : bfdf8f12
r7 : bfdf8df8 r6 : bfdf8f26 r5 : 00000800 r4 : bfdf8ee0
r3 : 10000000 r2 : 00000000 r1 : bfb70d5c r0 : bfdc4eab
Flags: nZCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
ethernet@1c30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
help
dm tree of eth:
Class index Probed Driver Name
eth 0 [ + ] eth_sun8i_emac |-- ethernet@1c30000
In latest beaglebone Debian released on 17.06.2018 , I am not able to enable CAN0 . Please guide to enable CAN0. default i2c2 showing in /dev.
In on eof your blog read as to easily map i2c2 -> dcan0 once booted up into userspace.
Let mw know procedure to enable CAN0
Regards,
Hemant
git:/opt/scripts/:[607c2f08e25c061f61ec78d15be3fe9b9999a3b7]
eeprom:[A335BNLTBBG1BBG216080251]
model:[TI_AM335x_BeagleBone_Green]
dogtag:[BeagleBoard.org Debian Image 2018-03-05]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.03-00002-gac9cce7c6a]:[location: dd MBR]
kernel:[4.14.44-bone-rt-r14]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/led.dtbo]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_wireless=1]
pkg:[bb-cape-overlays]:[4.4.20180305.0-0rcnee0~stretch+20180305]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
pkg:[roboticscape]:[0.3.4-git20170602-0rcnee4~stretch+20171108]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0]
dmesg | grep pinctrl-single
[ 0.918338] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 0.919188] gpio-of-helper button-led: ready
[ 0.919758] gpio-of-helper ocp:cape-universal: ready
END
Note: ocp:cape-universal is ready. It should not be ready. It should not be present at all.
dtsi for button-led:
#include "gpio.h"
#include "subarctic/pinctrl.h"
#include "bone/pins.h"
/ {
button-led {
compatible = "gpio-of-helper";
pinctrl-names = "default";
pinctrl-0 = <&button_led_pins>;
buttonled {
gpio = <&gpio1 17 0>; // p9.23
init-low;
};
};
};
&am33xx_pinmux {
button_led_pins: button-led {
pinctrl-single,pins = <
PIN_GPIO_PULLDOWN( P9_23 ) // io 1.7
>;
};
};
Using https://github.com/mvduin/overlay-utils from zmatt, which compiles into
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target-path = "/";
__overlay__ {
button-led {
compatible = "gpio-of-helper";
pinctrl-names = "default";
pinctrl-0 = <&button_led_pins>;
buttonled {
gpio = <&gpio1 17 0>;
init-low;
};
};
};
};
};
/ {
fragment@1 {
target = <&am33xx_pinmux>;
__overlay__ {
button_led_pins: button-led {
pinctrl-single,pins = <
( (17) * 4 ) ( 7 | ( 1 << 5 ) | ( 0 << 3 ) )
>;
};
};
};
};
uenv is:
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.14.44-bone-rt-r14
#uuid=
#dtb=
###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
uboot_overlay_addr4=/lib/firmware/led.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/led.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1
disable_uboot_overlay_audio=1
disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_uio (4.4.x-ti, 4.14.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
#enable_uboot_cape_universal=0
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###
cmdline=coherent_pool=1M net.ifnames=0
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e
##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
:(
After building v2015.1 I get
Error: unrecognized/unsupported machine ID (r1 = 0x100010bb)
Using v2014.10 works with no issues with the linux mainline kernel
It looks like it is not parsing the correct mach-id to the kernel?
Line 196 of u-boot/include/config_distro_bootcmd.h "part list ${devtype} ${devnum} devplist; " will cause an error unless u-boot is compiled with CONFIG_PARTITION_UUIDS and CONFIG_PART_CMD defined. This appears to have been introduced in the patch "sjoerd-ccu authored on Jan 5".
Hi,
In earlier version to to start application automatically. /etc/rc.local present where we are starting application on boot automatically.
Now /etc/rc.local not present . Is there any other provision there.
Regards
hemant
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.