Skip to content

Instantly share code, notes, and snippets.

@notro
Created September 27, 2013 23: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/6736821 to your computer and use it in GitHub Desktop.
Save notro/6736821 to your computer and use it in GitHub Desktop.
bcm2708.dts
/dts-v1/;
/include/ "skeleton.dtsi"
/ {
compatible = "brcm,bcm2708";
model = "v21 Raspberry Pi Model B";
memreserve = <0x00000000 0x00000000>;
memory {
reg = <0 0>;
};
chosen {
bootargs = "hello from dtb earlyprintk loglevel=8 memblock=debug 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 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait";
};
system {
linux,serial = <0x00000000 0x00000000>;
linux,revision = <0x0000000e>;
};
display {
broadcom,width = <0x00000000>;
broadcom,height = <0x00000000>;
broadcom,depth = <0x00000000>;
};
axi {
usb {
hub {
ethernet {
mac-address = [00 00 00 00 00 00];
};
};
};
dma {
broadcom,channels = <0x00000000>;
};
sdhci {
clock-frequency = <0x00000000>;
};
uart0 {
clock-frequency = <0x00000000>;
};
};
};
/*
/include/ "testcases/tests.dtsi"
*/
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 print
/ {
#address-cells = <0x00000001>;
#size-cells = <0x00000001>;
compatible = "brcm,bcm2708";
model = "v21 Raspberry Pi Model B";
memreserve = <0x1c000000 0x04000000>;
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>;
};
system {
linux,serial = <0x00000000 0x4939788f>;
linux,revision = <0x0000000e>;
};
display {
broadcom,width = <0x00000290>;
broadcom,height = <0x000001a0>;
broadcom,depth = <0x00000010>;
};
axi {
usb {
hub {
ethernet {
mac-address = [b8 27 eb 39 78 8f];
};
};
};
dma {
broadcom,channels = <0x00007f35>;
};
sdhci {
clock-frequency = <0x05f5e100>;
};
uart0 {
clock-frequency = <0x002dc6c0>;
};
};
};
U-Boot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment