Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-31 | reform: only override console=0 when no plan9.ini is passed | cinap_lenrek | |
The kernel used to always set console=0, which as usefull during bring-up, but makes it impossible to use the uart for other purposes. We now have the ability to pass plan9.ini using the u-boot script, so add the console=0 line there. To make debugging easy, we still apply console=0 if no plan9.ini has been passed. | |||
2022-09-25 | devpci: provide a #$ device for PCI config access | cinap_lenrek | |
We want to provide userspace PCI config space access on platforms that have PCI, but do not have ISA bus. For this, provide a stripped down version of devpnp, wiht only the pci support that can then be used by pi4 (bcm64) and reform (imx8) kernels. | |||
2022-09-07 | imx8/pm: provide acpi(1)-compatible battery readings | Sigrid Solveig Haflínudóttir | |
2022-09-05 | imx8/lcd: rework screen blanking | Sigrid Solveig Haflínudóttir | |
The previously reverted change has been reworked - things get shut down in the right order, with clocks gated. A lock is no longer needed either. The combined effect is ~25mA saved when screen is off, compared to no changes. | |||
2022-09-04 | imx8/clock: 1.6Ghz - forgot to push the rest of the change | Sigrid Solveig Haflínudóttir | |
2022-09-03 | imx8: go back to 1.6Ghz | Sigrid Solveig Haflínudóttir | |
2022-09-02 | imx8/lcd: disable the bridge output on blank | Sigrid Solveig Haflínudóttir | |
Disabling LCDIF often produces flickering output at the top of the LCD panel (timings going wrong?). Instead, just disable the output on the bridge, which is much simpler, doesn't seem to cause any issues, and saves enough power just as well. | |||
2022-09-01 | imx8/lcd: toggle lcdif on blankscreen | Sigrid Solveig Haflínudóttir | |
Stop DOTCLK on interrupt after the current frame is done, toggle PWM2. | |||
2022-08-30 | revert a3dc4d80a899b28130729721b90a0506e44b8d76, didnt work, back to iprint() | cinap_lenrek | |
2022-08-29 | imx8/sai: reduce watermark; use the fifo size reported by the platform; ↵ | Sigrid Solveig Haflínudóttir | |
remove useless stuff | |||
2022-08-25 | imx8: invalidate l2 cache as well (fixes not fully cleared BSS on cold boot) | Sigrid Solveig Haflínudóttir | |
2022-08-21 | imx8: 1.5Ghz turbo | cinap_lenrek | |
2022-08-21 | imx8: use print() instead of iprint() for cpuidprint(), so it gets logged in ↵ | cinap_lenrek | |
kmesg | |||
2022-08-21 | imx8: disable turbo mode, set to 1.4GHz which is stable on first boot | Sigrid Solveig Haflínudóttir | |
2022-08-20 | imx8/sai, aux/wm8960: expose jack detect status in #A/audiostat | Sigrid Solveig Haflínudóttir | |
2022-08-20 | imx8/gpio: missed change in the previous commit | Sigrid Solveig Haflínudóttir | |
2022-08-20 | imx8/gpio: add interrupt handlers support | Sigrid Solveig Haflínudóttir | |
2022-08-19 | imx8/sai: flush the ring on close to avoid garbage leftovers on restarts | Sigrid Solveig Haflínudóttir | |
2022-08-19 | imx8/sai: do not strangle the core with interrupts on underruns | Sigrid Solveig Haflínudóttir | |
2022-08-18 | imx8/sai: double the delay; set clock explicitly | Sigrid Solveig Haflínudóttir | |
2022-08-18 | imx8/sai: increase watermark, run in slave mode, continue on fifo errors | Sigrid Solveig Haflínudóttir | |
2022-08-17 | imx8: add a semi-working SAI2 audio driver | Sigrid Solveig Haflínudóttir | |
2022-08-17 | kernel: allocate notes in heap | cinap_lenrek | |
de-bloat the proc structure by allocating notes with on the heap instead of embedding them in the proc structure. This saves around 640 bytes per process. | |||
2022-08-17 | kernel: simplify notify() adding common popnote() function | cinap_lenrek | |
Handlin notes is common for all architectures except how the note has to be pushed on the user stack. This change adds a popnote() function that returns only the note string or nil if the process should not be notified (no notes or user notes hold off). Popnote() also handles common errors like notify during note handling or missing note handler and will suicide the process in that case. | |||
2022-08-16 | imx8/usbxhciimx: fix a set and not used warning | Sigrid Solveig Haflínudóttir | |
2022-08-15 | imx8: enable/expose tmu | Sigrid Solveig Haflínudóttir | |
2025-05-14 | kernel: get rid of Proc.kstack | glenda | |
The kernel stack is now above the Proc structure, so the explicit kstack pointer can be eliminated. | |||
2022-08-12 | 9: compute available kernel pages using sizeof(Proc*) | Ori Bernstein | |
procs come from the dynamic pools, so we don't need to remove the memory used by possible procs from the total available. | |||
2022-08-10 | 9/port: allow kiloprocs -- allocate procs lazily | Ori Bernstein | |
Treallocate the small data structures around procs eagerly, but use malloc to allocate the large proc data structures when we need them, which allows us to scale to many more procs. There are still many scalability bottlenecks, so we only crank up the nproc limit by a little bit this time around, and crank it up more as we optimize more. | |||
2022-08-08 | imx8: add aux/imx8pm with lcd brightness control | Sigrid Solveig Haflínudóttir | |
2022-07-31 | usb: fix ehci isochronous "in" split transactions | cinap_lenrek | |
For "in" transactions, the "Total Bytes to Transfer" field in the siTD is decremented by the controller by the actual transfer size, so what remains in the field is the residue number of bytes. Also, handle restart when we get a zero byte read on a isochronous "in" endpoint in devusb itself (removing the restart code for xhci drivers). This fixes audio recording with a usb1.1 audio device connected to ehci controller. | |||
2022-07-30 | imx8: increase cpu frequency from 1.4 to 1.6ghz | cinap_lenrek | |
the RM seems to be outdated in this regard, saying the core is targeted at 1.4ghz. | |||
2022-07-21 | devrtc: fix mistake. | cinap_lenrek | |
2022-07-20 | imx8: add simple i2c rtc driver for NXP PCF8523 | cinap_lenrek | |
datasheet: http://nxp.com/docs/en/data-sheet/PCF8523.pdf | |||
2022-07-18 | kernel: consistently add devbridge and netdevmedium to kernel configs | cinap_lenrek | |
2022-07-14 | imx8: gic: irqenable → intrenable | Sigrid Solveig Haflínudóttir | |
2022-07-12 | imx8: fix reduced lcdif pix clk workaround by enabling underflow recovery | Sigrid Solveig Haflínudóttir | |
2022-07-10 | imx8: load a plan9.ini at CONFADDR 0x40010000 | cinap_lenrek | |
2022-07-10 | imx8: reset lcdif and sn65sdi86 bridge before init | cinap_lenrek | |
2022-07-10 | imx8: get mac address from OTP rom | cinap_lenrek | |
2022-07-10 | imx8: cleanup mem.h | cinap_lenrek | |
2022-07-10 | imx8: implement /dev/reboot support | cinap_lenrek | |
2022-07-09 | imx8: fix fracpll code, enable 1.4Ghz turbo for arm | cinap_lenrek | |
2022-07-09 | imx8: detect cpu lcycles() frequency | cinap_lenrek | |
2022-07-09 | imx8: set virtual timer offset to zero for all cores | cinap_lenrek | |
we want CNTVCT_EL0 to be the same on all cores, so we set the offset the same so it effectively becomes the system counter. | |||
2022-07-09 | imx8: turn backlight off when blanking | cinap_lenrek | |
2022-07-04 | imx8: ccm: fix sai copy-paste typos | Sigrid Solveig Haflínudóttir | |
2022-07-03 | imx8: qos magic to avoid interference between pcie and lcdif | cinap_lenrek | |
when writing to the nvme ssd, the screen can glitch out. found this in linux lcdif driver (mxcfb) that appears to resolve the issue. the QoSc registers are all completely undocumented tho :-( | |||
2022-07-03 | imx8: less stupid pci interrupt handler | cinap_lenrek | |
2022-07-03 | imx8: pcie and nvme support | cinap_lenrek | |