Giter Site home page Giter Site logo

jcmvbkbc / linux-xtensa Goto Github PK

View Code? Open in Web Editor NEW
134.0 134.0 27.0 2.6 GB

Linux port for xtensa architecture. None of these branches are stable.

License: Other

Makefile 0.20% C 98.35% Assembly 0.74% C++ 0.01% Shell 0.36% Perl 0.10% Awk 0.01% Python 0.19% UnrealScript 0.01% Yacc 0.01% Lex 0.01% Gherkin 0.01% XS 0.01% Roff 0.01% Clojure 0.01% M4 0.01% sed 0.01% SmPL 0.01% Raku 0.01% MATLAB 0.01%
xtensa

linux-xtensa's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linux-xtensa's Issues

SPI Implementation

I'm going to implement an SPI driver for the S3. There is an SPI driver that uses GPIO instead of the SPI hardware. This could allow for things like an SD card to be mounted.

ESP32-S3?

How do I run this on an ESP32-S3?

How to build for ESP32?

Hi. I was wondering how to build Linux for the ESP32 and how to flash and boot it on an ESP32. How do I do so?

GPIO implementation

What would it take for a GPIO driver to be made? I can't find the code @ESP32DE made in the original issue so I'm creating a new issue for this.

ESP32 UART RX support

Currently, the UART driver only support transmitting(TX).
Could you implement a proper driver that can also handle receiving(RX) on the UART?

I've implemented a very basic timer-based driver that works well enough to type a few commands(But is probably bad in various ways; I've never modified a kernel driver before). I've also added a IRQ driver, but never managed to get that to work(crashes on boot).

Xorg on S3

As suggested, I've made a separate issue for this.

SMP and IPI for ESP32-S3

IPI trigger is not a part of the esp32 interrupt matrix and it doesn't have to be a part of an interrupt controller in the device tree, it may be a standalone device.

So we need to find this device?

By 'device' I meant 'a node in the device tree'. The hardware itself is the system registers SYSTEM_CPU_INTR_FROM_CPU_*_REG.

I'd also suggest discussing it in a separate issue, as there's a lot of off-topic here already.

Originally posted by @jcmvbkbc in #5 (comment)

OpenCL support

I read that Xtensa HiFi 2 was used for AMD TrueAudio and there computing is sort of with OpenCL. Is Xtensa HiFi 2 an ASIC chip and is there compute support? In general, not just in OpenCL. And if so, will there be support in the OpenCL drivers?

Pocl replied that if a commit is sent to them, they can accept support in the project.

Xtensa HiFi 2/4

Hello Max,
Please help me - full understood support procedure add new audio codec decoder for Xtensa HiFi DSP.
If I.MX8 SOC support Tellisica HIFi4 core, it's possible add support new codec Dolby AC-4.

=============PS=================
Приветствую Макс,
Было отлично поговорить по русски.
Пытаюсь найти решение, чтобы SOC была возможность добавить поддержку Dolby AC-4 для использования одном из проектов по ATSC 3.0. Tellisica HIFi заявлена поддержка https://ip.cadence.com/ipportfolio/tensilica-ip/audio?cmp=pr091216_dolbyac4

Page allocation failure

After running the Linux around a day, there is a page allocation failure as below. During this period, I am forwarding a stream from UART to a remote server using nc. Please help me to fix it and my application needs to run 24/7.

