Giter VIP home page Giter VIP logo

robertcnelson / u-boot Goto Github PK

View Code? Open in Web Editor NEW
85.0 20.0 85.0 204.4 MB

mirror of git://git.denx.de/u-boot.git

Home Page: http://git.denx.de/?p=u-boot.git;a=summary

Makefile 0.63% C 94.56% C++ 0.10% Assembly 1.04% Tcl 0.01% Python 2.76% Shell 0.15% Perl 0.47% Awk 0.01% Batchfile 0.01% Lex 0.02% Yacc 0.03% CSS 0.01% GDB 0.01% sed 0.01% SmPL 0.02% ASL 0.17% POV-Ray SDL 0.01% Roff 0.01% Dockerfile 0.01%

u-boot's Issues

cdp crashs uboot with defined options

#define CONFIG_CDP_CAPABILITIES 0x00000010

*(ulong *)s = htonl(CONFIG_CDP_CAPABILITIES);

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 ...

CAN0

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

U-boot refuses to disable cape-universal even if capes are present

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

:(

Unknown command 'part' - try 'help' error when booting from sdcard

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".

application auto start

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.