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
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
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