E (86428606) wifi:null wpa_sta_ap_set_rsnxe
E (86437956) wifi:null wpa_sta_ap_set_rsnxe
[86554.227453] irq/5-600c0004.: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null)
[86554.228646] CPU: 0 PID: 29 Comm: irq/5-600c0004. Not tainted 6.8.0 #1
[86554.233113] Stack:
[86554.235243] > 00000100 00000000 3dbfbc00 423b8f69
[86554.239881] 423b8f69 3d87d11b 3dbfc000 3d8850a4
[86554.244551] 8217cfcf 3dbfbc50 00000000 3dbfc350
[86554.249458] 3dbfbc30 00000004 00000830 00060f00
[86554.254156] 8217d4c9 3dbfbc70 00000820 00000000
[86554.258700] > 3dbfbc8c 00000820 3dbfbca0 00000000
[86554.263303] 8217d525 3dbfbcf0 00000000 00000000
[86554.267990] > 00000000 000007c8 3d9574a0 00000110
[86554.272683] 3dbfbcd0 3dbfbcb0 0000000c 423b88b0
[86554.277369] 3dbfbc80 3d87d698 00000820 3d87d448
[86554.282043] 00000820 3dbfbcd0 3d86c0fc 00000000
[86554.286736] 3dbfbe90 3dbfbe50 00000000 00000000
[86554.291421] 3d87d698 3dbfa000 00000000 3d8c2a60
[86554.296094] 00000001 00000000 00000820 00000000
[86554.300809] 8217d56d 3dbfbd70 00000000 00000820
[86554.305482] > 0000000f 3d8c0002 3dbfc000 3d870204
[86554.310195] Call Trace:
[86554.312552] [<42372119>] 0x42372119
[86554.316149] [<4217cfcf>] 0x4217cfcf
[86554.319680] [<4217d4c9>] 0x4217d4c9
[86554.323216] [<4217d525>] 0x4217d525
[86554.326772] [<4217d56d>] 0x4217d56d
[86554.330325] [<4227be0d>] 0x4227be0d
[86554.333877] [<42268c02>] 0x42268c02
[86554.337449] [<4226b0b1>] 0x4226b0b1
[86554.341152] [<4225d3cc>] 0x4225d3cc
[86554.344572] [<42144d48>] 0x42144d48
[86554.348140] [<4213504e>] 0x4213504e
[86554.351673] [<421209b4>] 0x421209b4
[86554.356342] Mem-Info:
[86554.357545] active_anon:0 inactive_anon:0 isolated_anon:0
[86554.357545] active_file:1 inactive_file:1 isolated_file:0
[86554.357545] unevictable:15 dirty:0 writeback:0
[86554.357545] slab_reclaimable:178 slab_unreclaimable:1105
[86554.357545] mapped:0 shmem:0 pagetables:0
[86554.357545] sec_pagetables:0 bounce:0
[86554.357545] kernel_misc_reclaimable:0
[86554.357545] free:33 free_pcp:0 free_cma:0
[86554.394913] Node 0 active_anon:0kB inactive_anon:0kB active_file:4kB inactive_file:4kB unevictable:60kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB kernel_stack:336kB pagetables:0kB sec_pagetables:0kB all_unreclaimable? yes
[86554.419561] Normal free:132kB boost:0kB min:340kB low:424kB high:508kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:4kB inactive_file:4kB unevictable:60kB writepending:0kB present:8192kB managed:7328kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[86554.445055] lowmem_reserve[]: 0 0
[86554.447426] Normal: 334kB (U) 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 0*4096kB = 132kB
[86554.459128] 17 total pagecache pages
[86554.461577] 2048 pages RAM
[86554.464143] 0 pages HighMem/MovableOnly
[86554.468877] 216 pages reserved
[86554.490664] syslogd invoked oom-killer: gfp_mask=0x140cc0(GFP_USER|__GFP_COMP), order=0, oom_score_adj=0
[86554.491709] CPU: 0 PID: 52 Comm: syslogd Not tainted 6.8.0 #1
[86554.495628] Stack:
[86554.497776] > 00000100 00000000 3de8f9d0 423b8f69
[86554.502400] 423b8f69 3d87d11b 3dbff180 3d8850a4
[86554.507072] 8236fe74 3de8fa20 0000005c 3dbff4d0
[86554.511750] 3de8fa00 00000004 00000000 00060800
[86554.516445] 8216e6a7 3de8fa40 3de8fb10 4237b088
[86554.521121] > 00140cc0 3de8fb1c 00000000 00000000
[86554.525824] 8216ea7e 3de8fa90 3de8fb10 423b62c8
[86554.530504] > 3de8fa3c 00000001 3de8e000 3d88551c
[86554.535186] 3d87d70c 00000000 00000001 00000001
[86554.539870] 00000000 00000020 3de8e000 00000003
[86554.544565] 0000000a 00060200 3dee6400 3d87024c
[86554.549256] 8217d391 3de8fae0 3de8fb10 7fffffff
[86554.553925] > 00000020 00000000 00000000 00000000
[86554.558621] 00000000 ff001078 00000000 00140cc0
[86554.563313] 00000000 3d87d698 001408c0 3d87d448
[86554.568000] 3de8fae0 3d8816c0 3dee6400 00000000
[86554.572611] Call Trace:
[86554.575054] [<42372119>] 0x42372119
[86554.578612] [<4236fe74>] 0x4236fe74
[86554.582319] [<4216e6a7>] 0x4216e6a7
[86554.585733] [<4216ea7e>] 0x4216ea7e
[86554.589309] [<4217d391>] 0x4217d391
[86554.592839] [<4217d8cc>] 0x4217d8cc
[86554.596400] [<4216b88d>] 0x4216b88d
[86554.599966] [<4216d2e4>] 0x4216d2e4
[86554.603515] [<4216d3a9>] 0x4216d3a9
[86554.607104] [<421897f7>] 0x421897f7
[86554.610624] [<42189f65>] 0x42189f65
[86554.614194] [<4218a222>] 0x4218a222
[86554.617788] [<4218a447>] 0x4218a447
[86554.621300] [<4218ae38>] 0x4218ae38
[86554.624860] [<4218b419>] 0x4218b419
[86554.628445] [<421810e7>] 0x421810e7
[86554.631978] [<42181172>] 0x42181172
[86554.635535] [<42181188>] 0x42181188
[86554.639131] [<421208e0>] 0x421208e0
[86554.642671] [<4212066a>] 0x4212066a
[86554.678594] Mem-Info:
[86554.679287] active_anon:0 inactive_anon:0 isolated_anon:0
[86554.679287] active_file:0 inactive_file:1 isolated_file:0
[86554.679287] unevictable:15 dirty:0 writeback:0
[86554.679287] slab_reclaimable:178 slab_unreclaimable:1106
[86554.679287] mapped:0 shmem:0 pagetables:0
[86554.679287] sec_pagetables:0 bounce:0
[86554.679287] kernel_misc_reclaimable:0
[86554.679287] free:33 free_pcp:0 free_cma:0
[86554.710744] Node 0 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:60kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB kernel_stack:336kB pagetables:0kB sec_pagetables:0kB all_unreclaimable? no
[86554.743198] Normal free:136kB boost:0kB min:340kB low:424kB high:508kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:60kB writepending:0kB present:8192kB managed:7328kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.