Re: Switching between multiple DISTROs without "contamination"
Mike Looijmans
Hi Nicolas,
toggle quoted message
Show quoted text
I guess part of your problem is that DISTRO does not end up in any package grouping, unlike MACHINE and ARCH and so. So if OE/Yocto does The Right Thing, this means that it will have to remove a bunch of packages from your feed and sysroot, and add them again (from sstate-cache or by building) every time you switch DISTRO (which, on a build server, would be each and every build). Hence my advice to use a separate build directory for each, otherwise Yocto will have to juggle with several packages on each and every build. With accidents waiting to happen. Hence my advice remains, you can have "my-image-dev" and even "my-machine-dev" in the same build directory, but don't share "my-distro-dev" that way, it's an invitation to trouble, even though It Should Work In Theory... Mike. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijmans@... W: www.topic.nl Please consider the environment before printing this e-mail On 13-07-2022 15:32, Nicolas Jeker wrote:
Thanks Martin and Mike for your explanations and tips. --
Mike Looijmans |
|
Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v"
#linux
#warning
#toolchain
#bitbake
#dunfell
Alexander Kanavin
This works as intended.
toggle quoted message
Show quoted text
So the problem is that when qemu runs from testimage it tries to open a graphical window using X and that for some reason fails. You can perhaps force a no-graphical execution by unset DISPLAY before running bitbake. Alex On Wed, 20 Jul 2022 at 12:44, Nikita Gupta <nikitagupta2509@...> wrote:
|
|
Re: [docs] [PATCH yocto-autobuilder-helper 2/2] scripts/run-docs-build: do not checkout releases.rst from master anymore
Michael Opdenacker
On 7/19/22 10:12, Quentin Schulz wrote:
Master branch of the yocto-docs now autogenerates the releases.rst file Reviewed-by: Michael Opdenacker <michael.opdenacker@...> Indeed, it should be applied right after the latest pull request from master-next is applied. Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com |
|
[PATCH yocto-autobuilder-helper] config.json: add a PREEMPT_RT-rt test build
Build and test core-image-full-cmdline with the linux-yocto-rt kernel,
adding the new rt test to verify that the kernel is actually the PREEMPT_RT version expected. Signed-off-by: Ross Burton <ross.burton@...> --- config.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index 5f37e77..e00b667 100644 --- a/config.json +++ b/config.json @@ -1128,7 +1128,15 @@ "extravars" : [ "PACKAGECONFIG:append:x86-64:pn-mesa =3D ' gallium-l= lvm gallium r600'" ] - + }, + "step8" : { + "shortname" : "preempt-rt", + "BBTARGETS" : "core-image-full-cmdline", + "SANITYTARGETS" : "core-image-full-cmdline:do_testimage"= , + "extravars" : [ + "PREFERRED_PROVIDER_virtual/kernel =3D 'linux-yocto-= rt'", + "TEST_SUITES:append =3D ' rt'" + ] } }, "eclipse-plugin-neon" : { --=20 2.34.1 |
|
Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v"
#linux
#warning
#toolchain
#bitbake
#dunfell
Nikita Gupta
Hello Alexander
I am putting some of lines of qemu output of nographic here . [ 0.053290] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.053300] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.053495] Using ACPI (MADT) for SMP configuration information
[ 0.053544] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.053830] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.054483] [mem 0x10000000-0xfffbffff] available for PCI devices
[ 0.054526] Booting paravirtualized kernel on bare hardware
[ 0.054875] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910s
[ 0.055308] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[ 0.066824] percpu: Embedded 56 pages/cpu s191384 r8192 d29800 u2097152
[ 0.068969] Built 1 zonelists, mobility grouping on. Total pages: 64356
[ 0.069155] Kernel command line: root=/dev/vda rw console=ttyS0 mem=256M ip=192.168.7.2::192.168.7.
[ 0.135277] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.135665] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.137117] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.140409] Memory: 232140K/261604K available (14340K kernel code, 1407K rwdata, 3196K rodata, 1612K)
[ 0.152763] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.153835] Kernel/User page tables isolation: enabled
[ 0.155757] ftrace: allocating 41816 entries in 164 pages
[ 0.232233] rcu: Preemptible hierarchical RCU implementation.
[ 0.232365] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[ 0.232452] Tasks RCU enabled.
[ 0.232526] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 0.232562] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.253797] NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
[ 0.263911] random: get_random_bytes called from start_kernel+0x325/0x4db with crng_init=0
[ 0.268071] Console: colour VGA+ 80x25
[ 0.310885] printk: console [ttyS0] enabled
[ 0.314617] ACPI: Core revision 20190816
[ 0.323461] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.331315] APIC: Switch to symmetric I/O mode setup
[ 0.375864] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.381414] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x185aca918fe, max_idle_ns:s
[ 0.383024] Calibrating delay loop (skipped), value calculated using timer frequency.. 3379.20 BogoM)
[ 0.385009] pid_max: default: 32768 minimum: 301
[ 0.386726] LSM: Security Framework initializing
[ 0.388807] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.388944] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.415798] process: using mwait in idle threads
[ 0.416144] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.416930] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.418102] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.419029] Spectre V2 : Mitigation: Retpolines
[ 0.419928] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.420958] Speculative Store Bypass: Vulnerable
[ 0.421698] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 0.626147] random: fast init done
[ 0.772307] Freeing SMP alternatives memory: 44K
[ 0.879347] smpboot: CPU0: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (family: 0x6, model: 0xf,)
[ 0.887084] Performance Events: unsupported p6 CPU model 15 no PMU driver, software events only.
[ 0.889602] rcu: Hierarchical SRCU implementation.
[ 0.894836] smp: Bringing up secondary CPUs ...
[ 0.894970] smp: Brought up 1 node, 1 CPU
[ 0.895954] smpboot: Max logical packages: 1
[ 0.896451] smpboot: Total of 1 processors activated (3379.20 BogoMIPS)
[ 0.909320] devtmpfs: initialized
[ 0.921047] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126044627s
[ 0.922081] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.924750] xor: measuring software checksum speed
[ 0.935030] prefetch64-sse: 2032.000 MB/sec
[ 0.945932] generic_sse: 2136.000 MB/sec
[ 0.946519] xor: using function: generic_sse (2136.000 MB/sec)
[ 0.947198] pinctrl core: initialized pinctrl subsystem
[ 0.955770] NET: Registered protocol family 16
[ 0.966246] cpuidle: using governor menu
[ 0.967806] ACPI: bus type PCI registered
[ 0.970419] PCI: Using configuration type 1 for base access
[ 1.026186] raid6: sse2x4 gen() 492 MB/s
[ 1.044095] raid6: sse2x4 xor() 261 MB/s
[ 1.061027] raid6: sse2x2 gen() 523 MB/s
[ 1.078256] raid6: sse2x2 xor() 259 MB/s
[ 1.096030] raid6: sse2x1 gen() 425 MB/s
[ 1.113986] raid6: sse2x1 xor() 246 MB/s
[ 1.114936] raid6: using algorithm sse2x2 gen() 523 MB/s
[ 1.115975] raid6: .... xor() 259 MB/s, rmw enabled
[ 1.117147] raid6: using ssse3x2 recovery algorithm
[ 1.119767] ACPI: Added _OSI(Module Device)
[ 1.119947] ACPI: Added _OSI(Processor Device)
[ 1.120422] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 1.120918] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.122005] ACPI: Added _OSI(Linux-Dell-Video)
[ 1.122506] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 1.122922] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 1.140652] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.161811] ACPI: Interpreter enabled
[ 1.163464] ACPI: (supports S0 S3 S5)
[ 1.163979] ACPI: Using IOAPIC for interrupt routing
[ 1.165261] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.167766] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 1.207391] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 1.208367] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[ 1.210180] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configurati.
[ 1.214285] PCI host bridge to bus 0000:00
[ 1.215024] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 1.215968] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 1.216981] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 1.217926] pci_bus 0000:00: root bus resource [mem 0x10000000-0xfebfffff window]
[ 1.218920] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[ 1.220119] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.228162] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[ 1.233048] pci 0000:00:01.1: reg 0x20: [io 0xc0e0-0xc0ef]
[ 1.234367] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 1.235947] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 1.236934] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 1.237717] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 1.239483] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300
[ 1.241609] pci 0000:00:01.2: reg 0x20: [io 0xc080-0xc09f]
[ 1.245137] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[ 1.246990] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
[ 1.248982] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 1.250849] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[ 1.252532] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[ 1.254439] pci 0000:00:02.0: reg 0x18: [mem 0xfebd0000-0xfebd0fff]
[ 1.259319] pci 0000:00:02.0: reg 0x30: [mem 0xfebc0000-0xfebcffff pref]
[ 1.261511] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000
[ 1.262963] pci 0000:00:03.0: reg 0x10: [io 0xc0a0-0xc0bf]
[ 1.264399] pci 0000:00:03.0: reg 0x14: [mem 0xfebd1000-0xfebd1fff]
[ 1.267584] pci 0000:00:03.0: reg 0x20: [mem 0xfe000000-0xfe003fff 64bit pref]
[ 1.269382] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[ 1.271515] pci 0000:00:04.0: [1af4:1005] type 00 class 0x00ff00
[ 1.273410] pci 0000:00:04.0: reg 0x10: [io 0xc0c0-0xc0df]
[ 1.276581] pci 0000:00:04.0: reg 0x20: [mem 0xfe004000-0xfe007fff 64bit pref]
[ 1.278443] pci 0000:00:05.0: [1af4:1001] type 00 class 0x010000
[ 1.279958] pci 0000:00:05.0: reg 0x10: [io 0xc000-0xc07f]
[ 1.281211] pci 0000:00:05.0: reg 0x14: [mem 0xfebd2000-0xfebd2fff]
[ 1.284515] pci 0000:00:05.0: reg 0x20: [mem 0xfe008000-0xfe00bfff 64bit pref]
[ 1.294292] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 1.295942] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 1.297224] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 1.298272] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 1.299118] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[ 1.305368] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 1.305905] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 1.305970] pci 0000:00:02.0: vgaarb: bridge control possible
[ 1.306637] vgaarb: loaded
[ 1.308290] SCSI subsystem initialized
[ 1.309565] ACPI: bus type USB registered
[ 1.310261] usbcore: registered new interface driver usbfs
[ 1.311172] usbcore: registered new interface driver hub
[ 1.311974] usbcore: registered new device driver usb
[ 1.314504] pps_core: LinuxPPS API ver. 1 registered
[ 1.314975] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@...>
[ 1.316037] PTP clock support registered
[ 1.318393] PCI: Using ACPI for IRQ routing
[ 1.332774] Bluetooth: Core ver 2.22
[ 1.333104] NET: Registered protocol family 31
[ 1.333949] Bluetooth: HCI device and connection manager initialized
[ 1.335055] Bluetooth: HCI socket layer initialized
[ 1.335724] Bluetooth: L2CAP socket layer initialized
[ 1.336097] Bluetooth: SCO socket layer initialized
[ 1.340083] hpet: 3 channels of 0 reserved for per-cpu timers
[ 1.341256] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 1.342941] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 1.349759] clocksource: Switched to clocksource tsc-early
[ 1.783492] pnp: PnP ACPI init
[ 1.789182] pnp: PnP ACPI: found 7 devices
[ 1.807251] thermal_sys: Registered thermal governor 'step_wise'
[ 1.807387] thermal_sys: Registered thermal governor 'user_space'
[ 1.824442] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 1.828445] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 1.830071] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 1.832002] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 1.833410] pci_bus 0000:00: resource 7 [mem 0x10000000-0xfebfffff window]
[ 1.834741] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[ 1.837537] NET: Registered protocol family 2
[ 1.839729] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 1.865735] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.867608] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.868746] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 1.869797] TCP: Hash tables configured (established 2048 bind 2048)
[ 1.883744] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.884827] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.888819] NET: Registered protocol family 1
[ 1.893298] RPC: Registered named UNIX socket transport module.
[ 1.894880] RPC: Registered udp transport module.
[ 1.895821] RPC: Registered tcp transport module.
[ 1.896792] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.898265] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 1.899583] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 1.901234] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 1.914435] pci 0000:00:01.0: quirk_isa_dma_hangs+0x0/0x20 took 12838 usecs
[ 2.135341] PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 2.341888] pci 0000:00:01.2: quirk_usb_early_handoff+0x0/0x650 took 415769 usecs
[ 2.343275] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 2.345068] PCI: CLS 0 bytes, default 64
[ 2.359823] check: Scanning for low memory corruption every 60 seconds
[ 2.364056] Initialise system trusted keyrings
[ 2.365862] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[ 2.393568] NFS: Registering the id_resolver key type
[ 2.394661] Key type id_resolver registered
[ 2.395253] Key type id_legacy registered
[ 2.398828] Key type cifs.idmap registered
[ 2.426560] Key type asymmetric registered
[ 2.427166] Asymmetric key parser 'x509' registered
[ 2.427826] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 2.428763] io scheduler mq-deadline registered
[ 2.429376] io scheduler kyber registered
[ 2.443085] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 2.452480] ACPI: Power Button [PWRF]
[ 2.636339] PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 3.043706] PCI Interrupt Link [LNKA] enabled at IRQ 10
[ 3.046003] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.080365] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 3.115413] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 3.130219] Linux agpgart interface v0.103
[ 3.132176] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdfff
[ 3.141489] crng init done
3.142481] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebdf
[ 3.145663] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[ 3.147438] Console: switching to colour dummy device 80x25
[ 3.150326] [drm] Found bochs VGA, ID 0xb0c0.
[ 3.150809] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[ 3.152273] [TTM] Zone kernel: Available graphics memory: 116092 KiB
[ 3.153052] [TTM] Initializing pool allocator
[ 3.153658] [TTM] Initializing DMA pool allocator
[ 3.157316] [drm] Found EDID data blob.
[ 3.162182] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[ 3.200140] fbcon: bochs-drmdrmfb (fb0) is primary device
[ 3.232092] Console: switching to colour frame buffer device 128x48
[ 3.247507] bochs-drm 0000:00:02.0: fb0: bochs-drmdrmfb frame buffer device
[ 3.287157] brd: module loaded
[ 3.338996] loop: module loaded
[ 3.346707] virtio_blk virtio2: [vda] 23994 512-byte logical blocks (12.3 MB/11.7 MiB)
[ 3.389639] Uniform Multi-Platform E-IDE driver
[ 3.390654] piix 0000:00:01.1: IDE controller (0x8086:0x7010 rev 0x00)
[ 3.392365] piix 0000:00:01.1: not 100% native mode: will probe irqs later
[ 3.393854] legacy IDE will be removed in 2021, please switch to libata
[ 3.393854] Report any missing HW support to linux-ide@...
[ 3.396536] ide0: BM-DMA at 0xc0e0-0xc0e7
[ 3.405884] ide1: BM-DMA at 0xc0e8-0xc0ef
[ 3.410281] tsc: Refined TSC clocksource calibration: 1689.599 MHz
[ 3.411557] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x185ac5ca321, max_idle_ns: 44079s
[ 3.413037] clocksource: Switched to clocksource tsc
[ 4.627674] hdc: QEMU DVD-ROM, ATAPI CD/DVD-ROM drive
[ 5.254056] hdc: MWDMA2 mode selected
[ 5.255216] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 5.255797] ide1 at 0x170-0x177,0x376 on irq 15
[ 5.257637] ide-gd driver 1.18
[ 5.258220] ide-cd driver 5.00
[ 5.261670] ide-cd: hdc: ATAPI 4X DVD-ROM drive, 512kB Cache
[ 5.262259] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 5.325752] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 5.326801] e100: Copyright(c) 1999-2006 Intel Corporation
[ 5.327565] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 5.328444] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 5.329179] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 5.329878] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 5.330642] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[ 5.331302] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 5.331892] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.332454] ehci-pci: EHCI PCI platform driver
[ 5.333094] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.333846] ohci-pci: OHCI PCI platform driver
[ 5.334450] uhci_hcd: USB Universal Host Controller Interface driver
[ 5.485426] uhci_hcd 0000:00:01.2: UHCI Host Controller
[ 5.486339] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[ 5.487652] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c080
[ 5.493247] hub 1-0:1.0: USB hub found
[ 5.494019] hub 1-0:1.0: 2 ports detected
[ 5.502529] usbcore: registered new interface driver usb-storage
[ 5.503369] usbcore: registered new interface driver usbserial_generic
[ 5.504629] usbserial: USB Serial support registered for generic
[ 5.505283] usbcore: registered new interface driver ftdi_sio
[ 5.505839] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 5.506584] usbcore: registered new interface driver pl2303
[ 5.507128] usbserial: USB Serial support registered for pl2303
[ 5.508227] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 5.510883] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 5.511896] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 5.522420] mousedev: PS/2 mouse device common for all mice
[ 5.526890] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 5.528503] rtc_cmos 00:00: RTC can wake from S4
[ 5.534544] rtc_cmos 00:00: registered as rtc0
[ 5.556479] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
[ 5.561094] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@...
[ 5.563200] intel_pstate: CPU model not supported
[ 5.563869] sdhci: Secure Digital Host Controller Interface driver
[ 5.564514] sdhci: Copyright(c) Pierre Ossman
[ 5.565088] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.566636] usbcore: registered new interface driver usbhid
[ 5.567241] usbhid: USB HID core driver
[ 5.567922] drop_monitor: Initializing network drop monitor service
[ 5.568892] u32 classifier
[ 5.569207] input device check on
[ 5.569564] Actions configured
[ 5.571099] NET: Registered protocol family 10
[ 5.586617] Segment Routing with IPv6
[ 5.587629] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 5.590474] NET: Registered protocol family 17
[ 5.591687] Key type dns_resolver registered
[ 5.593676] IPI shorthand broadcast: enabled
[ 5.594374] sched_clock: Marking stable (5485271338, 108914060)->(5981448748, -387263350)
[ 5.595828] Loading compiled-in X.509 certificates
[ 5.596642] Key type ._fscrypt registered
[ 5.597146] Key type .fscrypt registered
[ 5.601249] Btrfs loaded, crc32c=crc32c-generic
[ 5.622879] Key type encrypted registered
[ 5.626265] printk: console [netcon0] enabled
[ 5.626738] netconsole: network logging started
[ 5.627736] rtc_cmos 00:00: setting system clock to 2022-07-20T10:36:10 UTC (1658313370)
[ 5.673637] IP-Config: Complete:
[ 5.674257] device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=11
[ 5.675261] host=192.168.7.2, domain=, nis-domain=(none)
[ 5.675828] bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[ 5.729332] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[ 5.922791] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:064
[ 5.924768] hid-generic 0003:0627:0001.0001: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on us0
[ 6.155241] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[ 6.157869] md: Waiting for all devices to be available before autodetect
6.158853] md: If you don't use raid, use raid=noautodetect
[ 6.162222] md: Autodetecting RAID arrays.
[ 6.162754] md: autorun ...
[ 6.163171] md: ... autorun DONE.
[ 6.272996] EXT4-fs (vda): recovery complete
[ 6.276592] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
[ 6.278241] VFS: Mounted root (ext4 filesystem) on device 253:0.
[ 6.322833] devtmpfs: mounted
[ 6.354516] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.465480] Freeing unused kernel image memory: 1612K
[ 6.467795] Write protecting the kernel read-only data: 20480k
[ 6.471841] Freeing unused kernel image memory: 2004K
[ 6.473580] Freeing unused kernel image memory: 900K
[ 6.474647] Run /sbin/init as init process
INIT: version 2.96 booting
Starting udev
[ 7.915621] udevd[106]: starting version 3.2.9
[ 8.067716] udevd[107]: starting eudev-3.2.9
[ 10.295030] EXT4-fs (vda): re-mounted. Opts: (null)
INIT: Entering runlevel: 5
Configuring network interfaces... ip: RTNETLINK answers: File exists
Starting syslogd/klogd: done
Poky (Yocto Project Reference Distro) 3.1.16 qemux86-64 /dev/ttyS0
qemux86-64 login:
Poky (Yocto Project Reference Distro) 3.1.16 qemux86-64 /dev/ttyS0
qemux86-64 login: clear
Password:
Login incorrect
qemux86-64 login: root
root@qemux86-64:~# ls
|
|
Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v"
#linux
#warning
#toolchain
#bitbake
#dunfell
Alexander Kanavin
Can I also see the output of 'runqemu nographic' please?
toggle quoted message
Show quoted text
Alex On Wed, 20 Jul 2022 at 12:25, Nikita Gupta <nikitagupta2509@...> wrote:
|
|
Michael Opdenacker
Hi Poornesh
On 7/20/22 12:17, poornesh.g@... wrote: Greetings ! This is not supported in Zeus, but otherwise you may be interested in the "overlay-etc" class: https://docs.yoctoproject.org/ref-manual/classes.html?highlight=overlayfs#overlayfs-etc-bbclass Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com |
|
Quentin Schulz
Hi,
On 7/20/22 12:17, poornesh.g@... wrote: Greetings !This seems like a good use for overlayfs-etc IMAGE_FEATURES? c.f. https://docs.yoctoproject.org/ref-manual/features.html#image-features See https://docs.yoctoproject.org/ref-manual/classes.html#overlayfs-etc-bbclass on how to configure it. This seems to have been added in Kirkstone (4.0) release. Cheers, Quentin |
|
Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v"
#linux
#warning
#toolchain
#bitbake
#dunfell
Nikita Gupta
Hello Alexander
Please find the output of 'env' below . SHELL=/bin/bash
SESSION_MANAGER=local/Linux:@/tmp/.ICE-unix/1288,unix/Linux:/tmp/.ICE-unix/1288
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
SSH_AGENT_LAUNCHER=gnome-keyring
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LANGUAGE=en_IN:en
GNOME_SHELL_SESSION_MODE=ubuntu
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu
GTK_MODULES=gail:atk-bridge
PWD=/home/nikita/yoctoproject/poky/build
LOGNAME=nikita
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
SYSTEMD_EXEC_PID=1439
XAUTHORITY=/run/user/1000/gdm/Xauthority
WINDOWPATH=2
HOME=/home/nikita
USERNAME=nikita
IM_CONFIG_PHASE=1
LANG=en_IN
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=ubuntu:GNOME
VTE_VERSION=6402
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/7cf77da7_bb58_4735_9e5a_bfd6073b4d65
BBPATH=/home/nikita/yoctoproject/poky/build
BB_ENV_EXTRAWHITE=ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
TERM=xterm-256color
LESSOPEN=| /usr/bin/lesspipe %s
USER=nikita
GNOME_TERMINAL_SERVICE=:1.73
DISPLAY=:1
SHLVL=1
QT_IM_MODULE=ibus
XDG_RUNTIME_DIR=/run/user/1000
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
PATH=/home/nikita/yoctoproject/poky/scripts:/home/nikita/yoctoproject/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
GDMSESSION=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
BUILDDIR=/home/nikita/yoctoproject/poky/build
OLDPWD=/home/nikita/yoctoproject/poky
_=/usr/bin/env
|
|
Poornesh G ( India - Bangalore )
Greetings !
I am working on NXP's i.MX6UL SoC and I have successfully built a Read-only Rootfile system through Yocto. Now I am having a requirement of making only "/etc" as Read & Writable . So , Can any one suggest me the procedure for making only "/etc" directory as Read & Writable and by keeping rest (/usr , /lib , /bin , ..) as Read-only through Yocto . Thanks in Advance |
|
Re: [Openembedded-architecture] Let's drop x86-x32 (was Re: [OE-core] [PATCH 05/51] rpm: update 4.17.0 -> 4.17.1)
Alexander Kanavin
On Wed, 20 Jul 2022 at 12:00, Marko Lindqvist <cazfi74@...> wrote:
How much difference is there between x32 and riscv32 in upstreams? AsThe fixing is often wrapped in target-specific conditionals, and so fixing one does not address the other, until the conditional is expanded with additional or statements, or checks are done from first principles (e.g. actual type sizes). Alex |
|
Re: [Openembedded-architecture] Let's drop x86-x32 (was Re: [OE-core] [PATCH 05/51] rpm: update 4.17.0 -> 4.17.1)
Alexander Kanavin
On Wed, 20 Jul 2022 at 11:50, Ross Burton <Ross.Burton@...> wrote:
Also, Intel should get to have an opinion on this. If they actually care about x32 then they can help fix the issues, if they don’t then we can easily switch to a platform that has support.Ok, let's ask Intel, specifically Anuj :-) Anuj, does Intel still care about x32, and would anyone notice if yocto drops x32 support from master branch? Alex |
|
Re: [Openembedded-architecture] Let's drop x86-x32 (was Re: [OE-core] [PATCH 05/51] rpm: update 4.17.0 -> 4.17.1)
On 20 Jul 2022, at 10:28, Alexander Kanavin via lists.openembedded.org <alex.kanavin=gmail.com@...> wrote:
Does the RISC-V ecosystem care about riscv32? The problem with Intel x32 is that very few people care, so we end up fixing upstream software. If RISC-V cares then we won’t be alone. Also, Intel should get to have an opinion on this. If they actually care about x32 then they can help fix the issues, if they don’t then we can easily switch to a platform that has support. Ross |
|
[PATCH v2] auto-generate releases.rst
Michael Opdenacker
From: Michael Opdenacker <michael.opdenacker@...>
From: Quentin Schulz <quentin.schulz@...> In order to maintain one less file, let's auto-generate the releases.rst file which contains a link for each release ever released. This gets auto-generated by checking the tags available in this git repo and adding a link for each that exists. A few tags are notoriously missing from this git repo and they are manually listed then, until the tags are pushed for the appropriate commit. Cc: Quentin Schulz <foss@...> Signed-off-by: Quentin Schulz <quentin.schulz@...> Reviewed-by: Michael Opdenacker <michael.opdenacker@...> --- Changes in V2: * set_versions.py: update description * set_versions.py: add Quentin Schulz to the list of authors * set_versions.py: remove trailing whitespace in generated section header (harmless but flagged by vim) --- documentation/.gitignore | 1 + documentation/releases.rst | 251 ---------------------------------- documentation/set_versions.py | 77 +++++++++++ 3 files changed, 78 insertions(+), 251 deletions(-) delete mode 100644 documentation/releases.rst diff --git a/documentation/.gitignore b/documentation/.gitignore index 096b97ec28..4e077d03fb 100644 --- a/documentation/.gitignore +++ b/documentation/.gitignore @@ -2,6 +2,7 @@ _build/ Pipfile.lock poky.yaml sphinx-static/switchers.js +releases.rst .vscode/ */svg/*.png */svg/*.pdf diff --git a/documentation/releases.rst b/documentation/releases.rst deleted file mode 100644 index b2b4486158..0000000000 --- a/documentation/releases.rst +++ /dev/null @@ -1,251 +0,0 @@ -.. SPDX-License-Identifier: CC-BY-SA-2.0-UK - -.. - NOTE FOR RELEASE MAINTAINERS: - This file only needs updating in the development release ("master" branch) - When documentation for stable releases is built, - the latest version from "master" is used - by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-build - -=========================== - Supported Release Manuals -=========================== - -****************************** -Release Series 4.0 (kirkstone) -****************************** - -- :yocto_docs:`4.0 Documentation </4.0>` -- :yocto_docs:`4.0.1 Documentation </4.0.1>` -- :yocto_docs:`4.0.2 Documentation </4.0.2>` - -**************************** -Release Series 3.1 (dunfell) -**************************** - -- :yocto_docs:`3.1 Documentation </3.1>` -- :yocto_docs:`3.1.1 Documentation </3.1.1>` -- :yocto_docs:`3.1.2 Documentation </3.1.2>` -- :yocto_docs:`3.1.3 Documentation </3.1.3>` -- :yocto_docs:`3.1.4 Documentation </3.1.4>` -- :yocto_docs:`3.1.5 Documentation </3.1.5>` -- :yocto_docs:`3.1.6 Documentation </3.1.6>` -- :yocto_docs:`3.1.7 Documentation </3.1.7>` -- :yocto_docs:`3.1.8 Documentation </3.1.8>` -- :yocto_docs:`3.1.9 Documentation </3.1.9>` -- :yocto_docs:`3.1.10 Documentation </3.1.10>` -- :yocto_docs:`3.1.11 Documentation </3.1.11>` -- :yocto_docs:`3.1.12 Documentation </3.1.12>` -- :yocto_docs:`3.1.13 Documentation </3.1.13>` -- :yocto_docs:`3.1.14 Documentation </3.1.14>` -- :yocto_docs:`3.1.15 Documentation </3.1.15>` -- :yocto_docs:`3.1.16 Documentation </3.1.16>` -- :yocto_docs:`3.1.17 Documentation </3.1.17>` - -========================== - Outdated Release Manuals -========================== - -****************************** -Release Series 3.4 (honister) -****************************** - -- :yocto_docs:`3.4 Documentation </3.4>` -- :yocto_docs:`3.4.1 Documentation </3.4.1>` -- :yocto_docs:`3.4.2 Documentation </3.4.2>` -- :yocto_docs:`3.4.3 Documentation </3.4.3>` -- :yocto_docs:`3.4.4 Documentation </3.4.4>` - -****************************** -Release Series 3.3 (hardknott) -****************************** - -- :yocto_docs:`3.3 Documentation </3.3>` -- :yocto_docs:`3.3.1 Documentation </3.3.1>` -- :yocto_docs:`3.3.2 Documentation </3.3.2>` -- :yocto_docs:`3.3.3 Documentation </3.3.3>` -- :yocto_docs:`3.3.4 Documentation </3.3.4>` -- :yocto_docs:`3.3.5 Documentation </3.3.5>` -- :yocto_docs:`3.3.6 Documentation </3.3.6>` - -******************************* -Release Series 3.2 (gatesgarth) -******************************* - -- :yocto_docs:`3.2 Documentation </3.2>` -- :yocto_docs:`3.2.1 Documentation </3.2.1>` -- :yocto_docs:`3.2.2 Documentation </3.2.2>` -- :yocto_docs:`3.2.3 Documentation </3.2.3>` -- :yocto_docs:`3.2.4 Documentation </3.2.4>` - -************************* -Release Series 3.0 (zeus) -************************* - -- :yocto_docs:`3.0 Documentation </3.0>` -- :yocto_docs:`3.0.1 Documentation </3.0.1>` -- :yocto_docs:`3.0.2 Documentation </3.0.2>` -- :yocto_docs:`3.0.3 Documentation </3.0.3>` -- :yocto_docs:`3.0.4 Documentation </3.0.4>` - -**************************** -Release Series 2.7 (warrior) -**************************** - -- :yocto_docs:`2.7 Documentation </2.7>` -- :yocto_docs:`2.7.1 Documentation </2.7.1>` -- :yocto_docs:`2.7.2 Documentation </2.7.2>` -- :yocto_docs:`2.7.3 Documentation </2.7.3>` -- :yocto_docs:`2.7.4 Documentation </2.7.4>` - -************************* -Release Series 2.6 (thud) -************************* - -- :yocto_docs:`2.6 Documentation </2.6>` -- :yocto_docs:`2.6.1 Documentation </2.6.1>` -- :yocto_docs:`2.6.2 Documentation </2.6.2>` -- :yocto_docs:`2.6.3 Documentation </2.6.3>` -- :yocto_docs:`2.6.4 Documentation </2.6.4>` - -************************* -Release Series 2.5 (sumo) -************************* - -- :yocto_docs:`2.5 Documentation </2.5>` -- :yocto_docs:`2.5.1 Documentation </2.5.1>` -- :yocto_docs:`2.5.2 Documentation </2.5.2>` -- :yocto_docs:`2.5.3 Documentation </2.5.3>` - -************************** -Release Series 2.4 (rocko) -************************** - -- :yocto_docs:`2.4 Documentation </2.4>` -- :yocto_docs:`2.4.1 Documentation </2.4.1>` -- :yocto_docs:`2.4.2 Documentation </2.4.2>` -- :yocto_docs:`2.4.3 Documentation </2.4.3>` -- :yocto_docs:`2.4.4 Documentation </2.4.4>` - -************************* -Release Series 2.3 (pyro) -************************* - -- :yocto_docs:`2.3 Documentation </2.3>` -- :yocto_docs:`2.3.1 Documentation </2.3.1>` -- :yocto_docs:`2.3.2 Documentation </2.3.2>` -- :yocto_docs:`2.3.3 Documentation </2.3.3>` -- :yocto_docs:`2.3.4 Documentation </2.3.4>` - -************************** -Release Series 2.2 (morty) -************************** - -- :yocto_docs:`2.2 Documentation </2.2>` -- :yocto_docs:`2.2.1 Documentation </2.2.1>` -- :yocto_docs:`2.2.2 Documentation </2.2.2>` -- :yocto_docs:`2.2.3 Documentation </2.2.3>` - -**************************** -Release Series 2.1 (krogoth) -**************************** - -- :yocto_docs:`2.1 Documentation </2.1>` -- :yocto_docs:`2.1.1 Documentation </2.1.1>` -- :yocto_docs:`2.1.2 Documentation </2.1.2>` -- :yocto_docs:`2.1.3 Documentation </2.1.3>` - -*************************** -Release Series 2.0 (jethro) -*************************** - -- :yocto_docs:`1.9 Documentation </1.9>` -- :yocto_docs:`2.0 Documentation </2.0>` -- :yocto_docs:`2.0.1 Documentation </2.0.1>` -- :yocto_docs:`2.0.2 Documentation </2.0.2>` -- :yocto_docs:`2.0.3 Documentation </2.0.3>` - -************************* -Release Series 1.8 (fido) -************************* - -- :yocto_docs:`1.8 Documentation </1.8>` -- :yocto_docs:`1.8.1 Documentation </1.8.1>` -- :yocto_docs:`1.8.2 Documentation </1.8.2>` - -************************** -Release Series 1.7 (dizzy) -************************** - -- :yocto_docs:`1.7 Documentation </1.7>` -- :yocto_docs:`1.7.1 Documentation </1.7.1>` -- :yocto_docs:`1.7.2 Documentation </1.7.2>` -- :yocto_docs:`1.7.3 Documentation </1.7.3>` - -************************** -Release Series 1.6 (daisy) -************************** - -- :yocto_docs:`1.6 Documentation </1.6>` -- :yocto_docs:`1.6.1 Documentation </1.6.1>` -- :yocto_docs:`1.6.2 Documentation </1.6.2>` -- :yocto_docs:`1.6.3 Documentation </1.6.3>` - -************************* -Release Series 1.5 (dora) -************************* - -- :yocto_docs:`1.5 Documentation </1.5>` -- :yocto_docs:`1.5.1 Documentation </1.5.1>` -- :yocto_docs:`1.5.2 Documentation </1.5.2>` -- :yocto_docs:`1.5.3 Documentation </1.5.3>` -- :yocto_docs:`1.5.4 Documentation </1.5.4>` - -************************** -Release Series 1.4 (dylan) -************************** - -- :yocto_docs:`1.4 Documentation </1.4>` -- :yocto_docs:`1.4.1 Documentation </1.4.1>` -- :yocto_docs:`1.4.2 Documentation </1.4.2>` -- :yocto_docs:`1.4.3 Documentation </1.4.3>` -- :yocto_docs:`1.4.4 Documentation </1.4.4>` -- :yocto_docs:`1.4.5 Documentation </1.4.5>` - -************************** -Release Series 1.3 (danny) -************************** - -- :yocto_docs:`1.3 Documentation </1.3>` -- :yocto_docs:`1.3.1 Documentation </1.3.1>` -- :yocto_docs:`1.3.2 Documentation </1.3.2>` - -*************************** -Release Series 1.2 (denzil) -*************************** - -- :yocto_docs:`1.2 Documentation </1.2>` -- :yocto_docs:`1.2.1 Documentation </1.2.1>` -- :yocto_docs:`1.2.2 Documentation </1.2.2>` - -*************************** -Release Series 1.1 (edison) -*************************** - -- :yocto_docs:`1.1 Documentation </1.1>` -- :yocto_docs:`1.1.1 Documentation </1.1.1>` -- :yocto_docs:`1.1.2 Documentation </1.1.2>` - -**************************** -Release Series 1.0 (bernard) -**************************** - -- :yocto_docs:`1.0 Documentation </1.0>` -- :yocto_docs:`1.0.1 Documentation </1.0.1>` -- :yocto_docs:`1.0.2 Documentation </1.0.2>` - -**************************** -Release Series 0.9 (laverne) -**************************** - -- :yocto_docs:`0.9 Documentation </0.9>` diff --git a/documentation/set_versions.py b/documentation/set_versions.py index a7ceb3455a..ddf70851cb 100755 --- a/documentation/set_versions.py +++ b/documentation/set_versions.py @@ -1,9 +1,11 @@ #!/usr/bin/env python3 # # Add version information to poky.yaml based upon current git branch/tags +# Also generate the list of available manuals (releases.rst file) # # Copyright Linux Foundation # Author: Richard Purdie <richard.purdie@...> +# Author: Quentin Schulz <foss@...> # # SPDX-License-Identifier: MIT # @@ -14,6 +16,7 @@ import collections import sys import os import itertools +import re ourversion = None if len(sys.argv) == 2: @@ -231,3 +234,77 @@ with open("sphinx-static/switchers.js.in", "r") as r, open("sphinx-static/switch print("switchers.js generated from switchers.js.in") +# generate releases.rst + +# list missing tags in yocto-docs +missing_tags = [ + 'yocto-0.9', + 'yocto-1.0', 'yocto-1.0.1', + 'yocto-1.1', 'yocto-1.1.1', + 'yocto-1.2', + 'yocto-1.4.4', 'yocto-1.4.5', + 'yocto-1.5', 'yocto-1.5.2', 'yocto-1.5.3', 'yocto-1.5.4', + 'yocto-1.6', 'yocto-1.6.1', 'yocto-1.6.2', + 'yocto-1.7', 'yocto-1.7.1', + 'yocto-1.9', + 'yocto-2.5.3', + 'yocto-3.1', 'yocto-3.1.1', 'yocto-3.1.2', 'yocto-3.1.3', + ] + +semver = re.compile(r'yocto-(\d+)\.(\d+)(?:\.)?(\d*)') + +# git is able to properly order semver versions but not python +# instead of adding a dependency on semver module, let's convert the version +# into a decimal number, e.g. 11.23.1 will be 112301 and 1.5 will be 010500 so +# it can be used as a key for the sorting algorithm. +# This can be removed once all the old tags are re-created. +def tag_to_semver_like(v): + v_semver = semver.search(v) + v_maj, v_min, v_patch = v_semver.groups('0') + return int("{:0>2}{:0>2}{:0>2}".format(v_maj, v_min, v_patch), 10) + +yocto_tags = subprocess.run(["git", "tag", "--list", "--sort=version:refname", "yocto-*"], capture_output=True, text=True).stdout +yocto_tags = sorted(yocto_tags.split() + missing_tags, key=tag_to_semver_like) +tags = [tag[6:] for tag in yocto_tags] + +with open('releases.rst', 'w') as f: + f.write('===========================\n') + f.write(' Supported Release Manuals\n') + f.write('===========================\n') + f.write('\n') + + for activerelease in activereleases: + title = "Release Series %s (%s)" % (release_series[activerelease], activerelease) + f.write('*' * len(title) + '\n') + f.write(title + '\n') + f.write('*' * len(title) + '\n') + f.write('\n') + + for tag in tags: + if tag == release_series[activerelease] or tag.startswith('%s.' % release_series[activerelease]): + f.write('- :yocto_docs:`%s Documentation </%s>`\n' % (tag, tag)) + f.write('\n') + + f.write('==========================\n') + f.write(' Outdated Release Manuals\n') + f.write('==========================\n') + f.write('\n') + + for series in release_series: + if series == devbranch or series in activereleases: + continue + + if series == "jethro-pre": + continue + + title = "Release Series %s (%s)" % (release_series[series], series) + f.write('*' * len(title) + '\n') + f.write(title + '\n') + f.write('*' * len(title) + '\n') + f.write('\n') + if series == "jethro": + f.write('- :yocto_docs:`1.9 Documentation </1.9>`\n') + for tag in tags: + if tag == release_series[series] or tag.startswith('%s.' % release_series[series]): + f.write('- :yocto_docs:`%s Documentation </%s>`\n' % (tag, tag)) + f.write('\n') -- 2.34.1 |
|
Re: [Openembedded-architecture] Let's drop x86-x32 (was Re: [OE-core] [PATCH 05/51] rpm: update 4.17.0 -> 4.17.1)
Alexander Kanavin
On Wed, 20 Jul 2022 at 11:23, Richard Purdie
<richard.purdie@...> wrote: That amounts to dropping x32 support because as soon as we remove theseBut then why not replace x32 with riscv32, which as well has 32 bit pointers but 64 bit integers and thus trips over the same type size issues? Alex |
|
Re: [Openembedded-architecture] Let's drop x86-x32 (was Re: [OE-core] [PATCH 05/51] rpm: update 4.17.0 -> 4.17.1)
Richard Purdie
On Wed, 2022-07-20 at 10:49 +0200, Alexander Kanavin wrote:
Note: this update fails on x32 withThat amounts to dropping x32 support because as soon as we remove theseconfigure: error: unrecognized GNU build triplet linux-gnux32This time I want to put my foot down and suggest that we just drop the tests, it will bitrot. There is still some value in the project being able to support different architectures and different type sizes so I do still lean towards keeping this alive at a minimal level. Cheers, Richard |
|
Let's drop x86-x32 (was Re: [OE-core] [PATCH 05/51] rpm: update 4.17.0 -> 4.17.1)
Alexander Kanavin
Note: this update fails on x32 with
toggle quoted message
Show quoted text
| configure: error: unrecognized GNU build triplet linux-gnux32 This time I want to put my foot down and suggest that we just drop the whole x32 variant from the autobuilder (I had already sent a patch for this previously). In all likelihood it was never used to ship anything to customers, and was only devised to look better in benchmarks against competition. Alex On Wed, 20 Jul 2022 at 10:44, Alexander Kanavin via lists.openembedded.org <alex.kanavin=gmail.com@...> wrote:
|
|
Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v"
#linux
#warning
#toolchain
#bitbake
#dunfell
Alexander Kanavin
This is not what I asked for (which was output of 'env'). Also, this
toggle quoted message
Show quoted text
shows the output of bitbake -c testimage, not of runqemu with nographic parameter. Alex On Wed, 20 Jul 2022 at 09:07, Nikita Gupta <nikitagupta2509@...> wrote:
|
|
Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v"
#linux
#warning
#toolchain
#bitbake
#dunfell
Nikita Gupta
Hello Alexander,
Please find the output file in attachment . Thanks |
|
Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v"
#linux
#warning
#toolchain
#bitbake
#dunfell
Nikita Gupta
Hello Khem Raj ,
After rebooting i am getting same error . |
|