Skip to content

Instantly share code, notes, and snippets.

HELLO! BOOT0 is starting!
boot0 version : 3.0.0
reg_addr 0x01f00100 =0x00000000
reg_addr 0x01f00104 =0x00000000
reg_addr 0x01f00108 =0x00000000
reg_addr 0x01f0010c =0x00000000
reg_addr 0x01f00110 =0x00000000
reg_addr 0x01f00114 =0x00000000
[DRAM]ver 0.8 clk = 480
dram ok
@wens
wens / a23-u-boot-fel
Last active August 29, 2015 13:57
A23 boot to FEL mode log
HELLO! BOOT0 is starting!
boot0 version : 3.0.0
reg_addr 0x01f00100 =0x00000000
reg_addr 0x01f00104 =0x00000000
reg_addr 0x01f00108 =0x00000000
reg_addr 0x01f0010c =0x00000000
reg_addr 0x01f00110 =0x00000000
reg_addr 0x01f00114 =0x00000000
[DRAM]ver 0.8 clk = 480
dram ok
@wens
wens / a23-u-boot-dump-ccmu
Created April 7, 2014 08:14
A23 CCMU dump from stock U-boot
sunxi#md 01c20000 c0
01c20000: 90001410 00000000 00035514 00000000 ........0U......
01c20010: 92000b00 00000000 03006207 00000000 .........b......
01c20020: 90001301 00000000 90041811 00000000 ................
01c20030: 03006207 00000000 03006207 00000000 .b.......b......
01c20040: 90c00012 03001300 91001200 00000000 ................
01c20050: 00020102 00003180 01000000 00000000 .....1..........
01c20060: 00006040 02001010 00000020 00010000 @`...... .......
01c20070: 00000000 00000000 00000000 00000000 ................
01c20080: 81000009 00000000 00000000 00000000 ................
@wens
wens / a23-u-boot-dram
Created April 7, 2014 08:22
A23 DRAM controller memory dump from U-Boot
sunxi#md 01c62000 c0
01c62000: 000318e4 00080000 00000000 00000000 ................
01c62010: 00000008 0001000d 00000004 00000080 ................
01c62020: 00000004 00000019 00000004 00000080 ................
01c62030: 00000004 01010040 00000004 0001002f ....@......./...
01c62040: 00000004 00010020 00000004 00010020 .... ....... ...
01c62050: 00000008 00000001 00000008 00000005 ................
01c62060: 00000008 00000003 00000008 00000005 ................
01c62070: 00000008 00000003 000 0008 00000004 ................
01c62080: 00000008 00000002 00000008 00000003 ................
@wens
wens / a23-u-boot-prcm
Created April 7, 2014 08:29
A23 PRCM dump from stock U-boot
sunxi#md 01f01400 40
01f01400: 00010000 00000000 00000000 00000000 ................
01f01410: 00000000 00000000 00000000 00000000 ................
01f01420: 00000000 00000000 00000009 00000001 ................
01f01430: 00000000 00000000 00000000 00000000 ................
01f01440: 00101013 00070007 00000000 00000000 ................
01f01450: 00000000 00000000 00000000 00000000 ................
01f01460: 00000000 00000000 00000000 00000000 ................
01f01470: 00000000 00000000 00000000 00000000 ................
01f01480: 00000000 00000000 00000000 00000000 ................
@wens
wens / cubieboard-mmc-cd-hang
Created April 15, 2014 09:50
Cubieboard 1 MMC card detect hang stack trace
kworker/u2:0 D c043c9e4 0 6 2 0x00000000
Workqueue: kmmcd mmc_rescan
[<c043c9e4>] (__schedule) from [<c043c410>] (schedule_timeout+0x178/0x1f4)
[<c043c410>] (schedule_timeout) from [<c043d6c0>] (wait_for_common+0xc8/0x170)
[<c043d6c0>] (wait_for_common) from [<c02c2b90>] (mmc_wait_for_req+0xb0/0x154)
[<c02c2b90>] (mmc_wait_for_req) from [<c02c2cb0>] (mmc_wait_for_cmd+0x7c/0x9c)
[<c02c2cb0>] (mmc_wait_for_cmd) from [<c02cc1f0>] (mmc_io_rw_direct_host+0x98/0x124)
[<c02cc1f0>] (mmc_io_rw_direct_host) from [<c02cc700>] (sdio_reset+0x2c/0x64)
[<c02cc700>] (sdio_reset) from [<c02c48a4>] (mmc_rescan+0x230/0x2c0)
[<c02c48a4>] (mmc_rescan) from [<c00323ec>] (process_one_work+0x110/0x368)
@wens
wens / ct_multi_v7
Last active August 29, 2015 14:01
Cubietruck multi_v7_defconfig boot log
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.15.0-rc7-next-20140526-00001-gf868a93-dirty (wens@mirror2) (gcc version 4.7.2 (Debian 4.7.2-5) ) #324 SMP Tue May 27 12:12:20 CST 2014
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Cubietech Cubietruck
[ 0.000000] cma: CMA: reserved 64 MiB at 6b800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 524288
[ 0.000000] free_area_init_node: node 0, pgdat c0c1c540, node_mem_map ea7d9000
[ 0.000000] DMA zone: 1520 pages used for memmap
@wens
wens / munin-fastcgi.conf
Last active August 29, 2015 14:03
Munin FastCGI config
url.rewrite-once += (
"^/munin/(.*)" => "/munin-cgi/munin-cgi-html/$1"
)
alias.url += ( "/munin-cgi/munin-cgi-html/static/" => "/etc/munin/static/" )
expire.url += ( "/munin-cgi/munin-cgi-html/static/" => "modification plus 310 seconds" )
fastcgi.server += (
"/munin-cgi/munin-cgi-graph" =>
( "munin-cgi-graph" => (
@wens
wens / gist:e02cf58080784ba0cf3d
Created September 12, 2014 11:23
a31 fastboot
set address 0x9
[ 38.898]SUNXI_USB_FASTBOOT_SETUP
[ 38.901]fastboot command = download:009c8000
[ 38.906]download
Starting download of 10256384 BYTES
Starting download of 9 MB
download response: DATA009c8000
[ 39.485]fastboot transfer finish
[ 39.489]SUNXI_USB_FASTBOOT_SETUP
[ 39.492]fastboot command = boot
@wens
wens / a31_dmatest.txt
Created September 21, 2014 08:23
A31 DMA test without AHB1 muxed to PLL6
root@debian:/sys/module/dmatest/parameters# grep . /sys/module/dmatest/parameters
/sys/module/dmatest/parameters/channel:dma0chan1
/sys/module/dmatest/parameters/iterations:10
/sys/module/dmatest/parameters/max_channels:0
/sys/module/dmatest/parameters/noverify:N
/sys/module/dmatest/parameters/pq_sources:3
/sys/module/dmatest/parameters/run:N
/sys/module/dmatest/parameters/test_buf_size:131072
/sys/module/dmatest/parameters/threads_per_chan:1
/sys/module/dmatest/parameters/timeout:3000