Skip to content

Instantly share code, notes, and snippets.

@notro
Created September 27, 2013 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notro/6732379 to your computer and use it in GitHub Desktop.
Save notro/6732379 to your computer and use it in GitHub Desktop.
U-Boot 2013.10-rc2-15890-gad31ff6 (Sep 22 2013 - 15:12:08)
DRAM: 448 MiB
WARNING: Caches not enabled
MMC: bcm2835_sdhci: 0
Using default environment
In: serial
Out: lcd
Err: lcd
Hit any key to stop autoboot: 0
mmc0 is current device
reading boot.scr.uimg
** Unable to read file boot.scr.uimg **
U-Boot> fdt addr 0x100
U-Boot> fdt header
magic: 0xd00dfeed
totalsize: 0x100d (4109)
off_dt_struct: 0x38
off_dt_strings: 0xd64
off_mem_rsvmap: 0x28
version: 17
last_comp_version: 16
boot_cpuid_phys: 0x0
size_dt_strings: 0x1c0
size_dt_struct: 0xd2c
number mem_rsv: 0x0
U-Boot> fdt print
/ {
memreserve = <0x1c000000 0x04000000>;
#address-cells = <0x00000001>;
#size-cells = <0x00000001>;
compatible = "raspberrypi,model-b", "brcm,bcm2835";
model = "v10 Raspberry Pi Model B";
interrupt-parent = <0x00000001>;
chosen {
bootargs = "earlyprintk loglevel=8 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x4939788f smsc95xx.macaddr=B8:27:EB:39:78:8F sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 hello from cmdline.txt dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait";
};
aliases {
};
memory {
device_type = "memory";
reg = <0x00000000 0x20000000>;
};
soc {
compatible = "simple-bus";
#address-cells = <0x00000001>;
#size-cells = <0x00000001>;
ranges = <0x7e000000 0x20000000 0x02000000>;
timer {
compatible = "brcm,bcm2835-system-timer";
reg = <0x7e003000 0x00001000>;
interrupts = <0x00000001 0x00000000 0x00000001 0x00000001 0x00000001 0x00000002 0x00000001 0x00000003>;
clock-frequency = <0x000f4240>;
};
interrupt-controller {
compatible = "brcm,bcm2835-armctrl-ic";
reg = <0x7e00b200 0x00000200>;
interrupt-controller;
#interrupt-cells = <0x00000002>;
linux,phandle = <0x00000001>;
phandle = <0x00000001>;
};
watchdog {
compatible = "brcm,bcm2835-pm-wdt";
reg = <0x7e100000 0x00000028>;
};
rng {
compatible = "brcm,bcm2835-rng";
reg = <0x7e104000 0x00000010>;
};
uart@20201000 {
compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
reg = <0x7e201000 0x00001000>;
interrupts = <0x00000002 0x00000019>;
clock-frequency = <0x002dc6c0>;
arm,primecell-periphid = <0x00241011>;
};
gpio {
compatible = "brcm,bcm2835-gpio";
reg = <0x7e200000 0x000000b4>;
interrupts = <0x00000002 0x00000011 0x00000002 0x00000012 0x00000002 0x00000013 0x00000002 0x00000014>;
gpio-controller;
#gpio-cells = <0x00000002>;
interrupt-controller;
#interrupt-cells = <0x00000002>;
pinctrl-names = "default";
pinctrl-0 = <0x00000002 0x00000003>;
alt0 {
brcm,pins = <0x00000000 0x00000001 0x00000002 0x00000003 0x00000004 0x00000005 0x00000006 0x00000007 0x00000008 0x00000009 0x0000000a 0x0000000b 0x0000000e 0x0000000f 0x00000028 0x0000002d>;
brcm,function = <0x00000004>;
linux,phandle = <0x00000002>;
phandle = <0x00000002>;
};
alt3 {
brcm,pins = <0x00000030 0x00000031 0x00000032 0x00000033 0x00000034 0x00000035>;
brcm,function = <0x00000007>;
linux,phandle = <0x00000003>;
phandle = <0x00000003>;
};
};
spi@20204000 {
compatible = "brcm,bcm2835-spi";
reg = <0x7e204000 0x00001000>;
interrupts = <0x00000002 0x00000016>;
clocks = <0x00000004>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
status = "disabled";
};
i2c@20205000 {
compatible = "brcm,bcm2835-i2c";
reg = <0x7e205000 0x00001000>;
interrupts = <0x00000002 0x00000015>;
clocks = <0x00000005>;
status = "okay";
clock-frequency = <0x000186a0>;
};
i2c@20804000 {
compatible = "brcm,bcm2835-i2c";
reg = <0x7e804000 0x00001000>;
interrupts = <0x00000002 0x00000015>;
clocks = <0x00000005>;
status = "okay";
clock-frequency = <0x000186a0>;
};
sdhci {
compatible = "brcm,bcm2835-sdhci";
reg = <0x7e300000 0x00000100>;
interrupts = <0x00000002 0x0000001e>;
clocks = <0x00000006>;
status = "okay";
bus-width = <0x00000004>;
};
};
clocks {
compatible = "simple-bus";
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
mmc {
compatible = "fixed-clock";
reg = <0x00000000>;
#clock-cells = <0x00000000>;
clock-frequency = <0x05f5e100>;
linux,phandle = <0x00000006>;
phandle = <0x00000006>;
};
i2c {
compatible = "fixed-clock";
reg = <0x00000001>;
#clock-cells = <0x00000000>;
clock-frequency = <0x0ee6b280>;
linux,phandle = <0x00000005>;
phandle = <0x00000005>;
};
spi {
compatible = "fixed-clock";
reg = <0x00000002>;
#clock-cells = <0x00000000>;
clock-frequency = <0x0ee6b280>;
linux,phandle = <0x00000004>;
phandle = <0x00000004>;
};
};
testcase-data {
phandle-tests {
provider0 {
#phandle-cells = <0x00000000>;
linux,phandle = <0x0000000a>;
phandle = <0x0000000a>;
};
provider1 {
#phandle-cells = <0x00000001>;
linux,phandle = <0x00000007>;
phandle = <0x00000007>;
};
provider2 {
#phandle-cells = <0x00000002>;
linux,phandle = <0x00000008>;
phandle = <0x00000008>;
};
provider3 {
#phandle-cells = <0x00000003>;
linux,phandle = <0x00000009>;
phandle = <0x00000009>;
};
consumer-a {
phandle-list = <0x00000007 0x00000001 0x00000008 0x00000002 0x00000000 0x00000000 0x00000009 0x00000004 0x00000004 0x00000003 0x00000008 0x00000005 0x00000064 0x0000000a 0x00000007 0x00000007>;
phandle-list-names = "first", "second", "third";
phandle-list-bad-phandle = <0x00bc614e 0x00000000 0x00000000>;
phandle-list-bad-args = <0x00000008 0x00000001 0x00000000 0x00000009 0x00000000>;
empty-property;
unterminated-string = <0x40414243>;
};
};
};
};
U-Boot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment