On 13.03.16 16:03, Matwey V. Kornilov wrote:
> 
> [    1.700159] devtmpfs: error mounting -2
> [    1.706736] Freeing unused kernel memory: 1320K (c1034000 - c117e000)
> [    1.713459] Kernel panic - not syncing: No working init found.  Try
> passing init= option to kernel. See Linux Documentation/init.txt for
> guidance.
> [    1.726667] CPU: 0 PID: 1 Comm: swapper/0 Not tainted
> 4.5.0-rc7-1.g924f2b7-default #1
> [    1.734535] Hardware name: Generic AM33XX (Flattened Device Tree)
> [    1.740722] [<c0227b90>] (unwind_backtrace) from [<c0220c50>]
> (show_stack+0x20/0x28)
> [    1.748530] [<c0220c50>] (show_stack) from [<c0586f3c>]
> (dump_stack+0x98/0xac)
> [    1.755816] [<c0586f3c>] (dump_stack) from [<c037f440>] (panic+0xec/0x270)
> [    1.762745] [<c037f440>] (panic) from [<c0b20a90>]
> (__irq_alloc_descs+0x0/0x1d8)
> [    1.770205] Rebooting in 90 seconds..
> 
> However, md.b 0x812bfc30 shows zeroes. It would be great to learn how
> to properly use it.

Maybe it's the wrong address after all. Try to run "nm" on the vmlinux
binary (should be gzipped in /boot) and check for all occurences of
log_buf (and __log_buf). 0xc0000000 is the "start of physical memory" in
Linux. Since your SoC starts ram at 0x80000000, all you need to do is
replace the c with an 8.


Alex
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to