Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gs-niteesh/93166f0fd63b2be26f5a3f0397fd3681 to your computer and use it in GitHub Desktop.
Save gs-niteesh/93166f0fd63b2be26f5a3f0397fd3681 to your computer and use it in GitHub Desktop.
U-Boot 2020.04-00684-gd202f67db0 (Apr 26 2020 - 23:05:26 +0530)
CPU : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
DRAM: 512 MiB
WDT: Started with servicing (60s timeout)
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
Loading Environment from FAT... OK
Net: No ethernet found.
Hit any key to stop autoboot: 1  0
1373919 bytes read in 92 ms (14.2 MiB/s)
47474 bytes read in 7 ms (6.5 MiB/s)
## Booting kernel from Legacy Image at 80800000 ...
Image Name: RTEMS
Created: 2020-06-06 14:18:18 UTC
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1373855 Bytes = 1.3 MiB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Uncompressing Kernel Image
Loading Device Tree to 8fff1000, end 8ffff971 ... OK
Starting kernel ...
RTEMS Beagleboard: am335x-based
ARM Debug: 0x4b141000
AM335X I2C bus registering
registering generic node
*** BEGIN OF TEST LIBBSD MEDIA 1 ***
*** TEST VERSION: 5.0.0.617e0022dc08417b8d9ee7b917b9d2c5002c9623-modified
*** TEST STATE: USER_INPUT
*** TEST BUILD: RTEMS_POSIX_API
*** TEST TOOLS: 7.5.0 20191114 (RTEMS 5, RSB 5 (0affb6647dd4), Newlib 7947581)
nexus0: <RTEMS Nexus device>
ofwbus0: <Open Firmware Device Tree> on nexus0
simplebus0: <Flattened device tree simple bus> on ofwbus0
simplebus1: <Flattened device tree simple bus> on simplebus0
am335x_prcm0: <AM335x Power and Clock Management> mem 0x200000-0x203fff on simplebus1
simplebus2: <Flattened device tree simple bus> mem 0x210000-0x211fff on simplebus1
ti_scm0: <TI Control Module> mem 0-0x7ff on simplebus2
ofwbus0: <opp-table> compat operating-points-v2-ti-cpu (no driver attached)
ofwbus0: <pmu@4b000000> mem 0x4b000000-0x4bffffff irq 3 compat arm,cortex-a8-pmu (no driver attached)
ofwbus0: <soc> compat ti,omap-infra (no driver attached)
simplebus1: <wkup_m3@100000> mem 0x100000-0x103fff,0x180000-0x181fff compat ti,am3352-wkup-m3 (no driver attached)
am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000 MHz
ti_pinmux0: <TI Pinmux Module> mem 0x800-0xa37 on simplebus2
Processing 1 pin-config node(s) in pinctrl-0 for serial@44e09000
pinmux-uart0-pins: muxreg 0x0170 muxval 0x30
pinmux-uart0-pins: muxreg 0x0174 muxval 0x00
Processing 1 pin-config node(s) in pinctrl-0 for serial@481a8000
pinmux-uart4-pins: muxreg 0x0070 muxval 0x36
pinmux-uart4-pins: muxreg 0x0074 muxval 0x06
Processing 1 pin-config node(s) in pinctrl-0 for i2c@44e0b000
pinmux-i2c0-pins: muxreg 0x0188 muxval 0x30
pinmux-i2c0-pins: muxreg 0x018c muxval 0x30
Processing 1 pin-config node(s) in pinctrl-0 for i2c@4819c000
pinmux-i2c2-pins: muxreg 0x017c muxval 0x33
pinmux-i2c2-pins: muxreg 0x0178 muxval 0x33
Processing 1 pin-config node(s) in pinctrl-0 for mmc@48060000
pinmux-mmc0-pins: muxreg 0x0160 muxval 0x2f
pinmux-mmc0-pins: muxreg 0x00fc muxval 0x30
pinmux-mmc0-pins: muxreg 0x00f8 muxval 0x30
pinmux-mmc0-pins: muxreg 0x00f4 muxval 0x30
pinmux-mmc0-pins: muxreg 0x00f0 muxval 0x30
pinmux-mmc0-pins: muxreg 0x0104 muxval 0x30
pinmux-mmc0-pins: muxreg 0x0100 muxval 0x30
pinmux-mmc0-pins: muxreg 0x01a0 muxval 0x2c
Processing 1 pin-config node(s) in pinctrl-0 for pwm@48300200
pinmux-ehrpwm0-pins: muxreg 0x0190 muxval 0x01
Processing 1 pin-config node(s) in pinctrl-0 for pwm@48302200
pinmux-ehrpwm1-pins: muxreg 0x0048 muxval 0x06
Processing 1 pin-config node(s) in pinctrl-0 for leds
pinmux-usr-leds-pins: muxreg 0x0054 muxval 0x0f
pinmux-usr-leds-pins: muxreg 0x0058 muxval 0x0f
pinmux-usr-leds-pins: muxreg 0x005c muxval 0x0f
pinmux-usr-leds-pins: muxreg 0x0060 muxval 0x0f
simplebus2: <wkup_m3_ipc@1324> mem 0x1324-0x1347 irq 78 compat ti,am3352-wkup-m3-ipc (no driver attached)
simplebus2: <dma-router@f90> mem 0xf90-0xfcf compat ti,am335x-edma-crossbar (no driver attached)
simplebus0: <interrupt-controller@48200000> mem 0x48200000-0x48200fff compat ti,am33xx-intc (no driver attached)
simplebus0: <edma@49000000> mem 0x49000000-0x4900ffff irq 12,13,14 compat ti,edma3-tpcc (no driver attached)
simplebus0: <tptc@49800000> mem 0x49800000-0x498fffff irq 112 compat ti,edma3-tptc (no driver attached)
simplebus0: <tptc@49900000> mem 0x49900000-0x499fffff irq 113 compat ti,edma3-tptc (no driver attached)
simplebus0: <tptc@49a00000> mem 0x49a00000-0x49afffff irq 114 compat ti,edma3-tptc (no driver attached)
simplebus0: <gpio@44e07000> mem 0x44e07000-0x44e07fff irq 96 compat ti,omap4-gpio (no driver attached)
simplebus0: <gpio@4804c000> mem 0x4804c000-0x4804cfff irq 98 compat ti,omap4-gpio (no driver attached)
simplebus0: <gpio@481ac000> mem 0x481ac000-0x481acfff irq 32 compat ti,omap4-gpio (no driver attached)
simplebus0: <gpio@481ae000> mem 0x481ae000-0x481aefff irq 62 compat ti,omap4-gpio (no driver attached)
simplebus0: <serial@44e09000> mem 0x44e09000-0x44e0afff irq 72 compat ti,am3352-uart (no driver attached)
simplebus0: <serial@48022000> mem 0x48022000-0x48023fff irq 73 disabled compat ti,am3352-uart (no driver attached)
simplebus0: <serial@48024000> mem 0x48024000-0x48025fff irq 74 disabled compat ti,am3352-uart (no driver attached)
simplebus0: <serial@481a6000> mem 0x481a6000-0x481a7fff irq 44 disabled compat ti,am3352-uart (no driver attached)
simplebus0: <serial@481a8000> mem 0x481a8000-0x481a9fff irq 45 compat ti,am3352-uart (no driver attached)
simplebus0: <serial@481aa000> mem 0x481aa000-0x481abfff irq 46 disabled compat ti,am3352-uart (no driver attached)
simplebus0: <i2c@44e0b000> mem 0x44e0b000-0x44e0bfff irq 70 compat ti,omap4-i2c (no driver attached)
simplebus0: <i2c@4802a000> mem 0x4802a000-0x4802afff irq 71 disabled compat ti,omap4-i2c (no driver attached)
simplebus0: <i2c@4819c000> mem 0x4819c000-0x4819cfff irq 30 compat ti,omap4-i2c (no driver attached)
sdhci_ti0: <TI MMCHS (SDHCI 2.0)> mem 0x48060000-0x48060fff irq 64 on simplebus0
sdhci_ti0-slot0: 96MHz HS 4bits VDD: 3.3V 3.0V VCCQ: 3.3V DRV: B PIO removable
sdhci_ti0-slot0: ============== REGISTER DUMP ==============
sdhci_ti0-slot0: Sys addr: 0x00000000 | Version: 0x00003101
sdhci_ti0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_ti0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_ti0-slot0: Present: 0x01f70000 | Host ctl: 0x00000000
sdhci_ti0-slot0: Power: 0x00000000 | Blk gap: 0x00000000
sdhci_ti0-slot0: Wake-up: 0x00000000 | Clock: 0x00000000
sdhci_ti0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_ti0-slot0: Int enab: 0x00000000 | Sig enab: 0x00000000
sdhci_ti0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_ti0-slot0: Caps: 0x07e10080 | Caps2: 0x00000000
sdhci_ti0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_ti0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_ti0-slot0: ===========================================
sdhci_ti0-slot0: Card inserted
mmc0: <MMC/SD bus> on sdhci_ti0
simplebus0: <mmc@481d8000> mem 0x481d8000-0x481d8fff irq 28 disabled compat ti,omap4-hsmmc (no driver attached)
simplebus0: <mmc@47810000> mem 0x47810000-0x47810fff irq 29 disabled compat ti,omap4-hsmmc (no driver attached)
simplebus0: <spinlock@480ca000> mem 0x480ca000-0x480cafff compat ti,omap4-hwspinlock (no driver attached)
simplebus0: <wdt@44e35000> mem 0x44e35000-0x44e35fff irq 91 compat ti,omap3-wdt (no driver attached)
simplebus0: <can@481cc000> mem 0x481cc000-0x481cdfff irq 52 disabled compat ti,am3352-d_can (no driver attached)
simplebus0: <can@481d0000> mem 0x481d0000-0x481d1fff irq 55 disabled compat ti,am3352-d_can (no driver attached)
simplebus0: <mailbox@480c8000> mem 0x480c8000-0x480c81ff irq 77 compat ti,omap4-mailbox (no driver attached)
simplebus0: <timer@44e31000> mem 0x44e31000-0x44e313ff irq 67 compat ti,am335x-timer-1ms (no driver attached)
simplebus0: <timer@48040000> mem 0x48040000-0x480403ff irq 68 compat ti,am335x-timer (no driver attached)
simplebus0: <timer@48042000> mem 0x48042000-0x480423ff irq 69 compat ti,am335x-timer (no driver attached)
simplebus0: <timer@48044000> mem 0x48044000-0x480443ff irq 92 compat ti,am335x-timer (no driver attached)
simplebus0: <timer@48046000> mem 0x48046000-0x480463ff irq 93 compat ti,am335x-timer (no driver attached)
simplebus0: <timer@48048000> mem 0x48048000-0x480483ff irq 94 compat ti,am335x-timer (no driver attached)
simplebus0: <timer@4804a000> mem 0x4804a000-0x4804a3ff irq 95 compat ti,am335x-timer (no driver attached)
simplebus0: <rtc@44e3e000> mem 0x44e3e000-0x44e3efff irq 75,76 compat ti,am3352-rtc (no driver attached)
simplebus0: <spi@48030000> mem 0x48030000-0x480303ff irq 65 disabled compat ti,omap4-mcspi (no driver attached)
simplebus0: <spi@481a0000> mem 0x481a0000-0x481a03ff irq 125 disabled compat ti,omap4-mcspi (no driver attached)
usbss0: <TI AM33xx integrated USB OTG controller> mem 0x47400000-0x47400fff on simplebus0
usbss0: TI AM335X USBSS v0.0.13
usbss0: <control@44e10620> mem 0x44e10620-0x44e1062f,0x44e10648-0x44e1064b compat ti,am335x-usb-ctrl-module (no driver attached)
usbss0: <usb-phy@47401300> mem 0x47401300-0x474013ff compat ti,am335x-usb-phy (no driver attached)
musbotg0: <TI AM33xx integrated USB OTG controller> mem 0x47401400-0x474017ff,0x47401000-0x474011ff irq 18 on usbss0
usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usbus0 on musbotg0
usbss0: <usb-phy@47401b00> mem 0x47401b00-0x47401bff compat ti,am335x-usb-phy (no driver attached)
musbotg1: <TI AM33xx integrated USB OTG controller> mem 0x47401c00-0x47401fff,0x47401800-0x474019ff irq 19 on usbss0
usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usbus1 on musbotg1
usbss0: <dma-controller@47402000> mem 0x47400000-0x47400fff,0x47402000-0x47402fff,0x47403000-0x47403fff,0x47404000-0x47407fff irq 17 compat ti,am3359-cppi41 (no driver attached)
am335x_pwmss0: <AM335x PWM> mem 0x48300000-0x4830000f on simplebus0
am335x_pwmss0: <ecap@48300100> mem 0x48300100-0x4830017f irq 31 disabled compat ti,am3352-ecap (no driver attached)
am335x_pwmss0: <pwm@48300200> mem 0x48300200-0x4830027f compat ti,am3352-ehrpwm (no driver attached)
am335x_pwmss1: <AM335x PWM> mem 0x48302000-0x4830200f on simplebus0
am335x_pwmss1: <ecap@48302100> mem 0x48302100-0x4830217f irq 47 disabled compat ti,am3352-ecap (no driver attached)
am335x_pwmss1: <pwm@48302200> mem 0x48302200-0x4830227f compat ti,am3352-ehrpwm (no driver attached)
simplebus0: <epwmss@48304000> mem 0x48304000-0x4830400f disabled compat ti,am33xx-pwmss (no driver attached)
simplebus0: <ethernet@4a100000> mem 0x4a100000-0x4a1007ff,0x4a101200-0x4a1012ff irq 40,41,42,43 disabled compat ti,am335x-cpsw (no driver attached)
simplebus0: <ocmcram@40300000> mem 0x40300000-0x4030ffff compat mmio-sram (no driver attached)
simplebus0: <elm@48080000> mem 0x48080000-0x48081fff irq 4 disabled compat ti,am3352-elm (no driver attached)
simplebus0: <lcdc@4830e000> mem 0x4830e000-0x4830efff irq 36 disabled compat ti,am33xx-tilcdc (no driver attached)
simplebus0: <tscadc@44e0d000> mem 0x44e0d000-0x44e0dfff irq 16 compat ti,am3359-tscadc (no driver attached)
simplebus0: <emif@4c000000> mem 0x4c000000-0x4cffffff irq 101 compat ti,emif-am3352 (no driver attached)
simplebus0: <gpmc@50000000> mem 0x50000000-0x50001fff irq 100 disabled compat ti,am3352-gpmc (no driver attached)
simplebus0: <sham@53100000> mem 0x53100000-0x531001ff irq 109 compat ti,omap4-sham (no driver attached)
simplebus0: <aes@53500000> mem 0x53500000-0x5350009f irq 103 compat ti,omap4-aes (no driver attached)
simplebus0: <mcasp@48038000> mem 0x48038000-0x48039fff,0x46000000-0x463fffff irq 80,81 disabled compat ti,am33xx-mcasp-audio (no driver attached)
simplebus0: <mcasp@4803c000> mem 0x4803c000-0x4803dfff,0x46400000-0x467fffff irq 82,83 disabled compat ti,am33xx-mcasp-audio (no driver attached)
simplebus0: <rng@48310000> mem 0x48310000-0x48311fff irq 111 compat ti,omap4-rng (no driver attached)
ofwbus0: <leds> compat gpio-leds (no driver attached)
ofwbus0: <fixedregulator0> compat regulator-fixed (no driver attached)
vlan: initialized, using hash tables with chaining
info: lo0: bpf attached
_bsd_tcp_init: net.inet.tcp.tcbhashsize auto tuned to 512
sdhci_ti0-slot0: Divider 128 for freq 375000 (base 96000000)
mmc0: Probing bus
mmc0: SD 2.0 interface conditions: OK
mmc0: SD probe: OK (OCR: 0x00ff8000)
mmc0: Current OCR: 0x00ff8000
mmc0: Probing cards
mmc0: New card detected (CID 1b534d3030303030103a5b55af0101ab)
mmc0: New card detected (CSD 400e00325b590000775d7f800a4000a3)
mmc0: Card at relative address 0x59b4 added:
mmc0: card: SDHC 00000 1.0 SN 3A5B55AF MFG 01/2016 by 27 SM
mmc0: quirks: 0
mmc0: bus: 4bit, 50MHz (high speed timing)
mmc0: memory: 31291392 blocks, erase sector 8192 blocks
mmc0: setting transfer rate to 50.000MHz (high speed timing)
sdhci_ti0-slot0: Divider 1 for freq 48000000 (base 96000000)
media listener: event = DISK ATTACH, state = INQUIRY, src = mmcsd, dest = NULL
mmc0: setting bus width to 4 bits high speed timing
media listener: event = DISK ATTACH, state = SUCCESS, src = mmcsd, dest = /dev/mmcsd-0
media listener: event = MOUNT, state = INQUIRY, src = /dev/mmcsd-0, dest = NULL
mmcsd0: 16GB <SDHC 00000 1.0 SN 3A5B55AF MFG 01/2016 by 27 SM> at mmc0 48.0MHz/4bit/65535-block
media listener: event = MOUNT, state = FAILED, src = /dev/mmcsd-0, dest = NULL
media listener: event = PARTITION INQUIRY, state = INQUIRY, src = /dev/mmcsd-0, dest = NULL
media listener: event = PARTITION INQUIRY, state = SUCCESS, src = /dev/mmcsd-0, dest = NULL
media listener: event = PARTITION ATTACH, state = INQUIRY, src = /dev/mmcsd-0, dest = NULL
media listener: event = PARTITION ATTACH, state = SUCCESS, src = /dev/mmcsd-0, dest = /dev/mmcsd-0-0
media listener: event = MOUNT, state = INQUIRY, src = /dev/mmcsd-0-0, dest = NULL
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
media listener: event = MOUNT, state = SUCCESS, src = /dev/mmcsd-0-0, dest = /media/mmcsd-0-0
write file /media/mmcsd-0-0/test.txt
info: lo0: link state changed to UP
error opening file
ugen0.1: <Mentor Graphics OTG Root HUB> at usbus0
uhub0 on usbus0
uhub0: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Mentor Graphics OTG Root HUB> at usbus1
uhub1 on usbus1
uhub1: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
media listener open file: File exists
Successfully written to file
info: ftpd: FTP daemon started (4 sessions max)
info: telnetd: started successfully on port 23
RTEMS Shell on /dev/console. Use 'help' to list commands.
SHLL [/] # info: version 6.2.1 starting
err: no valid interfaces found
warning: no interfaces have a carrier
uhub0: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
ugen0.2: <Unknown > at usbus0 (disconnected)
SHLL [/] # ls
dev etc media var
SHLL [/] # cd media
SHLL [/media] # ls
mmcsd-0-0
SHLL [/media] # cd mmcsd-9-  0-0
SHLL [/media/mmcsd-0-0] # ls
SHLL [/media/mmcsd-0-0] # ls
SHLL [/media/mmcsd-0-0] # ls
SHLL [/media/mmcsd-0-0] # ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment