local Res = Io.Res
local Hw = Io.Hw
Io.hw_add_devices(function()
prcm = Hw.Device(function()
compatible = {"ti,am3-prcm"};
Resource.regs = Res.mmio(0x44e00000, 0x44e03fff);
end);
edma = Hw.Device(function()
Property.hid = "EDMA";
compatible = {"ti,edma3"};
Resource.regs = Res.mmio(0x49000000, 0x4900ffff);
Resource.regs = Res.mmio(0x44e10f90, 0x44e10fcf);
Resource.irq = Res.irq(12);
Resource.irq = Res.irq(13);
Resource.irq = Res.irq(14);
end);
mmc1 = Hw.Device(function()
Property.hid = "MMC1";
compatible = {"ti,omap4-hsmmc"};
Resource.regs = Res.mmio(0x48060000, 0x48060fff);
Resource.irq = Res.irq(64);
-- Property.flags = Io.Hw_device_DF_dma_supported;
end);
mmc2 = Hw.Device(function()
Property.hid = "MMC2";
compatible = {"ti,omap4-hsmmc"};
Resource.regs = Res.mmio(0x481d8000, 0x481d8fff);
Resource.irq = Res.irq(28);
-- Property.flags = Io.Hw_device_DF_dma_supported;
end);
mmc3 = Hw.Device(function()
Property.hid = "MMC3";
compatible = {"ti,omap4-hsmmc"};
Resource.regs = Res.mmio(0x47810000, 0x47810fff);
Resource.irq = Res.irq(29);
-- Property.flags = Io.Hw_device_DF_dma_supported;
end);
i2c0 = Hw.Device(function()
Property.hid = "omap4-i2c0";
compatible = {"ti,omap4-i2c"};
Resource.regs = Res.mmio(0x44e0b000, 0x44e0bfff);
Resource.irq = Res.irq(70);
end);
i2c1 = Hw.Device(function()
Property.hid = "omap4-i2c1";
compatible = {"ti,omap3-i2c"};
Resource.regs = Res.mmio(0x4802a000, 0x4802afff);
Resource.irq = Res.irq(71);
end);
end)
Starting kernel ...
L4 Bootstrapper
Build: #32 Fri Jul 7 17:37:33 EDT 2017, 4.7.3
Scanning up to 256 MB RAM, starting at offset 32MB
Memory size is 256MB (80000000 - 8fffffff)
RAM: 0000000080000000 - 000000008fffffff: 262144kB
Total RAM: 256MB
Scanning fiasco
Scanning sigma0
Scanning moe
Moving up to 11 modules behind 81100000
moving module 02 { 819e0000-81a0949f } -> { 81ad0000-81af949f } [169120]
moving module 01 { 819ce000-819df33b } -> { 81abe000-81acf33b } [70460]
moving module 00 { 8194c000-819cd017 } -> { 81a3c000-81abd017 } [528408]
moving module 10 { 8164c000-8194bfff } -> { 8173c000-81a3bfff } [3145728]
moving module 09 { 811fa000-8164b47b } -> { 812ea000-8173b47b } [4527228]
moving module 08 { 81087000-811f98c7 } -> { 81177000-812e98c7 } [1517768]
moving module 07 { 8102d000-810866ab } -> { 8111d000-811766ab } [366252]
moving module 06 { 81013000-8102c463 } -> { 81103000-8111c463 } [103524]
moving module 05 { 81012000-810129d0 } -> { 81102000-811029d0 } [2513]
moving module 04 { 81011000-810112be } -> { 81101000-811012be } [703]
moving module 03 { 81010000-810102ff } -> { 81100000-811002ff } [768]
Loading fiasco
Loading sigma0
Loading moe
find kernel info page...
found kernel info page (via ELF) at 80002000
Regions of list 'regions'
[ 80000000, 80000187] { 188} Root mbi_rt
[ 80001000, 80001b7f] { b80} Kern fiasco
[ 80002000, 8008efff] { 8d000} Kern fiasco
[ 800c0000, 800c9cfb] { 9cfc} Sigma0 sigma0
[ 800d0000, 800d6177] { 6178} Sigma0 sigma0
[ 80140000, 8016eff3] { 2eff4} Root moe
[ 81000000, 8100f5a3] { f5a4} Boot bootstrap
[ 81100000, 81a3bfff] { 93c000} Root Module
found kernel options (via ELF) at 80003000
API Version: (87) experimental
Sigma0 config ip:800c0100 sp:00000000
Roottask config ip:80140260 sp:00000000
Starting kernel fiasco at 80001350
Hello from Startup::stage2
FPU: Initialize
FPU0: Subarch: 3, Part: 30, Rev: 3, Var: c, Impl: 41
SERIAL ESC: allocated IRQ 72 for serial uart
Not using serial hack in slow timer handler.
Welcome to L4/Fiasco.OC!
L4/Fiasco.OC microkernel on arm
Rev: unknown compiled with gcc 4.7.3 for AM33xx []
Build: #1 Mon Jun 26 12:21:04 EDT 2017
Calibrating timer loop... done.
MDB: use page size: 20
MDB: use page size: 12
SIGMA0: Hello!
KIP @ 80002000
allocated 4KB for maintenance structures
SIGMA0: Dump of all resource maps
RAM:------------------------
[4:80000000;80000fff]
[0:8008f000;800bffff]
[0:800ca000;800cffff]
[0:800d7000;8013ffff]
[4:80140000;8016efff]
[0:8016f000;810fffff]
[4:81100000;81a3bfff]
[0:81a3c000;8effffff]
IOMEM:----------------------
[0:0;7fffffff]
[0:90000000;ffffffff]
MOE: Hello world
MOE: found 235476 KByte free memory
MOE: found RAM from 80000000 to 8f000000
MOE: allocated 240 KByte for the page array @0x800d7000
MOE: virtual user address space [0-bfffffff]
MOE: rom name space cap -> [C:103000]
BOOTFS: [81100000-81100300] [C:105000] l4linux.cfg
BOOTFS: [81102000-811029d1] [C:109000] l4linux.devs
BOOTFS: [81103000-8111c464] [C:10b000] l4re
BOOTFS: [8111d000-811766ac] [C:10d000] ned
BOOTFS: [81177000-812e98c8] [C:10f000] io
BOOTFS: [812ea000-8173b47c] [C:111000] vmlinuz
BOOTFS: [8173c000-81a3c000] [C:113000] ramdisk-arm.rd
MOE: cmdline: moe rom/l4linux.cfg
MOE: Starting: rom/ned rom/l4linux.cfg
MOE: loading 'rom/ned'
Ned says: Hi World!
Ned: loading file: 'rom/l4linux.cfg'
IO | Io service
IO | Verboseness level: 4
IO | unused physical memory space:
IO | [00000000000000-0000007fffffff]
IO | [00000090000000-000000ffffffff]
IO | no 'iommu' capability found use CPU-phys for DMA
IO | Loading: config 'rom/l4linux.devs'
IO | WARNING: device 'mmc1' already assigned to another virtual bus.
IO | WARNING: device 'mmc1' already assigned to another virtual bus.
IO | WARNING: device 'mmc2' already assigned to another virtual bus.
IO | WARNING: device 'mmc2' already assigned to another virtual bus.
IO | WARNING: device 'mmc3' already assigned to another virtual bus.
IO | WARNING: device 'mmc3' already assigned to another virtual bus.
IO | WARNING: device 'mmc1' already assigned to another virtual bus.
IO | WARNING: device 'mmc1' already assigned to another virtual bus.
IO | WARNING: device 'mmc2' already assigned to another virtual bus.
IO | WARNING: device 'mmc2' already assigned to another virtual bus.
IO | WARNING: device 'mmc3' already assigned to another virtual bus.
IO | WARNING: device 'mmc3' already assigned to another virtual bus.
IO | WARNING: device 'i2c0' already assigned to another virtual bus.
IO | WARNING: device 'i2c0' already assigned to another virtual bus.
IO | Real Hardware -----------------------------------
IO | System Bus: hid=
IO | Resources: ==== start ====
IO | DMADOM [00000000000000-00000000000000 1] non-pref (32bit) (align=0 flags=6)
IO | Resources: ===== end =====
IO | mmc1: hid=MMC1
IO | Clients: ===== start ====
IO | mmc3[1]: [N2Vi9Proxy_devE]
IO | mmc2[1]: [N2Vi9Proxy_devE]
IO | mmc1[1]: [N2Vi9Proxy_devE]
IO | Clients: ===== end ====
IO | Resources: ==== start ====
IO | IOMEM [00000048060000-00000048060fff 1000] non-pref (32bit) (align=fff flags=2)
IO | IRQ [00000000000040-00000000000040 1] none (32bit) (align=0 flags=1)
IO | Resources: ===== end =====
IO | i2c1: hid=omap4-i2c1
IO | Clients: ===== start ====
IO | i2c1[1]: [N2Vi9Proxy_devE]
IO | Clients: ===== end ====
IO | Resources: ==== start ====
IO | IOMEM [0000004802a000-0000004802afff 1000] non-pref (32bit) (align=fff flags=2)
IO | IRQ [00000000000047-00000000000047 1] none (32bit) (align=0 flags=1)
IO | Resources: ===== end =====
IO | mmc2: hid=MMC2
IO | Clients: ===== start ====
IO | mmc3[2]: [N2Vi9Proxy_devE]
IO | mmc2[2]: [N2Vi9Proxy_devE]
IO | mmc1[2]: [N2Vi9Proxy_devE]
IO | Clients: ===== end ====
IO | Resources: ==== start ====
IO | IOMEM [000000481d8000-000000481d8fff 1000] non-pref (32bit) (align=fff flags=2)
IO | IRQ [0000000000001c-0000000000001c 1] none (32bit) (align=0 flags=1)
IO | Resources: ===== end =====
IO | mmc3: hid=MMC3
IO | Clients: ===== start ====
IO | mmc3[3]: [N2Vi9Proxy_devE]
IO | mmc2[3]: [N2Vi9Proxy_devE]
IO | mmc1[3]: [N2Vi9Proxy_devE]
IO | Clients: ===== end ====
IO | Resources: ==== start ====
IO | IOMEM [00000047810000-00000047810fff 1000] non-pref (32bit) (align=fff flags=2)
IO | IRQ [0000000000001d-0000000000001d 1] none (32bit) (align=0 flags=1)
IO | Resources: ===== end =====
IO | edma: hid=EDMA
IO | Clients: ===== start ====
IO | edma: [N2Vi9Proxy_devE]
IO | Clients: ===== end ====
IO | Resources: ==== start ====
IO | IOMEM [00000044e10f90-00000044e10fcf 40] non-pref (32bit) (align=3f flags=2)
IO | IRQ [0000000000000e-0000000000000e 1] none (32bit) (align=0 flags=1)
IO | Resources: ===== end =====
IO | i2c0: hid=omap4-i2c0
IO | Clients: ===== start ====
IO | i2c1[2]: [N2Vi9Proxy_devE]
IO | i2c0: [N2Vi9Proxy_devE]
IO | Clients: ===== end ====
IO | Resources: ==== start ====
IO | IOMEM [00000044e0b000-00000044e0bfff 1000] non-pref (32bit) (align=fff flags=2)
IO | IRQ [00000000000046-00000000000046 1] none (32bit) (align=0 flags=1)
IO | Resources: ===== end =====
IO | prcm: hid=
IO | Clients: ===== start ====
IO | prcm: [N2Vi9Proxy_devE]
IO | Clients: ===== end ====
IO | Resources: ==== start ====
IO | IOMEM [00000044e00000-00000044e03fff 4000] non-pref (32bit) (align=3fff flags=2)
IO | Resources: ===== end =====
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc2[1]
IO | /l4linux/mmc3[1]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc1[1]
IO | /l4linux/mmc3[1]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc1[1]
IO | /l4linux/mmc2[1]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc2[2]
IO | /l4linux/mmc3[2]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc1[2]
IO | /l4linux/mmc3[2]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc1[2]
IO | /l4linux/mmc2[2]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc2[3]
IO | /l4linux/mmc3[3]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc1[3]
IO | /l4linux/mmc3[3]
IO | warning: conflicting virtual clients:
IO | /l4linux/mmc1[3]
IO | /l4linux/mmc2[3]
IO | warning: conflicting virtual clients:
IO | /l4linux/i2c0
IO | /l4linux/i2c1[2]
IO | warning: could not register control interface at cap 'platform_ctl'
IO | Ready. Waiting for request.
PH 0 offs=00008000 flags=rwx PH-type=0x1
virt=02000000 evirt=024bd81c
phys=02000000 ephys=024bd81c
f_sz=00435512 memsz=004bd81c
PH 1 offs=003eb0c8 flags=r-x PH-type=0x4
virt=023e30c8 evirt=023e30ec
phys=023e30c8 ephys=023e30ec
f_sz=00000024 memsz=00000024
PH 2 offs=00000000 flags=rwx PH-type=0x6474e551
virt=00000000 evirt=00000000
phys=00000000 ephys=00000000
f_sz=00000000 memsz=00000000
Starting binary at 0x2000318, argc=7 argv=0xafff4f8c *argv=0xb1007ff4 argv0=rom/vmlinuz
External resolver is at 0xa80007fc
Symbol 'l4x_srv_init' not found
L4Re[rm]: unhandled read page fault at 0x4 pc=0x0
L4Re: unhandled exception: pc=0x0 (pfa=0)
L4Re: Global::l4re_aux->ldr_flags=0
At this point I have no idea what to do any help will be much appreciated! Thank you very much!