Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
ea86c1430c83 Linux 5.10.128
2d10984d99ac net: mscc: ocelot: allow unregistered IP multicast flooding
6a656280e775 powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
6b734f7b7071 xfs: check sb_meta_uuid for dabuf buffer recovery
071e750ffb3d xfs: remove all COW fork extents when remounting readonly
1e76bd4c6722 xfs: Fix the free logic of state in xfs_attr_node_hasname
0cdccc05da76 xfs: punch out data fork delalloc blocks on COW writeback failure
db3f8110c3b0 xfs: use kmem_cache_free() for kmem_cache objects
09c9902cd80a bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
c4ff3ffe0138 tick/nohz: unexport __init-annotated tick_nohz_full_setup()
069fff50d400 drm: remove drm_fb_helper_modinit
52dc7f3f6fa1 MAINTAINERS: add Amir as xfs maintainer for 5.10.y
deb587b1a48d Linux 5.10.127
1cca46c20541 powerpc/pseries: wire up rng during setup_arch()
95d73d510b8a kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
feb5ab798698 random: update comment from copy_to_user() -> copy_to_iter()
959bbaf5b7a9 modpost: fix section mismatch check for exported init/exit sections
c980392af147 ARM: cns3xxx: Fix refcount leak in cns3xxx_init
889aad2203e0 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
44a5b3a073e5 ARM: Fix refcount leak in axxia_boot_secondary
30bbfeb480ae soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
68f28d52e6cb ARM: exynos: Fix refcount leak in exynos_map_pmu
59fdf108144c ARM: dts: imx6qdl: correct PU regulator ramp delay
fb70bd86751a ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node
f78acc4288ed powerpc/powernv: wire up rng during setup_arch
7db1ba660b07 powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
1f5a9205a3be powerpc: Enable execve syscall exit tracepoint
ca144919afd4 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
a1c902349ad5 parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
af0ff2da0152 xtensa: Fix refcount leak bug in time.c
6c0839cf1b9e xtensa: xtfpga: Fix refcount leak bug in setup
501652a2ad54 iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
d40514d4403a iio: adc: axp288: Override TS pin bias current for some models
d579c893dd6c iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
62284d45e26d iio: adc: stm32: Fix ADCs iteration in irq handler
e3ebb9d16ce1 iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
3e0af68b99b8 iio: adc: stm32: fix maximum clock rate for stm32mp15x
b07a30a774b3 iio: trigger: sysfs: fix use-after-free on remove
399788e819a1 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
c1ec7d52a218 iio: accel: mma8452: ignore the return value of reset operation
42caf44906d6 iio:accel:mxc4005: rearrange iio trigger get and register
e26dcf627971 iio:accel:bma180: rearrange iio trigger get and register
f26379e19958 iio:chemical:ccs811: rearrange iio trigger get and register
4b6cdcff7cb8 f2fs: attach inline_data after setting compression
2d7bdb6a5a37 usb: chipidea: udc: check request status before setting device address
656eca37aae1 USB: gadget: Fix double-free bug in raw_gadget driver
54604108be64 usb: gadget: Fix non-unique driver names in raw-gadget driver
d87dec22fdf5 xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI
114080d04ae4 xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI
b8142a84657e xhci: turn off port power in shutdown
116c3e81b053 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC
a547662534ca iio: adc: vf610: fix conversion mode sysfs node name
58c3a27e9c23 iio: mma8452: fix probe fail when device tree compatible is used.
5ee016f6120a s390/cpumf: Handle events cycles and instructions identical
abe487a88a5d gpio: winbond: Fix error code in winbond_gpio_get()
30531e0d7b5d nvme: move the Samsung X5 quirk entry to the core quirks
169f7d770552 nvme-pci: add NO APST quirk for Kioxia device
938f594266a6 nvme-pci: allocate nvme_command within driver pdu
ba388d4e9a68 nvme: don't check nvme_req flags for new req
e7ccaa1abacf nvme: mark nvme_setup_passsthru() inline
3ee62a1f0701 nvme: split nvme_alloc_request()
fe06c692cd7e nvme: centralize setting the timeout in nvme_alloc_request
afbc954e7896 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
340fbdc8011f virtio_net: fix xdp_rxq_info bug after suspend/resume
3bccf82169c5 igb: Make DMA faster when CPU is active on the PCIe link
7d7450363fdf regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
40b3815b2c90 ice: ethtool: advertise 1000M speeds properly
7b564e3254b7 afs: Fix dynamic root getattr
3c22192db06e MIPS: Remove repetitive increase irq_err_count
cc649a78654a x86/xen: Remove undefined behavior in setup_features()
b60c375ad140 selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
20119c1e0fff udmabuf: add back sanity check
e82376b63247 net/tls: fix tls_sk_proto_close executed repeatedly
cec9867ee554 erspan: do not assume transport header is always set
acf76125bb2b drm/msm/dp: fix connect/disconnect handled at irq_hpd
61f8f4034c04 drm/msm/dp: promote irq_hpd handle to handle link training correctly
d11cb082151f drm/msm/dp: deinitialize mainlink if link training failed
3d67cb00cbbb drm/msm/dp: fixes wrong connection state caused by failure of link train
efb2b6916050 drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
d16a4339825e drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
363fd6e34618 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
2e3216b929bb bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
c12a2c9b1b46 igb: fix a use-after-free issue in igb_clean_tx_ring
361c5521c1e4 tipc: fix use-after-free Read in tipc_named_reinit
f299d3fbe431 tipc: simplify the finalize work queue
ab7f565ac705 phy: aquantia: Fix AN when higher speeds than 1G are not advertised
a51c199e4d2b bpf, x86: Fix tail call count offset calculation on bpf2bpf call
4ae116428e81 drm/sun4i: Fix crash during suspend after component bind failure
516760f1d297 bpf: Fix request_sock leak in sk lookup helpers
505a375eea11 drm/msm: use for_each_sgtable_sg to iterate over scatterlist
10eb239e2935 scsi: scsi_debug: Fix zone transition to full condition
15cc30ac2a8d netfilter: use get_random_u32 instead of prandom
95f80c88436f netfilter: nftables: add nft_parse_register_store() and use it
ec9b0a8d307e netfilter: nftables: add nft_parse_register_load() and use it
8adedb4711dc drm/msm: Fix double pm_runtime_disable() call
8682335375bd USB: serial: option: add Quectel RM500K module support
9e6e063e548b USB: serial: option: add Quectel EM05-G modem
0b3006a862fb USB: serial: option: add Telit LE910Cx 0x1250 composition
f6a266e0dc6f dm mirror log: clear log bits up to BITS_PER_LONG boundary
03d1874b8295 dm era: commit metadata in postsuspend after worker stops
273106c2df43 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
156427b3123c mtd: rawnand: gpmi: Fix setting busy timeout setting
07e56884cd95 mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
0ae82e1ccb66 btrfs: add error messages to all unrecognized mount options
49e3e449bc4e net: openvswitch: fix parsing of nw_proto for IPv6 fragments
1508658aec4e ALSA: hda/realtek: Add quirk for Clevo NS50PU
6e8e5031592d ALSA: hda/realtek: Add quirk for Clevo PD70PNT
80307458a1ee ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
7fcbc89d4722 ALSA: hda/realtek - ALC897 headset MIC no sound
f5ea433d56d4 ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
64373290601f ALSA: hda/conexant: Fix missing beep setup
12a6be5d11d0 ALSA: hda/via: Fix missing beep setup
5e80f923b8dd random: quiet urandom warning ratelimit suppression message
310ebbd9f5cd random: schedule mix_interrupt_randomness() less often
3acb7dc242ca vt: drop old FONT ioctls
9cae50bdfafa Linux 5.10.126
fb2fbb3c10d7 io_uring: use separate list entry for iopoll requests
(From meta-yocto rev: 793cf819f19b7d66cf48139e839fed7582cb7bb1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yocto Project Hardware Reference BSPs README
============================================
This file gives details about using the Yocto Project hardware reference BSPs. The machines supported can be seen in the conf/machine/ directory and are listed below. There is one per supported hardware architecture and these are primarily used to validate that the Yocto Project works on the hardware arctectures of those machines.
If you are in doubt about using Poky/OpenEmbedded/Yocto Project with your hardware, consult the documentation for your board/device.
Support for additional devices is normally added by adding BSP layers to your configuration. For more information please see the Yocto Board Support Package (BSP) Developer's Guide - documentation source is in documentation/bspguide or download the PDF from:
https://docs.yoctoproject.org/
Note that these reference BSPs use the linux-yocto kernel and in general don't pull in binary module support for the platforms. This means some device functionality may be limited compared to a 'full' BSP which may be available.
Hardware Reference Boards
The following boards are supported by the meta-yocto-bsp layer:
- Texas Instruments Beaglebone (beaglebone-yocto)
- Ubiquiti Networks EdgeRouter Lite (edgerouter)
- General IA platforms (genericx86 and genericx86-64)
For more information see the board's section below. The appropriate MACHINE variable value corresponding to the board is given in brackets.
Reference Board Maintenance
Send pull requests, patches, comments or questions about meta-yocto-bsps to poky@lists.yoctoproject.org
Maintainers: Kevin Hao kexin.hao@windriver.com Bruce Ashfield bruce.ashfield@gmail.com
Consumer Devices
The following consumer devices are supported by the meta-yocto-bsp layer:
- Intel x86 based PCs and devices (genericx86)
- Ubiquiti Networks EdgeRouter Lite (edgerouter)
For more information see the device's section below. The appropriate MACHINE variable value corresponding to the device is given in brackets.
Specific Hardware Documentation
===============================
Intel x86 based PCs and devices (genericx86*)
The genericx86 and genericx86-64 MACHINE are tested on the following platforms:
Intel Xeon/Core i-Series:
- Intel NUC5 Series - ix-52xx Series SOC (Broadwell)
- Intel NUC6 Series - ix-62xx Series SOC (Skylake)
- Intel Shumway Xeon Server
Intel Atom platforms:
- MinnowBoard MAX - E3825 SOC (Bay Trail)
- MinnowBoard MAX - Turbot (ADI Engineering) - E3826 SOC (Bay Trail)
- These boards can be either 32bot or 64bit modes depending on firmware
- See minnowboard.org for details
- Intel Braswell SOC
and is likely to work on many unlisted Atom/Core/Xeon based devices. The MACHINE type supports ethernet, wifi, sound, and Intel/vesa graphics by default in addition to common PC input devices, busses, and so on.
Depending on the device, it can boot from a traditional hard-disk, a USB device, or over the network. Writing generated images to physical media is straightforward with a caveat for USB devices. The following examples assume the target boot device is /dev/sdb, be sure to verify this and use the correct device as the following commands are run as root and are not reversable.
USB Device:
-
Build a live image. This image type consists of a simple filesystem without a partition table, which is suitable for USB keys, and with the default setup for the genericx86 machine, this image type is built automatically for any image you build. For example:
$ bitbake core-image-minimal
-
Use the "dd" utility to write the image to the raw block device. For example:
dd if=core-image-minimal-genericx86.hddimg of=/dev/sdb
If the device fails to boot with "Boot error" displayed, or apparently stops just after the SYSLINUX version banner, it is likely the BIOS cannot understand the physical layout of the disk (or rather it expects a particular layout and cannot handle anything else). There are two possible solutions to this problem:
-
Change the BIOS USB Device setting to HDD mode. The label will vary by device, but the idea is to force BIOS to read the Cylinder/Head/Sector geometry from the device.
-
Use a ".wic" image with an EFI partition
a) With a default grub-efi bootloader:
dd if=core-image-minimal-genericx86-64.wic of=/dev/sdb
b) Use systemd-boot instead
- Build an image with EFI_PROVIDER="systemd-boot" then use the above dd command to write the image to a USB stick.
Texas Instruments Beaglebone (beaglebone-yocto)
The Beaglebone is an ARM Cortex-A8 development board with USB, Ethernet, 2D/3D accelerated graphics, audio, serial, JTAG, and SD/MMC. The Black adds a faster CPU, more RAM, eMMC flash and a micro HDMI port. The beaglebone MACHINE is tested on the following platforms:
o Beaglebone Black A6 o Beaglebone A6 (the original "White" model)
The Beaglebone Black has eMMC, while the White does not. Pressing the USER/BOOT button when powering on will temporarily change the boot order. But for the sake of simplicity, these instructions assume you have erased the eMMC on the Black, so its boot behavior matches that of the White and boots off of SD card. To do this, issue the following commands from the u-boot prompt:
# mmc dev 1
# mmc erase 0 512
To further tailor these instructions for your board, please refer to the documentation at http://www.beagleboard.org/bone and http://www.beagleboard.org/black
From a Linux system with access to the image files perform the following steps:
-
Build an image. For example:
$ bitbake core-image-minimal
-
Use the "dd" utility to write the image to the SD card. For example:
dd if=core-image-minimal-beaglebone-yocto.wic of=/dev/sdb
-
Insert the SD card into the Beaglebone and boot the board.
Ubiquiti Networks EdgeRouter Lite (edgerouter)
The EdgeRouter Lite is part of the EdgeMax series. It is a MIPS64 router (based on the Cavium Octeon processor) with 512MB of RAM, which uses an internal USB pendrive for storage.
Setup instructions
You will need the following:
- RJ45 -> serial ("rollover") cable connected from your PC to the CONSOLE port on the device
- Ethernet connected to the first ethernet port on the board
If using NFS as part of the setup process, you will also need:
- NFS root setup on your workstation
- TFTP server installed on your workstation (if fetching the kernel from TFTP, see below).
--- Preparation ---
Build an image (e.g. core-image-minimal) using "edgerouter" as the MACHINE. In the following instruction it is based on core-image-minimal. Another target may be similiar with it.
--- Booting from NFS root / kernel via TFTP ---
Load the kernel, and boot the system as follows:
-
Get the kernel (vmlinux) file from the tmp/deploy/images/edgerouter directory, and make them available on your TFTP server.
-
Connect the board's first serial port to your workstation and then start up your favourite serial terminal so that you will be able to interact with the serial console. If you don't have a favourite, picocom is suggested:
$ picocom /dev/ttyS0 -b 115200
-
Power up or reset the board and press a key on the terminal when prompted to get to the U-Boot command line
-
Set up the environment in U-Boot:
=> setenv ipaddr => setenv serverip
- Download the kernel and boot:
=> tftp tftp $loadaddr vmlinux => bootoctlinux $loadaddr coremask=0x3 root=/dev/nfs rw nfsroot=: ip=::::edgerouter:eth0:off mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)
--- Booting from USB disk ---
To boot from the USB disk, you either need to remove it from the edgerouter box and populate it from another computer, or use a previously booted NFS image and populate from the edgerouter itself.
Type 1: Use partitioned image
Steps:
-
Remove the USB disk from the edgerouter and insert it into a computer that has access to your build artifacts.
-
Flash the image.
dd if=core-image-minimal-edgerouter.wic of=/dev/sdb
-
Insert USB disk into the edgerouter and boot it.
Type 2: NFS
Note: If you place the kernel on the ext3 partition, you must re-create the ext3 filesystem, since the factory u-boot can only handle 128 byte inodes and cannot read the partition otherwise.
These boot instructions assume that you have recreated the ext3 filesystem with
128 byte inodes, you have an updated uboot or you are running and image capable
of making the filesystem on the board itself.
-
Boot from NFS root
-
Mount the USB disk partition 2 and then extract the contents of tmp/deploy/core-image-XXXX.tar.bz2 into it.
Before starting, copy core-image-minimal-xxx.tar.bz2 and vmlinux into rootfs path on your workstation.
and then,
mount /dev/sda2 /media/sda2
tar -xvjpf core-image-minimal-XXX.tar.bz2 -C /media/sda2
cp vmlinux /media/sda2/boot/vmlinux
umount /media/sda2
reboot
-
Reboot the board and press a key on the terminal when prompted to get to the U-Boot command line:
reboot
-
Load the kernel and boot:
=> ext2load usb 0:2 $loadaddr boot/vmlinux => bootoctlinux $loadaddr coremask=0x3 root=/dev/sda2 rw rootwait mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)