ovacikar Posted March 30 Posted March 30 (edited) Armbianmonitor: https://paste.armbian.com/editiqaxim I have flashed the last 23.8 bookworm lite image to my lepotato 1GB model, and it launched with 927 MB total memory. running apt update ; apt upgrade ; reboot it drops to 862M How can I reclaim the remaining memory? This is mostly a headless server i do not need any GPU. just basic hdmi output for troubleshooting purposes. before: Welcome to Armbian 23.8.1 Bookworm with Linux 6.1.50-current-meson64 System load: 8% Up time: 4 min Memory usage: 13% of 927M IP: CPU temp: 48°C Usage of /: 4% of 29G After: Welcome to Armbian 24.2.1 Bookworm with Linux 6.6.16-current-meson64 System load: 19% Up time: 1 min Memory usage: 13% of 862M IP: Edited March 31 by ovacikar 0 Quote
SteeMan Posted March 30 Posted March 30 My suggestion since I assume you don't have an armbianmonitor output from before your upgrade, would be to use armbian-config and go back to a 6.1 kernel and see if it is the kernel that is causing the difference. If so then provide an armbianmonitor output with the old kernel and look at the memory info in the output to see where the difference is. 0 Quote
ovacikar Posted March 30 Author Posted March 30 It does not let me roll back kernel, but offers me a newer kernel. I could just flash the image again and freeze the armbian kernel upgrades to stay on 6.1 ? 0 Quote
Werner Posted March 30 Posted March 30 16 minutes ago, SteeMan said: u don't have an armbianmonitor output from before your upgrade Actually there is. ### meminfo: MemTotal: 949752 kB And after: ### meminfo: MemTotal: 882904 kB Maybe uboot issue with memory detection? 0 Quote
c0rnelius Posted March 30 Posted March 30 The 6.6.y kernel for reasons I have yet to figure out reads the MEM wrong. 6.7 and up is not affected by this. Nor is 6.1 to 6.5. I would have thought after so many REVS this would have been resolved, but I have yet to see it come up as a topic of discussion. This in my experience is also not PLATFORM specific. It happens on all my boards regardless of SoC and PLATFORM. 0 Quote
c0rnelius Posted March 31 Posted March 31 Add this to your cmdline. swiotlb=0 https://github.com/raspberrypi/linux/commit/3e0065d1cb5bd58e35e0c7722ffe6303dfe0364f 0 Quote
ovacikar Posted March 31 Author Posted March 31 (edited) Thanks, I am in a change freeze now on stable 6.1 kernel , will revisit after Apr 8th. Edited March 31 by ovacikar 0 Quote
ovacikar Posted April 5 Author Posted April 5 (edited) Where was I supposed to apply this, /boot/armbianEnv.txt ? so far no luck, memtotal 882 MB again https://paste.armbian.com/ereciriyon Edited April 5 by ovacikar 0 Quote
Solution c0rnelius Posted April 6 Solution Posted April 6 Try adding it this way. extraargs=swiotlb=0 0 Quote
ovacikar Posted April 7 Author Posted April 7 (edited) Yes , this fixed the memory . Thanks ! I can no longer edit the post subject - to mark it solved. Edited April 9 by ovacikar 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.