anonymoustemp
-
Posts
8 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by anonymoustemp
-
-
2 hours ago, chwe said:
going through the links spotted something for @martinayotte (and maybe @TonyMac32)
there's a a patchset for upstream u-boot for the ram part.. as OP says it's not running stable.. but at least they got upstream u-boot up.. maybe worth a look as well.. to clean the rk u-boot mess asap.
Unfortunately, that's from myself and the you can see the original author mentioned that it's just a basic setup.
In fact, upstream Uboot, even just using evb board config, can boot on that RockPro64.
While USB doesn't work in that case and no sdcard support, only eMMC and ethernet, and I haven't tested eMMC.
With that commit, I ran into the ram issue.
-
The armbian idbloader/uboot/trust combo survives at least one loop.
While my bad upstream uboot build can not even survive 10 tests of a single loop.
Armbian community/build rocks!
And here is my feedback to Armbian:
Upstream kernel works relatively well with armbian uboot.
What I have tested:
- boot (WORKING)
- SDcard (WORKING)
- git checkout for mesa (WORKING)
- memtester, still running at least one loop passed (WORKING)
- base system upgrade (WORKING)
- ethernet (WORKING)
- USB2.0 and 3.0 port (WORKING)
- PCIE slot, no root complex, although PCIE power is on (NOT WORKING)
What I haven't tested yet but will test soon:
- Memory performance (upstream alarm vs armbian, armbian uboot)
- LLVMpipe wayland/X11
- Maybe some basic audio test on that 3.5mm jack
- eMMC (will take some time for that purchase)
What I won't test:
- Blob X11/wayland, I just hate blob, especially when I just want a NAS build
- BT/Wireless, Just don't want to spend extra money on a NAS.
- GPIO headers, the same reason.
Now it's my turn to "steal" some juice from the armbian/ayumi uboot branch for alarm.
But AFAIK for nas build, I still need to use armbian legacy kernel for a while.
-
5 minutes ago, chwe said:
Are you currently on RCs for your rockpro? Didn't this guy just hit mainline?
http://lists.infradead.org/pipermail/linux-rockchip/2019-April/023867.html
Not in rc5 nor rc6 yet.
6 minutes ago, chwe said:ram on rk3399 is a painful story and the main reason why we have two boardfamilies here.. one based on upstream u-boot (rk3399), and one based on bsp u-boot (rockchip64). Yours is part of the second..
Just saw the rockchip wiki mentioning it's *UBoot* initialize the memory controller, so bad Uboot build and bad that upstream patch.
I'm just taking the shortcut to use the armbian idbloader/uboot combo and running Archlinux Arm kernel to test if the v5.0.8 works.
Will report back soon.
-
Hopes this will be the last question.
What's the armbian recommended test suit for SBCs?
As I have only focused on fs so far, the main suits are fstests, LTP and bcc (for error injection and performance analyse).
It would be a good idea to have a simple suit to test stability (maybe just LTP?)
Thanks.
-
23 minutes ago, Igor said:
More people means more pressure (more wasted time) to already small and scattered developers base. I estimate that ratio is already very toxic, at least 1000 end-users on 1 developer. Most of end-users have no clue how much work is needed and they are usually reporting stupid, repeated and irrelevant things. We, on the other hand, are wasting time with educating, communicating to and support people and people are frustrated that things doesn't just work. And we are frustrated since its hard and expensive to deal with this complexity and people are not grateful ... even just a few regulars are investing 20-50 hours per day into the project which is public and everyone benefits at the end. This time is covered way way below 1% which means all project costs are covered from our private budget. And users again expect a services worth millions of dollars.
Thank you very much for such information.
As I'm completely new to SBC community, and the huge different from my previous kernel experience indeed surprises me.
Now it totally makes sense.
25 minutes ago, Igor said:Armbian mainline support goes this way - 1st stage, we attach or create own development branch and stay on that until difference with mainline becomes manageable. Then base source is switched to mainline and diff is added with patches. When things progress, patches are getting removed when they start to appear in the mainline. Ofc in reality this looks a lot more messy, but you get the idea. It's much more manageable.
Makes sense for the situation.
I'll check the branch to see if I can find something related and test.
And explore the armbian repo to find some clue with the Uboot/firmware (which is my current assumption of the strange crash).
Thank you again for the detailed explanation on the workflow.
-
20 minutes ago, Igor said:
Which is normal and expected. RK3399 mainline support is far away from stable.
That's what I didn't expect at all.
Shouldn't upstream get more review and tests? Or it's a completely different case for ARM world?
Quotemost promising up-streaming branch.
That branch looks pretty promising, although some commits don't meet upstream standard just by a quick glance.
But still it provides a pretty good clue for me to look into the random hang.
It pretty much limits the modification to a reviewable size, which is a huge leap compared to legacy kernel.
Thank you very much for the info.
-
Hi,
I got my RockPro64 board several days ago, and got *UPSTREAM* kernel (v5.1-rc5) and uboot (v2019.04) running on it using Archlinux ARM. (Sorry guys, I like upstream and Alarm more)
The pull request for uboot-rockpro64 can be found here:
https://github.com/archlinuxarm/PKGBUILDs/pull/1691
The upstream kernel is in the official core repor of Archlinuxarm (and that's why I like Alarm so much).
It boots and runs mostly OK on full upstream kernel/u-boot setup.
On rc-kernel it even has HDMI output working, but no hardware acceleration. I'm waiting panfrost as the open-source driver, so far it doesn't matter much as I don't plan to use it with X11/wayland anyway.
But it's awesome that you can just run GNOME3 on wayland, using llvmpipe.
And I even compiled mesa with panfrost natively on that board, so the future looks super bright.
However the biggest problem I hit is, upstream (5.0.8 and 5.1-rc5) kernel has random panic.
The panic itself is Async SError, and mostly happens for memory heavy operations (memtester and heavy file operations like checking out the whole kernel code).
The last panic I hit has no meaningful kernel calltrace, just el0_error_naked (user space triggered, and memtester is running)
At first I thought it's faulty ram, but when using the rockchip kernel from Armbian, it no longer crashes any more.
I have no clue what's going wrong, device tree? idbloader? trust.img? Uboot? Or just upstream kernel sucks? (I really hate to admit the last one)
Is there any upstream kernel precompiled in armbian for me to test so I could rule out one more problem?
Thanks.
ayufan rock64 mainline PCIE initialization failure
in Pine RockPro64
Posted
5.1.0-1111-ayufan tag.
Kernel crash when PCIE card is installed (thus pcie host root complex initialize).
Will try previous tags soon, BTW, if anyone successfully run the "mainline" kernel with PCIE cards?