Khem Raj
2392e1f99d
recipes: Convert to newer override syntax
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-08-04 23:14:25 -07:00
Khem Raj
5a3ff76ae5
meta-riscv: Convert to new override syntax
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-08-04 23:14:25 -07:00
Alistair Francis
e02afd1cc3
linux: freedom-u540: Remove the extra firmware requirements
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2021-07-21 10:27:49 -07:00
Khem Raj
e8e0eef916
linux-starfive-dev: Dev has now moved to 5.14 for version
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-07-14 17:58:23 -07:00
Khem Raj
a1828a51a6
linux-starfive-dev: Use renamed defconfig for beaglev
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-06-21 00:06:22 -07:00
Khem Raj
276941d993
linux-starfive_5.12.bb: Update to 5.12.10
...
Aligns with DT rename with -dev branch
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-06-13 18:21:31 -07:00
Khem Raj
5c5c7964c7
linux-starfive-dev.bb: Switch to starfive-tech fork
...
This is new dev branch for beagleV work
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-06-08 10:50:39 +10:00
Khem Raj
7828a18b90
linux-firmware-beaglev-bcm43430: Add recipe
...
This packages bluetooth/Wifi firmware blobs into a package
Help lld linker
Use -mno-relax to compile the kernel with clang
when using lld for linker ( with LLVM=1 )
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-18 12:40:18 -07:00
Steve Arnold
c168aab9f1
linux-starfive: bump to latest version on non-dev branch
...
Signed-off-by: Steve Arnold <nerdboy@gentoo.org >
2021-05-14 08:49:04 -07:00
Khem Raj
8b821bd50c
linux-starfive-dev: Add recipe
...
This is Emil's upstream tree for beagleV
Also Enable wifi
This ensures that right firmware is installed into image
and we can now have wlan0
oot@beaglev-starlight-jh7100:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 2C:F7:F1:1B:E3:33
inet addr:10.0.0.31 Bcast:10.0.0.127 Mask:255.255.255.128
inet6 addr: fe80::2ef7:f1ff:fe1b:e333/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4317 (4.2 KiB) TX bytes:4436 (4.3 KiB)
Interrupt:20
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1746 (1.7 KiB) TX bytes:1746 (1.7 KiB)
wlan0 Link encap:Ethernet HWaddr D4:9C:DD:4A:C2:DD
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-13 17:44:37 -07:00
Khem Raj
3084768a1d
linux-starfive: Enable stmmac.chain_mode and earlycon
...
stmmac.chain_mode=1 is needed for ethernet to work
earlycon for more verbose msgs on console
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-13 17:44:37 -07:00
Khem Raj
4d48df9c05
linux-starfive: Enable power reset via TPS65086
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
a680163804
linux-starfive: support TPS65086 restart
...
apply patches from
https://github.com/starfive-tech/linux/issues/8
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
84ebe7b9d1
wifi.cfg: Make bcmdhd as module
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
edb57675d2
extra.cfg: Disable marvell phy
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
b868afe69d
linux-starfive_5.10.bb: Update to latest on fedora branch
...
Drop upstreamed patch
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
d21287ab69
linux-starfive: Enable BCMDHD wifi module
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
7e3f2fe06b
linux-starfive: Enable micrel module
...
This is required for ethernet to work
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
8b05ff2630
linux-starfive: Switch back to starfive_vic7100_evb_sd_net_defconfig
...
The real problem is that we can not boot kernel compiled with
-Os/gcc-11, once we disable CONFIG_CC_OPTIMIZE_FOR_SIZE, original
defconfig boots fine. Since its smaller in size and does not enable
ton of modules like the fedora config, lets switch back to this
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-11 17:04:45 -07:00
Khem Raj
53757c4a19
linux-starfive: Drop rootdelay=3 from kernel cmdline
...
I am seeing this issue with 3s delay and also with 10s delay so there is
something else going on, it locks hard when it does. Interestingly
reseting with button on board then reboots it fine.
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-09 16:54:57 -07:00
Khem Raj
128fa1b539
linux-starfive: Use starfive_vic7100_evb_sd_net_fedora_defconfig
...
This helps fix the time issues we were seeing with current config
which was resulting in bad time being reported from kernel and glibc
strftime() tripping over it.
This fixes all those issues and we can boot glibc based rootfs without
issues
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-05-07 08:35:48 -07:00
Alistair Francis
c881a6ede3
machine/beaglev-starlight-jh7100: Use fitImage
...
Update the boot process to follow the HiFive1.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
f0225ee57e
linux-starfive: rename LINUX_VERSION_EXTENSION to -starfive
...
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com >
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
9d3df1e164
beaglev: rename BSP components from -beaglev to -stafive
...
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com >
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
562bbf0f74
linux-beaglev: explain dts sync patch
...
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com >
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
643f03b3d0
linux-beaglev: update LIC_FILES_CHKSUM
...
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com >
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
62721a1e29
linux-beaglev: sync dts from u-boot
...
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com >
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
9b31efa4ab
preliminary beaglev support
...
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com >
2021-05-06 17:12:08 -07:00
Alistair Francis
9e88baad29
qemuriscv32: Remove the 32-bit RISC-V machine
...
OE-Core now has support for the 32-bit RISC-V QEMU machine, so let's
remove it from here.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2021-03-11 10:08:41 -08:00
Khem Raj
7cfde1e32f
linux-yocto-5.10: Remove 2GB physical memory rv32 patch
...
this is not applied to linux-yocto upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-02-19 08:19:39 -08:00
Khem Raj
a1bb4d1a47
linux-yocto: Fix 5.10.12+ build issue on rv32
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-02-05 09:33:42 -08:00
Khem Raj
38cbe72085
perf: Fix build on rv32
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2020-11-18 11:26:40 -08:00
sungwon.pino
e7c5476aed
linux-yocto : Support kernel 5.8 for riscv32
...
Kernel 5.8 already on stable state in linux-yocto
To support both kernel 5.8 and 5.4 for riscv32
renamed bbappend file
Signed-off-by: sungwon.pino <sungwon.pino@gmail.com >
2020-08-26 15:22:04 -07:00
Alistair Francis
b4ec1d4780
linux: Update bbappends for qemuriscv32
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2020-02-03 19:51:05 -08:00
Alistair Francis
73c4369c76
linux-mainline: freedom-u540: Enable communicating with serial devices
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-12-03 19:36:57 -08:00
Alistair Francis
cacdf0a2d4
linux-mainline: Upgrade to the 5.4 kernel
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-12-03 12:17:56 -08:00
Alistair Francis
270c8cb7c1
linux-mainline: Move some configs into the include file
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-09-16 10:40:26 -07:00
Alistair Francis
fd7b332336
linux: Use the defconfig for freedom-u540
...
Let's now use the defconfig for the HiFive Unleashed. We can still apply
any extra configs ontop with a config patch.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-09-16 10:40:26 -07:00
Alistair Francis
df313e796d
recipes-kernel: Update to the 5.3 kernel
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-09-16 10:40:26 -07:00
Alistair Francis
9fd71929aa
linux-yocto_4.19: Remove qemuriscv64 compatibile
...
No one is testing the 4.19 kernel and it probably doesn't work with the
latest OpenSBI work so let's just remove it from meta-riscv.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-09-02 12:59:55 -07:00
Alistair Francis
296eb2c68b
linux-yocto: Update the compatibility
...
Now that we are using the newer glibc port and 5.2 kernel headers remove
the qemuricv32 compatible machine from the 5.0 kernel and add it to the
5.2 kernel.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-09-02 12:59:55 -07:00
Alistair Francis
f41e9accae
linux: Update to the 5.2 kernel headers
...
OE-Core has upgraded to the 5.2 kernel headers. This means that all RV32
software now requires a 64-bit time_t. Update the glibc fork to an
implementation that works in a 64-bit time_t. At the same time we can
revert the linux kernel patch.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-09-02 12:59:55 -07:00
Alistair Francis
1b9f96753d
linux: freedom-u540: Enable FuseFS support
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-07-25 00:56:17 -07:00
Alistair Francis
5d40902f03
linux: freedom-u540: Enable support for an INITRD
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-07-17 15:59:58 -07:00
Alistair Francis
b39d2fce6b
linux: freedom-u540: Don't force command line arguments
...
Allow u-boot to overwrite the command line arguments if the user wants
to.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-07-17 15:59:58 -07:00
Alistair Francis
246f51d9b0
linux-mainline: Update to the 5.2 kernel release
...
Update to the 5.2 kernel release. This includes a large number of
upstream patches for the Unleashed. Due to the large defconfig changes
let's drop the 5.1 support when we upgrade.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-07-10 09:37:34 -07:00
Alistair Francis
a453e36434
linux: Remove unused 32bit.cfg kernel config
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-07-08 09:11:00 -07:00
Alistair Francis
b85df8e861
linux-yocto_5.0: Don't specify qemuriscv64 as compatible
...
qemuriscv64 is already marked as compatible in OE-Core linux-yocto_5.0,
so let's remove the duplicate.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-06-24 19:15:08 -07:00
Alistair Francis
4dd427ad88
linux-mainline: Fix kernel version checks
...
Fix the linux-mainline kernel version checks now that we are using
5.1.1.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-05-13 11:28:11 -07:00
Alistair Francis
e3e7f75961
linux: Update to 5.1 stable
...
This patch does the following:
- Update the current linux-mainline_5.1 recipe to AUTOREV from the
stable branch
- Use the linux-mainline_5.1 by default for the HiFive Unleashed
- Remove the older linux-riscv_5.0 recipe
- Rename the common include to linux-mainline-common.inc
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2019-05-07 11:54:29 -07:00