-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidated beagle V support pull #281
Conversation
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Update the boot process to follow the HiFive1. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
They dont yet build with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
This lends the system non-bootable as kernel waits for rootfs media forever like below [ 2.011165] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125) [ 2.051162] mmc_host mmc1: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125) [ 2.311113] dw_mmc 10010000.sdio1: Unexpected interrupt latency [ 4.871335] Waiting for root device /dev/mmcblk0p2... Signed-off-by: Khem Raj <raj.khem@gmail.com>
Note that @esmil has restart driver working in his v5.12.x branch. This needs to be pulled into starfive-tech/linux: |
e0980c6
to
ce3584b
Compare
do_deploy need to execute from sstate-cache when the build directory is empty and system determines that there is no change to u-boot and it can be reused from sstate, in this scenario deploydir needs to populate properly, so we can not use WORKDIR in logic Activate u-boot and opensbi only for beaglev-starlight-jh7100 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
thanks @pdp7 I think this will be a good option to try and also see if we can get the crashes resolved that we are seeing |
@macpijan can you try |
with busyboxinit/glibc the system is still seeing glibc segfaults but at least it does not crash the kernel but I cant login either
So still looking for ways to debug this |
Possibly the Ehternet issue is fixable with: starfive-tech/Fedora_on_StarFive#2 (comment) ? |
@kraj It gets me to the prompt with
|
thanks, so can you try the mii-tools workaround and validate it on musl image ? |
@kraj It does not help. It looks like a different kind of issue. I also applied first the mentioned change first (enabled CONFIG_MICREL_PHY instead of the CONFIG_MARVELL_PHY) EDIT: I also tried with different devicetree patches (from here: starfive-tech/linux#8 (comment)) with the same effect. |
so I tried booting exact same rootfs ext4 on
this will use qemu kernel + beagleV rootfs |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Glibc based images end up crashing the kernel in init until thats debugged through lets use musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
got
|
@alistair23 should we merge this pull as it gets us somewhere and then send improvements in pieces? |
I think so |
it seems system time is not being get/set correctly which is causing
now the time is really incorrect and that's what trips glibc. |
For sake of completeness, its all fixed with #282 |
This lets us boot a system with musl/sysvinit, glibc based systems still encounters a SEGV followed by kernel crash and freezing the system. However, we do have one combination up and running. There is still work left to do e.g.