GithubHelp home page GithubHelp logo

edison-fw / meta-intel-edison Goto Github PK

View Code? Open in Web Editor NEW
59.0 14.0 37.0 32.86 MB

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:

Home Page: https://edison-fw.github.io/meta-intel-edison/

License: MIT License

BitBake 32.72% Shell 29.58% C 5.72% Python 4.58% Makefile 4.49% JavaScript 0.37% Batchfile 14.53% HTML 1.04% NASL 6.93% C++ 0.04%
intel-edison yocto yocto-layer yocto-zeus

meta-intel-edison's Introduction

meta-intel-edison Layer

This is the Intel Edison image layer for the Intel Edison Development Platform. It builds the boot loader, kernel and root file system for the Intel Edison.

You will find more (stale) details in the README file in this directory

What is here

This is a fork of http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/

Sources and Documentation

You can find our latest sources on edison-fw/meta-intel-edison. The documentation can be found in the /docs directory or for the latest (master) on Intel Edison Image Builder.

What's in the branches

Currently we have Intel's original (factory) firmware: original and created additional branches for each Yocto version:

  • dizzy-uptodate tracks origin/dizzy with 3.10.98 kernel. This branch pulls https://github.com/htot/meta-intel-iot-middleware.git branch dizzy-uptodate with fixes for paho-mqtt relocated and iotkit-comm-js no longer supported.
  • dizzy-latest tracks origin/master as much as possible with 3.10.98 kernel. This branch pulls https://github.com/htot/meta-intel-iot-middleware.git branch dizzy-latest with fixes for paho-mqtt relocated and iotkit-comm-js no longer supported + java support removed. This gives mraa 0.9.0, upm 0.4.1 and mosquitto 1.4.
  • dizzy-rt same as dizzy-latest but with real time kernel. Switches the kernel to the PREEMPT_RT 3.10.17-rt kernel.
  • morty experimental branch based on Yocto Morty, vanilla kernel 4.13.
  • morty-64 experimental branch based on Yocto Morty, vanilla kernel 4.13 (64 bit).
  • pyro64 experimental branch based on Yocto Pyro, vanilla kernel 4.13 (64 bit). This version actually builds u-boot with bitbake -R conf/u-boot.conf lib32-u-boot (wiki to be updated).
  • rocko32 and rocko64-acpi based on Yocto Rocko with kernel 4.16.
  • sumo32 and sumo64-acpi based on Yocto Sumo with kernel 4.18
  • thud (64 bit) based on Yocto Thud with kernel 5.2.
  • warrior (64 bit) based on Yocto Warrior with kernel 5.4. This image now allows building Debian Buster as well.
  • zeus (64 bit) based on Yocto Warrior with kernel 5.6.
  • dunfell (64 bit) based on Yocto Dunfell with kernel 5.11.
  • gatesgarth (64 bit) based on Yocto Gatesgarth with LTS kernel 5.10, PREEMPT_RT kernel 5.10 and current kernel 5.14
  • hardknott (64 bit) based on Yocto Hardknott with LTS kernel 5.15.25, PREEMPT_RT kernel 5.15.25-rt33 and testing kernel 5.16.0
  • honister (64 bit) based on Yocto Honister with LTS kernel 5.15.81, PREEMPT_RT kernel 5.15.79-rt54 and testing kernel 6.0.0
    • kirkstone (64 bit) based on Yocto Honister with LTS kernel v6.1.55, PREEMPT_RT kernel v6.1.54-rt15 and testing kernel 6.6.0

See https://wiki.yoctoproject.org/wiki/Releases on Yocto releases and support status.

What to choose

Yocto Morty will build on Ubuntu Artful (17.10) while Kirkstone (the Yocto project LTS version) builds on Ubuntu Jammy (22.10).

Generally sumo32 will give best results if you rely on MRAA and UPM. In all other cases, use the latest, kirkstone.

kirkstone has a 64 bit kernel because we can, but may sometimes be actually slower than the 32bit kernel. master has the same as kirkstone, but 32 bits.

meta-intel-edison's People

Contributors

alext-mkrs avatar andy-shev avatar bwang1x avatar chenchux avatar ecc1 avatar frodrigx avatar htot avatar humanoid2050 avatar initdc avatar macvenez avatar mnceisel avatar mwallnoefer avatar nishantpoorswani avatar ochrin avatar olipinski avatar pchenthx1 avatar plbossart avatar smaalem avatar soaresm avatar staroselskii avatar zhenmingx avatar zhoushix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-intel-edison's Issues

Current master doesn't boot?

@htot, let me check something with you - looks like current master built from scratch (no saved state whatsoever, manually removed all the dirs) doesn't boot for me. The kernel boots up until the below and then just stalls, then in a short while the board gets reset by the watchdog timer, and the process repeats endlessly.

Have you seen anything like that? Could you please try building the image from scratch and checking if it boots for you?

<...>
[    2.216898] usb usb2: Manufacturer: Linux 4.16.0-edison-no-acpi-standard xhci-hcd
[    2.224414] usb usb2: SerialNumber: xhci-hcd.2.auto
[    2.230064] hub 2-0:1.0: USB hub found
[    2.233897] hub 2-0:1.0: 1 port detected
[    2.238788] usbcore: registered new interface driver usblp
[    2.244474] usbcore: registered new interface driver usb-storage
[    2.250681] usbcore: registered new interface driver pl2303
[    2.256361] usbserial: USB Serial support registered for pl2303
Full log inside

U-Boot 2018.05 (Jun 17 2018 - 12:44:14 +0000)

CPU: x86_64, vendor Intel, device 406a8h
DRAM:  980.6 MiB
MMC:   mmc@ff3fc000: 0, mmc@ff3fa000: 1
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0
=>
=> run edsboot
10749632 bytes read in 473 ms (21.7 MiB/s)
Valid Boot Flag
Setup Size = 0x00003e00
Magic signature found
Using boot protocol version 2.0d
Linux kernel version 4.16.0-edison-no-acpi-standard (oe-user@oe-host) #1 SMP Sat Jul 21 19:26:21 UTC 2018
Building boot_params at 0x00090000
Loading bzImage at address 100000 (10733760 bytes)
Magic signature found
Kernel command line: "tty1 console=ttyS2,115200n8 root=/dev/mmcblk1 rootfstype=ext4 systemd.unit=multi-user.target hardware_id=00"
Magic signature found

Starting kernel ...

[    0.000000] Linux version 4.16.0-edison-no-acpi-standard (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP Sat Jul 21 19:26:21 UTC 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000097fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000003ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000004000000-0x0000000005ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000006000000-0x000000003f4fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000003f500000-0x000000003fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec04000-0x00000000fec07fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
[    0.000000] random: fast init done
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48
[    0.000000] e820: last_pfn = 0x3f500 max_arch_pfn = 0x100000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI BIOS Error (bug): A valid RSDP was not found (20180105/tbxfroot-244)
[    0.000000] 129MB HIGHMEM available.
[    0.000000] 883MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 373fe000
[    0.000000]   low ram: 0 - 373fe000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000373fdfff]
[    0.000000]   HighMem  [mem 0x00000000373fe000-0x000000003f4fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000097fff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x0000000003ffffff]
[    0.000000]   node   0: [mem 0x0000000006000000-0x000000003f4fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003f4fffff]
[    0.000000] Reserved but unavailable: 1 pages
[    0.000000] Using APIC driver default
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] SFI: SYST E31F0, 0060 (v1  INTEL INTELFDK)
[    0.000000] SFI: CPUS E3296, 0020 (v1  INTEL INTELFDK)
[    0.000000] SFI: FREQ E32C2, 0030 (v1  INTEL INTELFDK)
[    0.000000] SFI: MMAP E32FE, 01A4 (v1  INTEL INTELFDK)
[    0.000000] SFI: XSDT E34B0, 002C (v1  INTEL INTELFDK)
[    0.000000] SFI: APIC E353E, 0020 (v1  INTEL INTELFDK)
[    0.000000] SFI: WAKE E356A, 0020 (v2  INTEL INTELFDK)
[    0.000000] SFI: DEVS E359E, 047D (v1  INTEL INTELFDK)
[    0.000000] SFI: GPIO E3A27, 0964 (v1  INTEL INTELFDK)
[    0.000000] SFI: OEMB E4397, 0060 (v5 UMGFDK CFGINFO!)
[    0.000000] SFI: registering lapic[0]
[    0.000000] SFI: registering lapic[2]
[    0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-54
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x00098000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x04000000-0x05ffffff]
[    0.000000] e820: [mem 0x40000000-0xfebfffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
[    0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s87756 r0 d31028 u118784
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 249263
[    0.000000] Kernel command line: tty1 console=ttyS2,115200n8 root=/dev/mmcblk1 rootfstype=ext4 systemd.unit=multi-user.target hardware_id=00
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000373fe:0003f500)
[    0.000000] Initializing Movable for node 0 (00000000:00000000)
[    0.000000] Memory: 972060K/1004124K available (9562K kernel code, 987K rwdata, 2764K rodata, 8484K init, 620K bss, 32064K reserved, 0K cma-reserved, 132104K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff16000 - 0xfffff000   ( 932 kB)
[    0.000000]   cpu_entry : 0xff800000 - 0xff939000   (1252 kB)
[    0.000000]     pkmap   : 0xff400000 - 0xff800000   (4096 kB)
[    0.000000]     vmalloc : 0xf7bfe000 - 0xff3fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf73fe000   ( 883 MB)
[    0.000000]       .init : 0xcef1d000 - 0xcf766000   (8484 kB)
[    0.000000]       .data : 0xceb56930 - 0xcef07f40   (3781 kB)
[    0.000000]       .text : 0xce200000 - 0xceb56930   (9562 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 2304, nr_irqs: 512, preallocated irqs: 0
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS2] enabled
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.000000] tsc: Detected 500.000 MHz processor
[    0.000046] tsc: Detected 499.200 MHz TSC
[    0.000048] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0xe642f98297, max_idle_ns: 881590439301 ns
[    0.000410] Calibrating delay loop (skipped), value calculated using timer frequency.. 998.40 BogoMIPS (lpj=499200)
[    0.000676] pid_max: default: 32768 minimum: 301
[    0.000910] Security Framework initialized
[    0.001000] SELinux:  Initializing.
[    0.001000] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001000] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001000] CPU: Physical Processor ID: 0
[    0.001000] CPU: Processor Core ID: 0
[    0.001000] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.001000] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.001000] mce: CPU supports 6 MCE banks
[    0.001000] CPU0: Thermal monitoring enabled (TM1)
[    0.001000] process: using mwait in idle threads
[    0.001000] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0
[    0.001000] Last level dTLB entries: 4KB 128, 2MB 16, 4MB 16, 1GB 0
[    0.001000] Spectre V2 : Mitigation: Full generic retpoline
[    0.001000] Freeing SMP alternatives memory: 40K
[    0.001000] SFI: MCFG E34F6, 003C (v1  INTEL INTELFDK)
[    0.001000] smpboot: CPU0: Genuine Intel(R) CPU   4000  @  500MHz (family: 0x6, model: 0x4a, stepping: 0x8)
[    0.001000] Performance Events: PEBS fmt2+, generic architected perfmon, full-width counters, Intel PMU driver.
[    0.001035] ... version:                3
[    0.001150] ... bit width:              40
[    0.001264] ... generic registers:      2
[    0.001376] ... value mask:             000000ffffffffff
[    0.001519] ... max period:             0000007fffffffff
[    0.001662] ... fixed-purpose events:   3
[    0.001773] ... event mask:             0000000700000003
[    0.002164] Hierarchical SRCU implementation.
[    0.008695] smp: Bringing up secondary CPUs ...
[    0.009550] x86: Booting SMP configuration:
[    0.009671] .... node  #0, CPUs:      #1
[    0.001000] Initializing CPU#1
[    0.010213] smp: Brought up 1 node, 2 CPUs
[    0.010213] smpboot: Max logical packages: 1
[    0.010262] smpboot: Total of 2 processors activated (1996.80 BogoMIPS)
[    0.011456] devtmpfs: initialized
[    0.014290] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.014454] kworker/u4:0 (20) used greatest stack depth: 7084 bytes left
[    0.014560] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.015085] pinctrl core: initialized pinctrl subsystem
[    0.015522] SFI: SFI sysfs interfaces init success
[    0.016245] RTC time:  8:37:37, date: 07/22/18
[    0.016872] NET: Registered protocol family 16
[    0.017677] audit: initializing netlink subsys (disabled)
[    0.018145] audit: type=2000 audit(1532248657.018:1): state=initialized audit_enabled=0 res=1
[    0.019550] cpuidle: using governor menu
[    0.021055] Using generic wifi platform data
[    0.021898] PCI: MMCONFIG for domain 0000 [bus 00-00] at [mem 0x3f500000-0x3f5fffff] (base 0x3f500000)
[    0.022030] PCI: MMCONFIG at [mem 0x3f500000-0x3f5fffff] reserved in E820
[    0.022211] PCI: Using MMCONFIG for extended config space
[    0.022356] Intel MID platform detected, using MID PCI ops
[    0.022505] PCI: Using configuration type 1 for base access
[    0.029676] kworker/u4:1 (68) used greatest stack depth: 6828 bytes left
[    0.063381] HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
[    0.065515] ACPI: Interpreter disabled.
[    0.065760] bcm43xx-vmmc-regulator: Failed to request enable GPIO96: -517
[    0.065956] reg-fixed-voltage reg-fixed-voltage.0.auto: Failed to register regulator: -517
[    0.066364] vgaarb: loaded
[    0.067105] SCSI subsystem initialized
[    0.067881] usbcore: registered new interface driver usbfs
[    0.068210] usbcore: registered new interface driver hub
[    0.068500] usbcore: registered new device driver usb
[    0.068931] pps_core: LinuxPPS API ver. 1 registered
[    0.069048] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.069340] PTP clock support registered
[    0.070233] EDAC MC: Ver: 3.0.0
[    0.070992] Advanced Linux Sound Architecture Driver Initialized.
[    0.071112] PCI: Probing PCI hardware
[    0.071391] PCI host bridge to bus 0000:00
[    0.071526] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.071700] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.071888] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.088621] Bluetooth: Core ver 2.22
[    0.088799] NET: Registered protocol family 31
[    0.088928] Bluetooth: HCI device and connection manager initialized
[    0.089036] Bluetooth: HCI socket layer initialized
[    0.089178] Bluetooth: L2CAP socket layer initialized
[    0.089376] Bluetooth: SCO socket layer initialized
[    0.089542] NetLabel: Initializing
[    0.089642] NetLabel:  domain hash size = 128
[    0.089761] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.090053] NetLabel:  unlabeled traffic allowed by default
[    0.091548] clocksource: Switched to clocksource tsc-early
[    0.166406] VFS: Disk quotas dquot_6.6.0
[    0.166625] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.167178] pnp: PnP ACPI: disabled
[    0.182698] NET: Registered protocol family 2
[    0.183774] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.184006] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.184346] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.184671] TCP: Hash tables configured (established 8192 bind 8192)
[    0.184966] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.185224] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.185632] NET: Registered protocol family 1
[    0.186459] RPC: Registered named UNIX socket transport module.
[    0.186625] RPC: Registered udp transport module.
[    0.186755] RPC: Registered tcp transport module.
[    0.186884] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.634512] DMA-API: preallocated 65536 debug entries
[    0.634661] DMA-API: debugging enabled by kernel config
[    0.635481] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0xe642f98297, max_idle_ns: 881590439301 ns
[    0.635796] clocksource: Switched to clocksource tsc
[    0.636223] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.638402] Scanning for low memory corruption every 60 seconds
[    0.640171] pci 0000:00:04.1: Registered Bluetooth device: hci_bcm
[    0.643195] Initialise system trusted keyrings
[    0.643857] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.660208] NFS: Registering the id_resolver key type
[    0.660379] Key type id_resolver registered
[    0.660499] Key type id_legacy registered
[    0.669266] Key type asymmetric registered
[    0.669393] Asymmetric key parser 'x509' registered
[    0.669600] bounce: pool size: 64 pages
[    0.669809] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.670047] io scheduler noop registered
[    0.670162] io scheduler deadline registered
[    0.670642] io scheduler cfq registered (default)
[    0.670778] io scheduler mq-deadline registered
[    0.670906] io scheduler kyber registered
[    0.682296] dw_dmac_pci 0000:00:15.0: DesignWare DMA Controller, 8 channels
[    0.684366] hsu_dma_pci 0000:00:05.0: Found HSU DMA, 12 channels
[    0.685147] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.689055] 8250_mid: probe of 0000:00:04.0 failed with error -16
[    0.689886] 0000:00:04.1: ttyS0 at MMIO 0xff010080 (irq = 28, base_baud = 1843200) is a TI16750
[    0.691575] 0000:00:04.2: ttyS1 at MMIO 0xff010100 (irq = 29, base_baud = 1843200) is a TI16750
[    0.692954] console [ttyS2] disabled
[    0.693158] 0000:00:04.3: ttyS2 at MMIO 0xff010180 (irq = 54, base_baud = 1843200) is a TI16750
[    1.931247] console [ttyS2] enabled
[    1.935683] Non-volatile memory driver v1.3
[    1.940487] Linux agpgart interface v0.103
[    1.955127] loop: module loaded
[    1.960427] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    1.966588] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.972246] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    1.979334] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.985241] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.991112] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.997216] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    2.004216] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.009941] sky2: driver version 1.30
[    2.014404] usbcore: registered new interface driver r8152
[    2.020049] usbcore: registered new interface driver asix
[    2.025556] usbcore: registered new interface driver ax88179_178a
[    2.031755] usbcore: registered new interface driver cdc_ether
[    2.037696] usbcore: registered new interface driver net1080
[    2.043462] usbcore: registered new interface driver cdc_subset
[    2.049490] usbcore: registered new interface driver zaurus
[    2.055173] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    2.062716] usbcore: registered new interface driver cdc_ncm
[    2.069260] dwc3 dwc3.1.auto: Configuration mismatch. dr_mode forced to host
[    2.077667] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.084256] ehci-pci: EHCI PCI platform driver
[    2.088843] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.095078] ohci-pci: OHCI PCI platform driver
[    2.099652] uhci_hcd: USB Universal Host Controller Interface driver
[    2.106421] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    2.112273] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[    2.120190] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f06c hci version 0x100 quirks 0x02010010
[    2.129000] xhci-hcd xhci-hcd.2.auto: irq 34, io mem 0xf9100000
[    2.135382] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.142234] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.149501] usb usb1: Product: xHCI Host Controller
[    2.154417] usb usb1: Manufacturer: Linux 4.16.0-edison-no-acpi-standard xhci-hcd
[    2.161932] usb usb1: SerialNumber: xhci-hcd.2.auto
[    2.167571] hub 1-0:1.0: USB hub found
[    2.171430] hub 1-0:1.0: 1 port detected
[    2.175937] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    2.181729] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[    2.189547] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.197888] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    2.204728] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.211985] usb usb2: Product: xHCI Host Controller
[    2.216898] usb usb2: Manufacturer: Linux 4.16.0-edison-no-acpi-standard xhci-hcd
[    2.224414] usb usb2: SerialNumber: xhci-hcd.2.auto
[    2.230064] hub 2-0:1.0: USB hub found
[    2.233897] hub 2-0:1.0: 1 port detected
[    2.238788] usbcore: registered new interface driver usblp
[    2.244474] usbcore: registered new interface driver usb-storage
[    2.250681] usbcore: registered new interface driver pl2303
[    2.256361] usbserial: USB Serial support registered for pl2303

Some recipes refer to non-existing bcm4334x module and old FW

When checking the hostapd stuff for #21 I've noticed the driver currently used for the wifi NIC has changed - the original Edison image used some semi-custom (? - it looked like the part is based on the public chip, but it either was customized somehow or used a customized FW, so e.g. the docs are not available, some on Intel forums tried) bcm4334x one + some again semi-custom FW generated/packaged in dedicated recipes. Same went for the Bluetooth part of it (it's a combo adapter).

Right now with the 4.16 vanilla kernel the wifi seems to work, but the driver used is brcmfmac and therefore some of the recipes no longer do the right thing + there are some errors logged in the boot log. I haven't yet done any serious reconnaissance, so let's see if a single issue would make sense. Let's document such things here and fix them all at once or one-by-one as appropriate.

  • meta-intel-edison/meta-intel-edison-distro/recipes-support/ap-mode-toggle
  • brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43340-sdio.clm_blob failed with error -2 in the boot log

sumo branch build failure

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "i686-poky-linux"
MACHINE = "edison"
DISTRO = "poky-edison"
DISTRO_VERSION = "2.5.2"
TUNE_FEATURES = "m32 corei7"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "sumo:623b77885051174d0e05198843e739110977bd18"
meta-oe
meta-python
meta-networking = "sumo:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-intel = "sumo:90af97d23fb2a56187c2fe2a3f4f4190d7cc2605"
meta-intel-edison-bsp
meta-intel-edison-distro = "master:d0de39d612c6cb032f19acd3b89f2f4264c444b9"
meta-acpi = "eds:477a31d2bad06de9c240753462695c46569cf162"

ERROR: Multiple versions of openssl are due to be built (/home/cloud/edison/out/linux64/poky/meta/recipes-connectivity/openssl/openssl_1.1.0i.bb /home/cloud/edison/out/linux64/poky/meta/recipes-connectivity/openssl/openssl_1.0.2p.bb). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_openssl to select the correct version or don't depend on multiple versions.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:53: recipe for target 'edison-image' failed
make: *** [edison-image] Error 1

Power button not working

Edison has a power button handler, but it currently doesn't work. Reason is systemd is handling the events, so pressing the power button shuts down the Edison.

To disable that we need to change /etc/systemd/logind.conf:
HandlePowerKey=ignore

With this set, power button handler detects:

  1. Edison PWR button was pressed more than 2s
  2. Edison PWR button was pressed more than 2s and released
  3. Edison PWR button was pressed 3 times

Further:

  • press 10s and release reboots Edison

I have patch in my queue that turns on Bluetooth for pairing on 3 presses, without further intervention. When this works we can enable phone pairing with tethering, and initial setup (oobe) done from phone browser. A single press could enable WiFi AP to do the same.

But I need to know best way to get login.conf modified. It could be done from post-install but that seems ugly.

@alext-mkrs Do you have better suggestion?

Since morty `reboot arg` does not work and just reboots

This is still an issue on sumo.
Factory Edison image bbappends systemd to achieve this.

The use case would be to reboot into edsboot from ssh using reboot sd and usbboot using reboot usb.

While here, we might remove reboot ota as that can't work due to the size of the image and the limited free space. Maybe we can find an alternative when extra storage (sd/usb) is connected, or update via apt.

On sumo64-acpi blink-led is not working

@lybtongji wrote:

I flashed sumo64-acpi and found blink-led not working. Is it due to ACPI?

@htot wrote:

Yes, because of acpi pin names/numbers have changed. This affects blink-led and mraa and probably some other code too. I found the best way to access pins is from the libgpiod provided tools gpiodetect gpiofind gpioget gpioinfo gpiomon gpioset. See also Edison wiki.
For now I think we need the code first to detect if we are using acpi (Edit: /sys/kernel/config/acpi/table/arduino/ /sys/firmware/acpi exists).
I didn't find time to fix blink-led, but if you want to take this, please do.

configure_edison (oobe) not working out of the box

I got node /usr/lib/edison_config_tools/edison-config-server.js to work. There are multiple problems:

  1. iwlist is installed, but probably compatibility in the kernel is not enabled
  2. the modern replacement iw is not installed in the image
  3. manually installing, the output is different, requiring changes to configure_edison
  4. shelljs used to have output field, but changed to stdout
  5. the list of available networks is not displayed

i2c not work in master

Hi,
I am very excited to found this wonderful project! It make my Edison board reborn.
I have successful build branch sumo and branch master.
but I can't get my i2c device work with it. I have read each section of manual very careful, and can't find a clue.
I am use Edison Arduino board, and I had followed guide I2C, there is 4 multiplexers in bus-1, address 20-23, but none device in bus-6,
my device is ssd-1306 oled, it works on arduino uno board at address 0x3C,
I have found some error message in log:

Using boot protocol version 2.0d
Linux kernel version 5.2.0-edison-acpi-standard (oe-user@oe-host) #1 SMP Mon Oct 28 07:13:03 UTC 2019
Building boot_params at 0x00090000
Loading bzImage at address 100000 (11919392 bytes)
Magic signature found
Kernel command line: "root=/dev/mmcblk0p8 rootfstype=ext4 console=ttyS2,115200n8 earlyprintk=ttyS2,115200n8,keep loglevel=4 g_multi.ethernet_config=cdc systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=8452e52a5b73f5f38c917327f40a577c g_multi.dev_addr=02:00:86:0a:57:7c platform_mrfld_audio.audio_codec=dummy"
Magic signature found

Starting kernel ...

starting version 239
Kernel with acpi enabled detected
Loading acpi tables
[ 1.985141] pca953x i2c-INT3491:00: failed writing register
gpioset: at least one GPIO line offset to value mapping must be specified
gpioset: at least one GPIO line offset to value mapping must be specified
Waiting for root device /dev/mmcblk0p8
Found device '/run/media/mmcblk0p8'

Welcome to Poky (Yocto Project Reference Distro) 2.6.4 (thud)!

[discussion] Do we really need meta-intel-iot-middleware?

We've touched upon this in another thread and @htot, you've removed the old node, mraa and upm recipes. However let me take this further and ask why would we need this whole layer at all.

I personally see no point of having it - its main piece was xdk-daemon and wyliodrin libs/server. The former is no longer supported for a long time (and the cloud it connected to is gone as well) and the latter is most probably EOLed too at the Wyliodrin side, as Edison is EOLed (I'm not 100% on that, that's a hypothesis, but in any case I'm not sure if people used it at all).

Everything else there are just dependencies, which don't look too generally useful to justify preservation. Maybe just the paho-mqtt library and hid-api, but recipe for the former is utterly outdated (2014 vs 2017 in meta-oe) and the latter it not developed since 2016. So my proposal would be to drop the whole layer with optionally (if anyone sees a value) adding newer paho-mqtt recipe from meta-oe.

@htot (or anyone else reading this), what do you think?

how to install driver

Hi i want to install sierra driver,but that show "not found kernel modules" when i make install($(MAKE) -C $(/lib/modules/$(shell uname -r)/build) M=$(PWD) modules).
So i think it should be no kernel header,then i add" IMAGE_INSTALL_append = linux-libc-header" to edison-image.bb,but i have encountered an error that show "unable to locate package linux-libc-header".
can you help me?thank you.
(thud branch)

Not installing file to /home

Hi ,I encounter some problem .My Edison has nothing in /home after the flashing.
But my yocto rootfs have some thing.

ls out/linux64/build/tmp/work/edison-poky-linux/edison-image/1.0-r0/rootfs/home/ -l
total 16
drwxr-xr-x 2 shawn shawn 4096 Feb  7 10:08 bovia
drwxr-sr-x 2 shawn shawn 4096 Jan 30 08:53 root
drwxr-xr-x 2 shawn shawn 4096 Feb  7 10:08 tester
-rw-r--r-- 1 shawn shawn  167 Feb  7 10:01 wpa_supplicant-wlan0.conf

Other filles can be installed to root normally,but there is no way to install to /home.

sumo64-acpi flashed to Edison but wireless network is not working

hi,
it seems that BCM43340 wifi module is not loaded and missing. not sure if it is a building error or something I missed. Thank you very much!

Peter

**********************iwconfig shows below:
sit0 no wireless extensions.
lo no wireless extensions.
wlan0 no wireless extensions.
*********************current loaded modules
Module Size Used by
spi_pxa2xx_platform 28672 0
pwm_lpss_pci 16384 0
pwm_lpss 16384 1 pwm_lpss_pci
spi_pxa2xx_pci 16384 0
brcmfmac 274432 0
brcmutil 16384 1 brcmfmac
iptable_nat 16384 0
nf_nat_ipv4 16384 1 iptable_nat
hci_uart 49152 0
nf_nat 32768 1 nf_nat_ipv4
btbcm 16384 1 hci_uart
ti_ads7950 36864 0
industrialio_triggered_buffer 16384 1 ti_ads7950
kfifo_buf 16384 1 industrialio_triggered_buffer
spidev 20480 0
mmc_block 40960 3
sdhci_pci 36864 0
cqhci 28672 1 sdhci_pci
sdhci 53248 1 sdhci_pci
led_class 16384 1 sdhci
mmc_core 147456 5 sdhci,cqhci,mmc_block,brcmfmac,sdhci_pci

***********/lib/modules/4.18.0-edison-acpi-standard
drwxr-xr-x 5 root root 4096 Nov 22 2018 kernel
-rw-r--r-- 1 root root 67710 Nov 22 2018 modules.alias
-rw-r--r-- 1 root root 67465 Nov 22 2018 modules.alias.bin
-rw-r--r-- 1 root root 14141 Nov 22 2018 modules.builtin
-rw-r--r-- 1 root root 17093 Nov 22 2018 modules.builtin.bin
-rw-r--r-- 1 root root 3778 Nov 22 2018 modules.dep
-rw-r--r-- 1 root root 6320 Nov 22 2018 modules.dep.bin
-rw-r--r-- 1 root root 0 Nov 22 2018 modules.devname
-rw-r--r-- 1 root root 2190 Nov 22 2018 modules.order
-rw-r--r-- 1 root root 55 Nov 22 2018 modules.softdep
-rw-r--r-- 1 root root 10135 Nov 22 2018 modules.symbols
-rw-r--r-- 1 root root 12927 Nov 22 2018 modules.symbols.bin

On first build kernel modules can not be located for installation into initramfs

On rocko on the first build after make setup the build fails with:

ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: Unable to install packages. Command '/home/ferry/tmp/edison-intel/my/edison-morty/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --force-yes --allow-unauthenticated acpi-tables base-passwd busybox initramfs-live-boot kernel-module-mmc-block kernel-module-sdhci-acpi kernel-module-sdhci-pci run-postinsts udev' returned 100:
Reading package lists...
Building dependency tree...
E: Unable to locate package kernel-module-mmc-block
E: Unable to locate package kernel-module-sdhci-acpi
E: Unable to locate package kernel-module-sdhci-pci

ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/ferry/tmp/edison-intel/my/edison-morty/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/temp/log.do_rootfs.10056
ERROR: Task (/home/ferry/tmp/edison-intel/my/edison-morty/out/linux64/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_rootfs) failed with exit code '1'

It appears no kernel modules were built. do_compile_kernelmodules was executed, but it's log file says: NOTE: no modules to compile, which seems to originate from grepping .config for "^CONFIG_MODULES=y$" in do_compile_kernelmodules(). Checking .config I find # CONFIG_MODULES is not set which we do have that set if defconfig. Something seems to go wrong with run.do_kernel_metadata on the first run.

run.do_kernel_metadata generates dir's .meta and .kernel-meta under kernel-source. Here the correct config is generated from .defconfig + .cfg. But it seems this is not used by run.do_configure

configure_edison

The cmdline tool configure_edison doesn't work properly any more. For instance you aren't able to set up a wifi connection using configure_edison --wifi which had been a neat feature in the past.

Checking the sources under https://github.com/intel/edison-oobe/blob/master/src/configure_edison revealed that there no longer exists an interfaces file (apparently no network service) and also no hostapd service. Further it seems that some paths have been changed (lines 473 till 476 /etc/wpa_supplicant/wpa_supplicant.conf -> /etc/wpa_supplicant.conf).

No idea if it makes sense to maintain this tool or better to look for an alternative.

Bluetooth support

Hi,
have you had luck with getting bluetooth to work on kernel 4.x?
Is the btbcm module working or do we need to fall back to backporting the bcm_bt_lpm?

Thank you

arduino sketch does not work in branch thud

I am use arduino library, 1.6.7+1.0

after compile and upload sketch, it was running but not work as expect.

should I upgrade sysroot in packages/Intel/hardware/i686/1.6.7+1.0, and patch some file to work with chardev ?

since there are tons of arduino libraries, if we can still support arduino framework, then everything is easy.

how to get spi screen work in ACPI enable kernel.

I want to driver oled screen in spi mode, it is need additional pins, RST and D/C
in master(thud) branch, x86 32bit mode,

acpi settings:
ACPI_TABLES ?= "arduino.asl spidev.asl"
ACPI_FEATURES_edison ?= "uart_2w i2c spi"

should I use arduino-all.asl? I saw there is a macro for spi, #define MUX_SPI

to simplify operation, I choice pin7 & pin8 for D/C , RST; so I don't need set any Mux or Soc pin mode.
I think I should set these pins to output by set gpio255/223 and gpio256/224, but I don't know how to find them with libgpiod,
root@edison:~# gpiofind 'U34_IO0.7'
nothing found.

or if I set mode to LINE_REQ_DIR_OUT in libgpiod for gpio48/49 , all necessary setting will done automatically?

and I guest name of gpio48/49 is DIG7_PU_PD/DIG8_PU_PD, is it right?
and if I choice some pin need configure mux and soc pin mode, how find their name in libgpiod?
and if I want made all those operation automatically, how to write correct asl file? I found adafruit.asl is very close to my goal, but I don't know how to get start, would you please give me some advice.

Master build failure

OS: Ubuntu 14.0.0
Procedure:

  • Downloaded the last intel source
  • Put this meta-intel-edison in the correct place

make setup
make debian_image

Fails building node with linking errors around libssl. Can't figure out what the problem is. Do you have any advice?

Looks like Node v8.9.4 and libssl 1.0.2j

Change boot GPIO states

Hi,

I am currently buiding the Pyro64 to test it.
One thing i would need it for is to able to change GPIO state as soon as possible.
The reason are:

  • we have a power button for which we need to put the GPIO state to 0 as soon as possible. That button is used to power on the device and we need to tell it we are good and the edison is started
  • we have a pump connected to gpio which state makes it start at full speed. We would like for the pump to be off on start (less noise)

Can i do that using a recipe? Could someone point me to the right way to do that?
Sorry i am new to building my own linux image

Thanks

bitbake -k edison-image error

Hi,i trying to build image,but i have encountered some problems.it shows [error: Nothing PROVIDES 'edison-image' ] when i bitbake -k edison-image.how can i solve it?thank

ERROR:free(): double free detected in tcache 2

Hi,I build thud on ubuntu 18.04.3.Just at the end when it seems to be creating the image files, I run into this "double free detected" error for both minimal and example image.

ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: Unable to install packages. Command '/mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/opkg.conf -t /mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/temp/ipktemp/ -o /mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/rootfs  --force_postinstall --prefer-arch-to-version   install acpi-tables base-passwd busybox initramfs-framework-base initramfs-module-setup-live initramfs-module-udev kernel-module-extcon-intel-mrfld kernel-module-intel-soc-pmic-mrfld kernel-module-mmc-block kernel-module-sdhci-acpi kernel-module-sdhci-pci run-postinsts udev' returned -6:
free(): double free detected in tcache 2

I dont know why.Haven't seen this error before.Do you have any idea?

MRAA needs to be adapted to acpi pin numbering/naming

When we run the MRAA Example Blink-IO.js on the acpi enabled image nothing happens.

dmesg shows:
edison kernel: export_store: invalid GPIO 214

This indicates MRAA is using the wrong pin numbering - and in fact it should be using the pin names.
Doing gpioinfo shows TRI_STATE_ALL is on gpiochip1 line 14.
You find gpiochip1 under /sys/class/gpio/gpiochip496/device/, so the base address has become 496 and the gpio is 510.

We need to modify intel_edison_fab_c.c to use either libgpiod or the new gpio chardev interface directly to get mraa working.

This is a priority task as it currently seems to be the only thing holding us back to switch to the acpi enabled image.

@alext-mkrs do you feel inspired to take this? You are without doubt the most knowledgeable of us.

enabling CONFIG_WATCHDOG_NOWAYOUT=y in kernel does not work

I have enabled CONFIG_WATCHDOG_NOWAYOUT=y in kernel config, but when I start the watchdog service and stop it, I'd expect a reboot after 60 sec.
However, the watchdog timer is stopped, just like I would have not enabled CONFIG_WATCHDOG_NOWAYOUT at all.

How to add TUN/TAP kernel driver?

I have tried to add IMAGE_INSTALL_append += " kernel-module-tun" to out/linux64/build/conf/local.conf. But got error:

ERROR: edison-image-1.0-r0 do_rootfs: Unable to install packages. Command '/home/recover/os/out/linux64/build/tmp/work/edison-poky-linux/edison-image/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --force-yes --allow-unauthenticated alsa-utils-alsactl alsa-utils-alsamixer alsa-utils-amixer alsa-utils-aplay ap-mode-toggle apt asciidoc bash-completion battery-voltage bcm43340-fw bind-utils blink-led bluez5-dev bluez5-noinst-tools bluez5-obex bluez5-testtools bridge-utils libcares2 libcares-dev cleanjournal connman connman-client connman-tools cppzmq-dev crashlog curl curl-dev dnsmasq dosfstools dpkg e2fsprogs-badblocks e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-tune2fs ethtool file git git-perltools gstreamer1.0 gstreamer1.0-meta-audio gstreamer1.0-meta-base hostapd htop i2c-tools iotop iperf3 iptables iw kernel-module-tun kernel-modules ldd less libcom-err2 libe2p2 libev4 libev-dev libext2fs2 libgomp1 libgpiod libnss-mdns-dev libpam libpulse0 libpulse-simple0 libpulsecommon libpulsecore libsodium-dev libss2 libstdc++6 lrzsz lshw lsof mbedtls mbedtls-dev mcu-fw-bin mcu-fw-load mosquitto-clients mosquitto-dev libmraa-dev libmraa-doc net-tools nodejs-dev nodejs-npm ntp ofono oobe openssh-sftp-server openvpn opkg packagegroup-core-boot packagegroup-core-buildessential packagegroup-core-ssh-openssh packagegroup-core-tools-debug parted pciutils perf perl perl-module-extutils-cbuilder perl-module-extutils-install perl-module-extutils-makemaker perl-module-extutils-manifest perl-module-extutils-parsexs perl-modules post-install powertop pulseaudio-misc pulseaudio-server pwr-button-handler python python-argparse python-audio python-compile python-ctypes python-distutils python-email python-html python-image python-importlib python-json python-misc python-netserver python-numbers python-paho-mqtt-dev python-pip python-pkgutil python-pydoc python-setuptools python-unittest python-xmlrpc python3-pip python3-setuptools resize-rootfs rng-tools run-postinsts screen sketch-check sst-fw-bin sudo swig systemd-analyze tcpdump tzdata u-boot-fw-utils upm-dev usbutils vim watchdog-sample wget wireless-tools wpa-supplicant xmlto zeromq-dev' returned 100:
Reading package lists...
Building dependency tree...
Package kernel-module-tun is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'kernel-module-tun' has no installation candidate

ERROR: edison-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/recover/os/out/linux64/build/tmp/work/edison-poky-linux/edison-image/1.0-r0/temp/log.do_rootfs.46661
ERROR: Task (/home/recover/os/meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4623 tasks of which 4562 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/recover/os/meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image.bb:do_rootfs
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Makefile:53: recipe for target 'edison-image' failed
make: *** [edison-image] Error 1

Some scripts use wrong hostapd.conf path

On the current image, the configure_edison script uses a wrong path. The file is actually /etc/hostapd.conf, but it tries to use /etc/hostapd/hostapd.conf. Probably an artifact of an older hostapd version that was shipped with original Edison image and needs to be fixed.

ADDED LATER: oh, and meta-intel-edison/meta-intel-edison-distro/recipes-core/post-install does that as well.

Move wiki to /docs directory

This will allow keeping documentation in sync with commits. Also then we can open up the wiki for user documentation contributions.

SoC_DT0 and SoC_DT1 (intel temperature sensors) not available

Hi,

The intel temperature drivers are not available in thud version.
I have tried to enable the drivers in the kernel with no success.
Can you point out what are the kernel configuration parameters I need to enable/disable so that I can access the intel temperature sensors trough /sys/class/thermal/ interface?

Thank you,
Razvan

how to use MCU SDK in thud branch or most recent branch

in original firmware, we use tty channels and sysfs nodes to coummunicate with the MCU.
in thud branch, the /dev/ttymcuX is missing, sysfs node /sys/devices/platform/intel_mcu does not exist, only a shell script and a firmware exist
/etc/intel_mcu/mcu_fw_loader.sh
/lib/firmware/intel_mcu.bin

so how can develop a MCU application and upload/debug it ?

failure to build SDK for macosx

already add meta-darwin in build/conf/bblayers.conf.
set SDKMACHINE = "i386-darwin" in build/conf/local.conf
have created OSX-sdk.zip for osx 10.13

xlla$ ditto `xcrun --sdk macosx10.13 --show-sdk-path` .
xlla$ zip -yr OSX-sdk OSX-sdk

I have put OSX-sdk.zip in download folder according to Makefile.

echo "Please make sure that OSX-sdk.zip is available in your bitbake download directory"
mv ~/develop/OSX-sdk.zip ~/develop/git/bbcache/downloads/
xlla@u18-1:~/develop/git/out/macosx$ ls
build  poky
xlla@u18-1:~/develop/git/out/macosx$ source poky/oe-init-build-env build

### Shell environment set up for builds. ###

You can now run 'bitbake '

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
xlla@u18-1:~/develop/git/out/macosx/build$ bitbake odcctools2-crosssdk -c cleansstate
WARNING: Layer meta-darwin should set LAYERSERIES_COMPAT_meta-darwin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-darwin should set LAYERSERIES_COMPAT_meta-darwin in its conf/layer.conf file to list the core layer names it is compatible with.
Parsing recipes: 100% |###########################################################################################| Time: 0:00:37
Parsing of 2216 .bb files complete (0 cached, 2216 parsed). 3287 targets, 311 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:
  /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-core/zlib/zlib_1.2.8.bbappend
  /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-devtools/binutils/binutils-cross-canadian_2.24.bbappend
  /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-devtools/gcc/gcc-cross-canadian_4.9.bbappend
  /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bbappend
  /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-devtools/gcc/gcc-crosssdk_4.9.bbappend
  /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-devtools/gcc/gcc-runtime_4.9.bbappend
  /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-devtools/gcc/libgcc_4.9.bbappend

Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

then I change those 7 xxx.bbapend files to the version same as meta.

zlib_1.2.11.bbappend
binutils-cross-canadian_2.32.bbappend
xlla@u18-1:~/develop/git/out/macosx$ ls /home/xlla/develop/git/out/macosx/poky/meta-darwin/recipes-devtools/gcc/
gcc-cross-canadian_8.3.bbappend  gcc-crosssdk_8.3.bbappend  gcc-crosssdk-initial_8.3.bbappend  gcc-runtime_8.3.bbappend  libgcc_8.3.bbappend

then new errors come out.

xlla@u18-1:~/develop/git/out/macosx/build$ bitbake odcctools2-crosssdk -c cleansstate
WARNING: Layer meta-darwin should set LAYERSERIES_COMPAT_meta-darwin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-darwin should set LAYERSERIES_COMPAT_meta-darwin in its conf/layer.conf file to list the core layer names it is compatible with.
Loading cache: 100% |#############################################################################################| Time: 0:00:00
Loaded 3286 entries from dependency cache.
ERROR: ExpansionError during parsing /home/xlla/develop/git/out/linux64/poky/meta/recipes-devtools/gcc/gcc-crosssdk_8.3.bb-:--:--
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable EXTRA_OECONF_darwin[:=], expression was ${@oe_filter_out('--with-gnu-ld', '${@oe_filter_out('--with-linker-hash-style=sysv', '    --enable-clocale=generic     --with-gnu-ld     --enable-shared     --enable-languages=c,c++,objc     --enable-threads=posix     --disable-multilib     --enable-default-pie     --enable-c99     --enable-long-long     --enable-symvers=gnu     --enable-libstdcxx-pch     --program-prefix=i386-pokysdk-darwin-     --without-local-prefix         --disable-lto     --disable-libssp     --enable-libitm     --disable-bootstrap     --disable-libmudflap     --with-system-zlib     --with-linker-hash-style=sysv     --enable-linker-build-id     --with-ppl=no     --with-cloog=no     --enable-checking=release     --enable-cheaders=c_global     --without-isl               --with-gxx-include-dir=/not/exist/opt/poky-edison/2.7.2/sysroots/i386-pokysdk-darwin/usr/include/c++/8.3.0     --with-sysroot=/not/exist     --with-build-sysroot=/home/xlla/develop/git/out/macosx/build/tmp/work/x86_64-linux/gcc-crosssdk-i386-pokysdk-darwin/8.3.0-r0/recipe-sysroot                --without-long-double-128 libgcc_cv_powerpc_float128=no       --enable-poison-system-directories     --with-system-zlib  --disable-static ${PACKAGECONFIG_CONFARGS} --disable-nls --with-glibc-version=2.28  --enable-initfini-array', d)} --disable-static ${PACKAGECONFIG_CONFARGS} ${@gettext_oeconf(d)} --with-glibc-version=2.28  --enable-initfini-array', d)} which triggered exception SyntaxError: invalid syntax (Var , line 1)


Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

after read poky/meta-darwin/recipes-devtools/osx-runtime/nativesdk-osx-runtime_10.8.bb
I move OSX-sdk.zip into poky/meta-darwin/recipes-devtools/osx-runtime/files/

xlla@u18-1:~/develop/git/out/macosx/build$ mv ~/develop/git/bbcache/downloads/OSX-sdk.zip ../poky/meta-darwin/recipes-devtools/osx-runtime/files/

xlla@u18-1:~/develop/git/out/macosx$ ls -alh poky/meta-darwin/recipes-devtools/osx-runtime/files/
total 79M
drwxrwxr-x 2 xlla xlla 4.0K 2月  19 03:09 .
drwxrwxr-x 3 xlla xlla 4.0K 2月  19 16:11 ..
-rw-rw-r-- 1 xlla xlla   11 2月  15 20:27 LICENSE
-rw-r--r-- 1 xlla xlla  79M 2月  19 02:01 OSX-sdk.zip
-rw-rw-r-- 1 xlla xlla 5.9K 2月  15 20:27 remove_unsupported_attribute_availability_with_message_for_gcc.patch

same errors.

Installation from scratch after build / fix postbuild

I built the the Pyro64 following the wiki.
After the successfull build i ended up with the ext4 image, the u-boot-envs folder and the u-boot files.
Now i was thinking about flashing it from scratch on an edison.
To do so

  • i took official release zip,
  • copied the built files inside it, replacing old ones
  • tried to flash.

But i get stuck at starting Kernel

U-Boot 2017.09 (Nov 17 2017 - 15:07:34 +0000)

CPU: x86_64, vendor Intel, device 406a8h
DRAM:  980.6 MiB
MMC:   mmc@ff3fc000: 0, mmc@ff3fa000: 1
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0
Target:blank
Partitioning already done...
Flashing already done...
reading vmlinuz
6989120 bytes read in 315 ms (21.2 MiB/s)
Valid Boot Flag
Setup Size = 0x00003e00
Magic signature found
Using boot protocol version 2.0d
Linux kernel version 4.8.0-rc4 (root@ubuntu) #3 SMP Mon Sep 5 07:49:17 EDT 2016
Building boot_params at 0x00090000
Loading bzImage at address 100000 (6973248 bytes)
Magic signature found
Kernel command line: "rootwait root=PARTUUID=012b3303-34ac-284d-99b4-34e03a2335f4 rootfstype=ext4 console=ttyMFD2 earlyprintk=ttyMFD2,keep loglevel=4 g_multi.ethernet_config=cdc systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=701aeb7dcdbca11ae870b32fd711de3b g_multi.dev_addr=02:00:86:11:de:3b platform_mrfld_audio.audio_codec=dummy"

Starting kernel ...

Obvioulsy i forgot to compile and upgrade the kernel. I see how to build it from the wiki, then i end up with a bzImage-initramfs-edison.bin file. But i dont see where to put that file.
This is the list of files i have in my "flashing" directory that i use with "Flash Tool Lite"
screen shot 2017-11-17 at 17 16 18

Can someone help?
Thanks

screen sessions lost after ssh exit

I have noticed that if I connect to an edison board through ssh, launch a screen session, type for example top and detach, then I can reattach.
But if I exit ssh, reconnect through ssh, then there is no more screen sessions available (screen -r does not work and screen -list does not list any sessions).
As the session were stored in /tmp, I tried to move them to /run by using SCREENDIR variable. But the problem still remain.
I am using sumo version.
If someone know how to solve this issue, I will be happy to read.

how to find name of GPIO pin mux/Soc pin modes/Output/Pullup in libgpiod

for example, to use built in LED in arduino pin13
we need
set 214 0
set 243 0
set 40 mode0
set 109 mode0
set 261 1
set 229 0
set 214 1

but in /usr/bin/blink-led

set_line("TRI_STATE_ALL", 0)
set_line("SPI_CLK_SEL", 0)
set_line("MUX18_DIR", 1)
set_line("TRI_STATE_ALL", 0)
led = gpiod.Chip("gpiochip0").get_line(40)
led.request(consumer=led.owner().name(), type=gpiod.LINE_REQ_DIR_OUT)

1, where is the map or table, we can lookup 214 to "TRI_STATE_ALL", ?? to "SPI_CLK_SEL", ?? to "MUX18_DIR"?
2, why set TRI_STATE_ALL to zero twice?

Network configuration

I got Edison to operate as a wifi bridge using systemd-networkd, hostapd.
The DHCP server is in my external router. The bridge receives network settings from the router, device eth0 and wlan0 don't and need none. Laptop connecting to the AP receives network settings from the DHCP server in the router. Very cool. Laptop, Edison, router etc. are all on the same subnet.

This configuration will not work when there is no eth0 present or when it's not connected as there is no DHCP server active then. The laptop will see the AP, send the passphrase but not receive a network address. Not good for initial configuration.

Also, without eth0, initial configuration would probably want to select wlan0 to connect as a client to another AP which will then provide the DHCP server.

Ways out:
1 detect DHCP server present or not. symlink appropriate network file and daemon-reload, restart networkd,
2 create a wireless router, with a DHCP server on AP wlan0. wifi connected devices will be on a subnet

I all cases have configuration script switch from AP to wifi client, which would mean symlinking appropriate file, stopping hostapd, maybe starting wpa_supplicant, daemon-reload, restarting networkd.

Or we accept that networkd is not very good in on the fly network topology changes and use connman, which has a tether command, that I did not yet get to work.

My gut says stick with networkd and create a router (2).

sumo cannot boot from emmc

After building master branch and flash the image, it stuck in a bootloop.

Here is the boot information:

Boot Info
******************************
PSH KERNEL VERSION: b0182b2b
                WR: 20104000
******************************

SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 11:24:08 Feb 5 2015

******* PSH loader *******
PCM page cache size = 192 KB
Cache Constraint = 0 Pages
Arming IPC driver ..
Adding page store pool ..
PagestoreAddr(IMR Start Address) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000

*** Ready to receive application ***

U-Boot 2018.05 (Aug 10 2018 - 03:32:08 +0000)

CPU: x86_64, vendor Intel, device 406a8h
DRAM: 980.6 MiB
MMC: mmc@ff3fc000: 0, mmc@ff3fa000: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
Target:blank
Partitioning already done...
Flashing already done...
** Unable to read file vmlinuz **
Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)

Kernel loading failed ...

zboot - Boot bzImage

Usage:
zboot [addr] [size] [initrd addr] [initrd size]
addr - The optional starting address of the bzimage.
If not set it defaults to the environment
variable "fileaddr".
size - The optional size of the bzimage. Defaults to
zero.
initrd addr - The address of the initrd image to use, if any.
initrd size - The size of the initrd image to use, if any.

Unknown boot mode: boot
Saving Environment to MMC... Writing to MMC(0)... OK
Resetting to default boot mode and reboot...
resetting ...


PSH KERNEL VERSION: b0182b2b
WR: 20104000


SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 11:24:08 Feb 5 2015

******* PSH loader *******
PCM page cache size = 192 KB
Cache Constraint = 0 Pages
Arming IPC driver ..
Adding page store pool ..
PagestoreAddr(IMR Start Address) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000

*** Ready to receive application ***

U-Boot 2018.05 (Aug 10 2018 - 03:32:08 +0000)

CPU: x86_64, vendor Intel, device 406a8h
DRAM: 980.6 MiB
MMC: mmc@ff3fc000: 0, mmc@ff3fa000: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
Target:blank
Partitioning already done...
Flashing already done...
** Unable to read file vmlinuz **
Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)

Kernel loading failed ...

zboot - Boot bzImage

Usage:
zboot [addr] [size] [initrd addr] [initrd size]
addr - The optional starting address of the bzimage.
If not set it defaults to the environment
variable "fileaddr".
size - The optional size of the bzimage. Defaults to
zero.
initrd addr - The address of the initrd image to use, if any.
initrd size - The size of the initrd image to use, if any.

Unknown boot mode: boot
Saving Environment to MMC... Writing to redundant MMC(0)... OK
Resetting to default boot mode and reboot...
resetting ...

...

printenv output
=> printenv
audio_codec_name=audio_codec="dummy"
audio_support=platform_mrfld_audio.audio_codec=dummy
boot_edsboot=zboot 0x100000
boot_target_cmd=run do_flash_os;run do_probe_dfu;run do_compute_target;run mmc-bootargs;run load_kernel;zboot ${loadaddr}
bootargs=root=/dev/mmcblk0p8 rootfstype=ext4 console=ttyS2 earlyprintk=ttyS2,keep loglevel=4 acpi=off g_multi.ethernet_config=rndis systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=4aa08c597b139dd507f4946de1312c8a g_multi.dev_addr=02:00:86:31:2c:8a platform_mrfld_audio.audio_codec=dummy
bootargs_console=console=ttyS2 earlyprintk=ttyS2,keep
bootargs_debug=loglevel=4 acpi=off
bootargs_edsboot=tty1 console=ttyS2,115200n8 root=/dev/mmcblk1 rootfstype=ext4 systemd.unit=multi-user.target hardware_id=00
bootargs_ethconfig=rndis
bootargs_rootfs=root=/dev/mmcblk0p8 rootfstype=ext4
bootargs_target=multi-user
bootargs_usbboot=debugshell=10 tty1 console=ttyS2,115200n8 root=/dev/sda rootfstype=ext4 systemd.unit=multi-user.target hardware_id=00
bootcmd=echo "Target:${target_name}"; run do_partition; run do_handle_bootargs_mode;
bootdelay=1
dfu_alt_info=ifwi00 raw 0 8192 mmcpart 1;ifwib00 raw 0 8192 mmcpart 2;u-boot0 part 0 1;u-boot-env0 part 0 2;u-boot1 part 0 3;u-boot-env1 part 0 4;boot part 0 7;rootfs part 0 8;update part 0 9;home part 0 10;vmlinuz fat 0 7;initrd fat 0 7
dfu_alt_info_ram=kernel ram ${loadaddr} 0x800000
dfu_alt_info_reset=reset ram 0x0 0x0
dfu_to_sec=3
do_audio_support=setenv audio_support platform_mrfld_audio.${audio_codec_name}
do_boot=run boot_target_cmd;
do_bootargs_rootfs=setenv bootargs_rootfs root=/dev/mmcblk0p8 rootfstype=ext4
do_compute_target=if itest.b ${first_install_retry} -gt ${first_install_max_retries} || itest.b ${ota_update_retry} -gt ${ota_update_max_retries}; then echo "Switch to Rescue target"; setenv bootargs_target rescue; saveenv; fi
do_dfu_alt_info_ifwi=setenv dfu_alt_info "ifwi${hardware_id} raw 0 8192 mmcpart 1;ifwib${hardware_id} raw 0 8192 mmcpart 2"
do_dfu_alt_info_mmc=setenv dfu_alt_info "ifwi${hardware_id} raw 0 8192 mmcpart 1;ifwib${hardware_id} raw 0 8192 mmcpart 2;u-boot0 part 0 1;u-boot-env0 part 0 2;u-boot1 part 0 3;u-boot-env1 part 0 4;boot part 0 7;rootfs part 0 8;update part 0 9;home part 0 10;vmlinuz fat 0 7;initrd fat 0 7"
do_dnx=setenv dfu_alt_info ${dfu_alt_info_ram};dfu 0 ram 0 ram;run bootcmd
do_fallback=echo "Unknown boot mode: $bootargs_mode"; env delete -f bootargs_mode; saveenv; echo "Resetting to default boot mode and reboot..."; reset;
do_flash=run do_force_flash_os;
do_flash_ifwi=run do_dfu_alt_info_ifwi ; dfu 0 mmc 0
do_flash_os=if itest.b ${do_flash_os_done} -eq 1 ; then echo "Flashing already done..." ; else run do_force_flash_os; fi
do_flash_os_done=1
do_flashall=run do_partition;run do_flash_ifwi;run do_flash_os
do_force_flash_os=run do_dfu_alt_info_mmc ; sleep 1 ; setenv do_flash_os_done 1 ; saveenv ; dfu 0 mmc 0
do_force_partition=echo "Partitioning using GPT"; gpt write mmc 0 ${partitions} ; mmc rescan; setenv do_partition_done 1 ; saveenv
do_handle_bootargs_mode=run do_preprocess_bootargs_mode; if itest.s $bootargs_mode == "ota" ; then run do_ota; fi; if itest.s $bootargs_mode == "boot" ; then run do_boot; fi; if itest.s $bootargs_mode == "flash"; then run do_flash; fi; run do_fallback; exit;
do_load_ota_scr=if fatload mmc 0:9 $ota_script_addr ota_update.scr ; then setenv ota_status 0 ; else setenv ota_status 1 ; fi
do_ota=run do_ota_init ; run do_load_ota_scr ; run do_source_ota_scr ; run do_ota_clean
do_ota_clean=saveenv ; reset
do_ota_init=setenv ota_status 1 ; env delete -f bootargs_mode
do_partition=if itest.b ${do_partition_done} -eq 1; then echo "Partitioning already done..."; else run do_force_partition ; fi
do_partition_done=1
do_preprocess_bootargs_mode=if env exists bootargs_mode ; then ; else setenv bootargs_mode "boot" ;fi;
do_probe_dfu=run do_dfu_alt_info_mmc ; dfu 0 mmc 0 ${dfu_to_sec}
do_source_ota_scr=if test $ota_status -eq 0 ; then if source $ota_script_addr ; then setenv ota_status 0 ; else setenv ota_status 2 ; fi ; fi
edsboot=setenv bootargs ${acpi} ${bootargs_edsboot}; run load_edsboot; run boot_edsboot
fdtcontroladdr=3d4541b0
first_install_max_retries=3
first_install_retry=0
hardware_id=00
init_dfu=run do_dfu_alt_info_mmc ; saveenv
load_edsboot=load mmc 0:9 0x100000 bzImage-initramfs
load_kernel=fatload mmc 0:7 ${loadaddr} vmlinuz
load_usbboot=load mmc 0:9 0x100000 bzImage-initramfs-usb
loadaddr=0x100000
mmc-bootargs=run do_bootargs_rootfs; run do_audio_support; setenv bootargs ${bootargs_rootfs} ${bootargs_console} ${bootargs_debug} g_multi.ethernet_config=${bootargs_ethconfig} systemd.unit=${bootargs_target}.target hardware_id=${hardware_id} g_multi.iSerialNumber=${serial#} g_multi.dev_addr=${usb0addr} ${audio_support}
ota_done=0
ota_script_addr=0x100000
ota_update_max_retries=3
ota_update_retry=0
partitions=uuid_disk=${uuid_disk};name=u-boot0,start=1MiB,size=2MiB,uuid=${uuid_uboot0};name=u-boot-env0,size=1MiB,uuid=${uuid_uboot_env0};name=u-boot1,size=2MiB,uuid=${uuid_uboot1};name=u-boot-env1,size=1MiB,uuid=${uuid_uboot_env1};name=factory,size=1MiB,uuid=${uuid_factory};name=panic,size=24MiB,uuid=${uuid_panic};name=boot,size=32MiB,uuid=${uuid_boot};name=rootfs,size=1536MiB,uuid=${uuid_rootfs};name=update,size=768MiB,uuid=${uuid_update};name=home,size=-,uuid=${uuid_home};
serial#=4aa08c597b139dd507f4946de1312c8a
target_name=blank
usb0addr=02:00:86:31:2c:8a
usbboot=setenv bootargs ${acpi} ${bootargs_usbboot}; run load_usbboot; run boot_edsboot
uuid_boot=db88503d-34a5-3e41-836d-c757cb682814
uuid_disk=21200400-0804-0146-9dcc-a8c51255994f
uuid_factory=333a128e-d3e3-b94d-92f4-d3ebd9b3224f
uuid_home=f13a0978-b1b5-1a4e-8821-39438e24b627
uuid_panic=f20aa902-1c5d-294a-9177-97a513e3cae4
uuid_rootfs=012b3303-34ac-284d-99b4-34e03a2335f4
uuid_uboot0=d117f98e-6f2c-d04b-a5b2-331a19f91cb2
uuid_uboot1=8a4bb8b4-e304-ae48-8536-aff5c9c495b1
uuid_uboot_env0=25718777-d0ad-7443-9e60-02cb591c9737
uuid_uboot_env1=08992135-13c6-084b-9322-3391ff571e19
uuid_update=faec2ecf-8544-e241-b19d-757e796da607
Environment size: 6178/65531 bytes


I compared the images of rocko32 and sumo32 (master). And found the difference in boot partition.

rocko32:

=> ls mmc 0:7
    69632   ldlinux.sys
   186500   libcom32.c32
    24148   libutil.c32
      592   syslinux.cfg
    27104   vesamenu.c32
 10666112   vmlinuz
   122308   ldlinux.c32

7 file(s), 0 dir(s)

sumo32:

=> ls mmc 0:7
  7414592   bzImage
    69632   ldlinux.sys
   186500   libcom32.c32
    24148   libutil.c32
      592   syslinux.cfg
    27104   vesamenu.c32
   122308   ldlinux.c32

7 file(s), 0 dir(s)

There is bzImage not vmlinuz in the boot partition of sumo32.

addition edison-image-edison.hddimg of sumo32:

recover@ilab:~/os/out/current/build/toFlash$ sudo losetup --partscan --find --show edison-image-edison.hddimg
[sudo] password for recover:
/dev/loop0
recover@ilab:~/os/out/current/build/toFlash$ sudo mount /dev/loop0 /mnt/
recover@ilab:~/os/out/current/build/toFlash$ ll /mnt/
total 7690
drwxr-xr-x  2 root root   16384 1月   1  1970 ./
drwxr-xr-x 27 root root    4096 8月   8 06:47 ../
-rwxr-xr-x  1 root root 7417024 8月  10 11:53 bzImage*
-r-xr-xr-x  1 root root  122308 8月  10 11:53 ldlinux.c32*
-r-xr-xr-x  1 root root   69632 8月  10 11:53 ldlinux.sys*
-rwxr-xr-x  1 root root  186500 8月  10 11:53 libcom32.c32*
-rwxr-xr-x  1 root root   24148 8月  10 11:53 libutil.c32*
-rwxr-xr-x  1 root root     592 8月  10 11:53 syslinux.cfg*
-rwxr-xr-x  1 root root   27104 8月  10 11:53 vesamenu.c32*

Then I boot the image manually.

=> setenv load_kernel "fatload mmc 0:7 ${loadaddr} bzImage"
=> setenv bootargs_console "console=ttyS2,115200n8 earlyprintk=ttyS2,keep"
=> setenv bootargs_debug "loglevel=8 acpi=off"
=> boot
Target:blank
Partitioning already done...
Flashing already done...
7417024 bytes read in 322 ms (22 MiB/s)
Valid Boot Flag
Setup Size = 0x00003e00
Magic signature found
Using boot protocol version 2.0d
Linux kernel version 4.16.0-edison-no-acpi-standard (oe-user@oe-host) #1 SMP Fri Aug 10 03:06:13 UTC 2018
Building boot_params at 0x00090000
Loading bzImage at address 100000 (7401152 bytes)
Magic signature found
Kernel command line: "root=/dev/mmcblk0p8 rootfstype=ext4 console=ttyS2,115200n8 earlyprintk=ttyS2,keep loglevel=8 acpi=off g_multi.ethernet_config=rndis systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=4aa08c597b139dd507f4946de1312c8a g_multi.dev_addr=02:00:86:31:2c:8a platform_mrfld_audio.audio_codec=dummy"
Magic signature found

Starting kernel ...
Boot log
[    0.000000] Linux version 4.16.0-edison-no-acpi-standard (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP Fri Aug 10 03:06:13 UTC 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000097fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000003ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000004000000-0x0000000005ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000006000000-0x000000003f4fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000003f500000-0x000000003fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec04000-0x00000000fec07fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] console [earlyser0] enabled
[    0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
[    0.000000] random: fast init done
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x3f500 max_arch_pfn = 0x100000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-FFFFF write-back
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask FC0000000 write-back
[    0.000000]   1 base 03F600000 mask FFFE00000 uncachable
[    0.000000]   2 base 03F800000 mask FFF800000 uncachable
[    0.000000]   3 base 004000000 mask FFE000000 uncachable
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.000000] e820: update [mem 0x04000000-0x05ffffff] usable ==> reserved
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] initial memory mapped: [mem 0x00000000-0x12ffffff]
[    0.000000] Base memory trampoline at [(ptrval)] 94000 size 16384
[    0.000000] BRK [0x12ac8000, 0x12ac8fff] PGTABLE
[    0.000000] 129MB HIGHMEM available.
[    0.000000] 883MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 373fe000
[    0.000000]   low ram: 0 - 373fe000
[    0.000000] BRK [0x12ac9000, 0x12ac9fff] PGTABLE
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000373fdfff]
[    0.000000]   HighMem  [mem 0x00000000373fe000-0x000000003f4fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000097fff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x0000000003ffffff]
[    0.000000]   node   0: [mem 0x0000000006000000-0x000000003f4fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003f4fffff]
[    0.000000] On node 0 totalpages: 251031
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3991 pages, LIFO batch:0
[    0.000000]   Normal zone: 1736 pages used for memmap
[    0.000000]   Normal zone: 214014 pages, LIFO batch:31
[    0.000000]   HighMem zone: 33026 pages, LIFO batch:7
[    0.000000] Reserved but unavailable: 1 pages
[    0.000000] Using APIC driver default
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] SFI: SYST E31F0, 0060 (v1  INTEL INTELFDK)
[    0.000000] SFI: CPUS E3296, 0020 (v1  INTEL INTELFDK)
[    0.000000] SFI: FREQ E32C2, 0030 (v1  INTEL INTELFDK)
[    0.000000] SFI: MMAP E32FE, 01A4 (v1  INTEL INTELFDK)
[    0.000000] SFI: XSDT E34B0, 002C (v1  INTEL INTELFDK)
[    0.000000] SFI: APIC E353E, 0020 (v1  INTEL INTELFDK)
[    0.000000] SFI: WAKE E356A, 0020 (v2  INTEL INTELFDK)
[    0.000000] SFI: DEVS E359E, 047D (v1  INTEL INTELFDK)
[    0.000000] SFI: GPIO E3A27, 0964 (v1  INTEL INTELFDK)
[    0.000000] SFI: OEMB E4397, 0060 (v5 UMGFDK CFGINFO!)
[    0.000000] SFI: registering lapic[0]
[    0.000000] SFI: registering lapic[2]
[    0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-54
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x00098000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x04000000-0x05ffffff]
[    0.000000] e820: [mem 0x40000000-0xfebfffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
[    0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s87756 r0 d31028 u118784
[    0.000000] pcpu-alloc: s87756 r0 d31028 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 249263
[    0.000000] Kernel command line: root=/dev/mmcblk0p8 rootfstype=ext4 console=ttyS2,115200n8 earlyprintk=ttyS2,keep loglevel=8 acpi=off g_multi.ethernet_config=rndis systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=4aa08c597b139dd507f4946de1312c8a g_multi.dev_addr=02:00:86:31:2c:8a platform_mrfld_audio.audio_codec=dummy
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] BRK [0x12aca000, 0x12acafff] PGTABLE
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000373fe:0003f500)
[    0.000000] Initializing Movable for node 0 (00000000:00000000)
[    0.000000] Memory: 979752K/1004124K available (9565K kernel code, 985K rwdata, 2764K rodata, 736K init, 620K bss, 24372K reserved, 0K cma-reserved, 132104K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff16000 - 0xfffff000   ( 932 kB)
[    0.000000]   cpu_entry : 0xff800000 - 0xff939000   (1252 kB)
[    0.000000]     pkmap   : 0xff400000 - 0xff800000   (4096 kB)
[    0.000000]     vmalloc : 0xf7bfe000 - 0xff3fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf73fe000   ( 883 MB)
[    0.000000]       .init : 0xd291e000 - 0xd29d6000   ( 736 kB)
[    0.000000]       .data : 0xd2557630 - 0xd2908600   (3779 kB)
[    0.000000]       .text : 0xd1c00000 - 0xd2557630   (9565 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 2304, nr_irqs: 512, preallocated irqs: 0
[    0.000000] CPU 0 irqstacks, hard=(ptrval) soft=(ptrval)
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS2] enabled
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.000000] tsc: Detected 500.000 MHz processor
[    0.000046] tsc: Detected 499.200 MHz TSC
[    0.000048] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0xe642f98297, max_idle_ns: 881590439301 ns
[    0.000731] Calibrating delay loop (skipped), value calculated using timer frequency.. 998.40 BogoMIPS (lpj=499200)
[    0.001000] pid_max: default: 32768 minimum: 301
[    0.001000] Security Framework initialized
[    0.001000] SELinux:  Initializing.
[    0.001000] SELinux:  Starting in permissive mode
[    0.001000] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001000] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001000] CPU: Physical Processor ID: 0
[    0.001000] CPU: Processor Core ID: 0
[    0.001000] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.001000] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.001000] mce: CPU supports 6 MCE banks
[    0.001000] CPU0: Thermal monitoring enabled (TM1)
[    0.001000] process: using mwait in idle threads
[    0.001000] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0
[    0.001000] Last level dTLB entries: 4KB 128, 2MB 16, 4MB 16, 1GB 0
[    0.001000] Spectre V2 : Mitigation: Full generic retpoline
[    0.001000] Freeing SMP alternatives memory: 40K
[    0.001000] SFI: MCFG E34F6, 003C (v1  INTEL INTELFDK)
[    0.001000] TSC deadline timer enabled
[    0.001000] smpboot: CPU0: Genuine Intel(R) CPU   4000  @  500MHz (family: 0x6, model: 0x4a, stepping: 0x8)
[    0.001000] Performance Events: PEBS fmt2+, generic architected perfmon, full-width counters, Intel PMU driver.
[    0.001539] ... version:                3
[    0.001745] ... bit width:              40
[    0.001954] ... generic registers:      2
[    0.002023] ... value mask:             000000ffffffffff
[    0.002292] ... max period:             0000007fffffffff
[    0.002558] ... fixed-purpose events:   3
[    0.002763] ... event mask:             0000000700000003
[    0.003255] Hierarchical SRCU implementation.
[    0.009852] smp: Bringing up secondary CPUs ...
[    0.010767] CPU 1 irqstacks, hard=8422ad83 soft=0c508764
[    0.011020] x86: Booting SMP configuration:
[    0.011240] .... node  #0, CPUs:      #1
[    0.001000] Initializing CPU#1
[    0.011827] smp: Brought up 1 node, 2 CPUs
[    0.012047] smpboot: Max logical packages: 1
[    0.012271] smpboot: Total of 2 processors activated (1996.80 BogoMIPS)
[    0.013428] devtmpfs: initialized
[    0.017535] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.017449] kworker/u4:0 (20) used greatest stack depth: 7084 bytes left
[    0.018035] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.018239] pinctrl core: initialized pinctrl subsystem
[    0.019089] SFI: SFI sysfs interfaces init success
[    0.019210] regulator-dummy: no parameters
[    0.020130] RTC time:  0:24:03, date: 01/01/00
[    0.020130] NET: Registered protocol family 16
[    0.022155] audit: initializing netlink subsys (disabled)
[    0.023628] audit: type=2000 audit(946686243.023:1): state=initialized audit_enabled=0 res=1
[    0.024275] cpuidle: using governor menu
[    0.026471] Using generic wifi platform data
[    0.027536] PCI: MMCONFIG for domain 0000 [bus 00-00] at [mem 0x3f500000-0x3f5fffff] (base 0x3f500000)
[    0.027918] PCI: MMCONFIG at [mem 0x3f500000-0x3f5fffff] reserved in E820
[    0.028237] PCI: Using MMCONFIG for extended config space
[    0.028298] Intel MID platform detected, using MID PCI ops
[    0.028574] PCI: Using configuration type 1 for base access
[    0.036336] kworker/u4:0 (107) used greatest stack depth: 6828 bytes left
[    0.070026] HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
[    0.071754] ACPI: Interpreter disabled.
[    0.072451] bcm43xx-vmmc-regulator: Failed to request enable GPIO96: -517
[    0.072451] reg-fixed-voltage reg-fixed-voltage.0.auto: Failed to register regulator: -517
[    0.073551] vgaarb: loaded
[    0.074029] SCSI subsystem initialized
[    0.074396] libata version 3.00 loaded.
[    0.075329] usbcore: registered new interface driver usbfs
[    0.075866] usbcore: registered new interface driver hub
[    0.076053] usbcore: registered new device driver usb
[    0.076203] pps_core: LinuxPPS API ver. 1 registered
[    0.076459] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.077532] PTP clock support registered
[    0.078216] EDAC MC: Ver: 3.0.0
[    0.079025] Advanced Linux Sound Architecture Driver Initialized.
[    0.079382] PCI: Probing PCI hardware
[    0.079382] PCI: root bus 00: using default resources
[    0.079382] PCI: Probing PCI hardware (bus 00)
[    0.080010] PCI host bridge to bus 0000:00
[    0.080010] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.080010] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.081029] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.081466] pci 0000:00:00.0: [8086:1170] type 00 class 0x060000
[    0.082102] pci 0000:00:01.0: [8086:1190] type 00 class 0x080501
[    0.082456] pci 0000:00:01.0: reg 0x10: [mem 0xff3fc000-0xff3fc0ff]
[    0.083020] pci 0000:00:01.0: PME# supported from D0 D3hot
[    0.083270] pci 0000:00:01.2: [8086:1190] type 00 class 0x080501
[    0.083621] pci 0000:00:01.2: reg 0x10: [mem 0xff3fa000-0xff3fa0ff]
[    0.084060] pci 0000:00:01.2: PME# supported from D0 D3hot
[    0.084584] pci 0000:00:01.3: [8086:1190] type 00 class 0x080501
[    0.084934] pci 0000:00:01.3: reg 0x10: [mem 0xff3fb000-0xff3fb0ff]
[    0.085137] pci 0000:00:01.3: PME# supported from D0 D3hot
[    0.086053] pci 0000:00:02.0: [8086:1182] type 00 class 0x038000
[    0.086053] pci 0000:00:02.0: reg 0x10: [mem 0xc0000000-0xc1ffffff]
[    0.086381] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff]
[    0.086730] pci 0000:00:02.0: reg 0x20: [io  0x7ff8-0x7fff]
[    0.087310] pci 0000:00:04.0: [8086:1191] type 00 class 0x070002
[    0.087660] pci 0000:00:04.0: reg 0x10: [mem 0xff010000-0xff01007f]
[    0.088099] pci 0000:00:04.0: PME# supported from D0 D3hot
[    0.089008] pci 0000:00:04.1: [8086:1191] type 00 class 0x070002
[    0.089008] pci 0000:00:04.1: reg 0x10: [mem 0xff010080-0xff0100ff]
[    0.089138] pci 0000:00:04.1: PME# supported from D0 D3hot
[    0.090051] pci 0000:00:04.2: [8086:1191] type 00 class 0x070002
[    0.090051] pci 0000:00:04.2: reg 0x10: [mem 0xff010100-0xff01017f]
[    0.091139] pci 0000:00:04.2: PME# supported from D0 D3hot
[    0.091661] pci 0000:00:04.3: [8086:1191] type 00 class 0x070002
[    0.092000] pci 0000:00:04.3: reg 0x10: [mem 0xff010180-0xff0101ff]
[    0.092447] pci 0000:00:04.3: PME# supported from D0 D3hot
[    0.093005] pci 0000:00:05.0: [8086:1192] type 00 class 0x070002
[    0.093069] pci 0000:00:05.0: reg 0x10: [mem 0xff010400-0xff0107ff]
[    0.093499] pci 0000:00:05.0: PME# supported from D0 D3hot
[    0.094051] pci 0000:00:06.0: [8086:1193] type 00 class 0x088000
[    0.094366] pci 0000:00:06.0: reg 0x10: [mem 0xff2a0000-0xff2a0fff]
[    0.094795] pci 0000:00:06.0: PME# supported from D0 D3hot
[    0.095267] pci 0000:00:06.1: [8086:1193] type 00 class 0x088000
[    0.095617] pci 0000:00:06.1: reg 0x10: [mem 0xff2a1000-0xff2a1fff]
[    0.096052] pci 0000:00:06.1: PME# supported from D0 D3hot
[    0.096587] pci 0000:00:07.0: [8086:1194] type 00 class 0x088000
[    0.096936] pci 0000:00:07.0: reg 0x10: [mem 0xff188000-0xff188fff]
[    0.097138] pci 0000:00:07.0: PME# supported from D0 D3hot
[    0.098051] pci 0000:00:07.1: [8086:1194] type 00 class 0x088000
[    0.098051] pci 0000:00:07.1: reg 0x10: [mem 0xff189000-0xff189fff]
[    0.098139] pci 0000:00:07.1: PME# supported from D0 D3hot
[    0.099009] pci 0000:00:07.2: [8086:1194] type 00 class 0x088000
[    0.099009] pci 0000:00:07.2: reg 0x10: [mem 0xff18a000-0xff18afff]
[    0.100138] pci 0000:00:07.2: PME# supported from D0 D3hot
[    0.100674] pci 0000:00:08.0: [8086:1195] type 00 class 0x078000
[    0.101029] pci 0000:00:08.0: reg 0x10: [mem 0xff18b000-0xff18bfff]
[    0.101461] pci 0000:00:08.0: PME# supported from D0 D3hot
[    0.102050] pci 0000:00:08.1: [8086:1195] type 00 class 0x078000
[    0.102068] pci 0000:00:08.1: reg 0x10: [mem 0xff18c000-0xff18cfff]
[    0.102498] pci 0000:00:08.1: PME# supported from D0 D3hot
[    0.103009] pci 0000:00:08.2: [8086:1195] type 00 class 0x078000
[    0.103366] pci 0000:00:08.2: reg 0x10: [mem 0xff18d000-0xff18dfff]
[    0.103795] pci 0000:00:08.2: PME# supported from D0 D3hot
[    0.104258] pci 0000:00:08.3: [8086:1195] type 00 class 0x078000
[    0.104607] pci 0000:00:08.3: reg 0x10: [mem 0xff18e000-0xff18efff]
[    0.105042] pci 0000:00:08.3: PME# supported from D0 D3hot
[    0.106048] pci 0000:00:09.0: [8086:1196] type 00 class 0x078000
[    0.106048] pci 0000:00:09.0: reg 0x10: [mem 0xff18f000-0xff18ffff]
[    0.106138] pci 0000:00:09.0: PME# supported from D0 D3hot
[    0.107009] pci 0000:00:09.1: [8086:1196] type 00 class 0x078000
[    0.107009] pci 0000:00:09.1: reg 0x10: [mem 0xff190000-0xff190fff]
[    0.108139] pci 0000:00:09.1: PME# supported from D0 D3hot
[    0.108663] pci 0000:00:09.2: [8086:1196] type 00 class 0x078000
[    0.109000] pci 0000:00:09.2: reg 0x10: [mem 0xff191000-0xff191fff]
[    0.109448] pci 0000:00:09.2: PME# supported from D0 D3hot
[    0.110007] pci 0000:00:0a.0: [8086:1197] type 00 class 0x078000
[    0.110068] pci 0000:00:0a.0: reg 0x10: [mem 0xff3f8000-0xff3f8fff]
[    0.110498] pci 0000:00:0a.0: PME# supported from D0 D3hot
[    0.111009] pci 0000:00:0b.0: [8086:1198] type 00 class 0x108000
[    0.111366] pci 0000:00:0b.0: reg 0x10: [mem 0xf9038000-0xf903ffff]
[    0.111794] pci 0000:00:0b.0: PME# supported from D0 D3hot
[    0.112269] pci 0000:00:0c.0: [8086:1199] type 00 class 0x088000
[    0.112618] pci 0000:00:0c.0: reg 0x10: [mem 0xff008000-0xff008fff]
[    0.112952] pci 0000:00:0c.0: reg 0x14: [mem 0x000ddcc0-0x000ddccf]
[    0.113128] pci 0000:00:0c.0: PME# supported from D0 D3hot
[    0.114048] pci 0000:00:0d.0: [8086:119a] type 00 class 0x040100
[    0.114048] pci 0000:00:0d.0: reg 0x10: [mem 0x05e00000-0x05ffffff]
[    0.114048] pci 0000:00:0d.0: reg 0x14: [mem 0xff340000-0xff343fff]
[    0.114381] pci 0000:00:0d.0: reg 0x18: [mem 0xff344000-0xff344fff]
[    0.114713] pci 0000:00:0d.0: reg 0x1c: [mem 0xff2c0000-0xff2dffff]
[    0.115038] pci 0000:00:0d.0: reg 0x20: [mem 0xff300000-0xff33ffff]
[    0.115428] pci 0000:00:0d.0: PME# supported from D0 D3hot
[    0.116005] pci 0000:00:0e.0: [8086:119b] type 00 class 0x088000
[    0.117069] pci 0000:00:0e.0: reg 0x10: [mem 0xff298000-0xff29bfff]
[    0.117404] pci 0000:00:0e.0: reg 0x14: [mem 0xff2a2000-0xff2a2fff]
[    0.117822] pci 0000:00:0e.0: PME# supported from D0 D3hot
[    0.118270] pci 0000:00:11.0: [8086:119e] type 00 class 0x0c0320
[    0.118619] pci 0000:00:11.0: reg 0x10: [mem 0xf9100000-0xf911ffff]
[    0.119066] pci 0000:00:11.0: PME# supported from D0 D3hot
[    0.119590] pci 0000:00:12.0: [8086:119f] type 00 class 0x118000
[    0.119939] pci 0000:00:12.0: reg 0x10: [mem 0xf9009000-0xf9009fff]
[    0.120045] pci 0000:00:12.0: reg 0x14: [mem 0xf90a0000-0xf90affff]
[    0.120379] pci 0000:00:12.0: reg 0x18: [mem 0xfa000000-0xfaffffff]
[    0.120788] pci 0000:00:12.0: PME# supported from D0 D3hot
[    0.121270] pci 0000:00:13.0: [8086:11a0] type 00 class 0x0b4000
[    0.121619] pci 0000:00:13.0: reg 0x10: [mem 0xff009000-0xff009fff]
[    0.122055] pci 0000:00:13.0: PME# supported from D0 D3hot
[    0.123008] pci 0000:00:14.0: [8086:11a1] type 00 class 0x0b4000
[    0.123008] pci 0000:00:14.0: reg 0x10: [mem 0xff00b000-0xff00bfff]
[    0.123137] pci 0000:00:14.0: PME# supported from D0 D3hot
[    0.124009] pci 0000:00:15.0: [8086:11a2] type 00 class 0x088000
[    0.124009] pci 0000:00:15.0: reg 0x10: [mem 0xff192000-0xff192fff]
[    0.124448] pci 0000:00:15.0: PME# supported from D0 D3hot
[    0.125009] pci 0000:00:16.0: [8086:11a3] type 00 class 0x0b4000
[    0.126070] pci 0000:00:16.0: reg 0x10: [mem 0xff0d9000-0xff0d90ff]
[    0.126500] pci 0000:00:16.0: PME# supported from D0 D3hot
[    0.127027] pci 0000:00:16.1: [8086:11a4] type 00 class 0x0b4000
[    0.127379] pci 0000:00:16.1: reg 0x10: [mem 0x04819000-0x04898fff]
[    0.127713] pci 0000:00:16.1: reg 0x14: [mem 0x04919000-0x04920fff]
[    0.128125] pci 0000:00:16.1: PME# supported from D0 D3hot
[    0.128667] pci 0000:00:17.0: [8086:11a5] type 00 class 0x088000
[    0.129000] pci 0000:00:17.0: reg 0x10: [mem 0xff013000-0xff013fff]
[    0.129448] pci 0000:00:17.0: PME# supported from D0 D3hot
[    0.129973] pci 0000:00:18.0: [8086:11a6] type 00 class 0x038000
[    0.130168] pci 0000:00:18.0: PME# supported from D0 D3hot
[    0.130690] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.131172] PCI: pci_cache_line_size set to 64 bytes
[    0.131596] e820: reserve RAM buffer [mem 0x00098000-0x0009ffff]
[    0.131902] e820: reserve RAM buffer [mem 0x3f500000-0x3fffffff]
[    0.133033] Bluetooth: Core ver 2.22
[    0.133401] NET: Registered protocol family 31
[    0.133401] Bluetooth: HCI device and connection manager initialized
[    0.133401] Bluetooth: HCI socket layer initialized
[    0.133601] Bluetooth: L2CAP socket layer initialized
[    0.133894] Bluetooth: SCO socket layer initialized
[    0.134049] NetLabel: Initializing
[    0.134230] NetLabel:  domain hash size = 128
[    0.134450] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.134845] NetLabel:  unlabeled traffic allowed by default
[    0.137126] clocksource: Switched to clocksource tsc-early
[    0.212337] VFS: Disk quotas dquot_6.6.0
[    0.212649] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.213351] pnp: PnP ACPI: disabled
[    0.228940] pci_bus 0000:00: resource 4 [io  0x0000-0xffff]
[    0.229269] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[    0.229746] NET: Registered protocol family 2
[    0.230873] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.231331] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.231777] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.232296] TCP: Hash tables configured (established 8192 bind 8192)
[    0.232743] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.233106] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.233660] NET: Registered protocol family 1
[    0.234634] RPC: Registered named UNIX socket transport module.
[    0.234939] RPC: Registered udp transport module.
[    0.235288] RPC: Registered tcp transport module.
[    0.235531] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.562067] PCI: CLS 0 bytes, default 64
[    0.591503] DMA-API: preallocated 65536 debug entries
[    0.591769] DMA-API: debugging enabled by kernel config
[    0.593468] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0xe642f98297, max_idle_ns: 881590439301 ns
[    0.594064] clocksource: Switched to clocksource tsc
[    0.594493] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.596986] Scanning for low memory corruption every 60 seconds
[    0.597925] kworker/u4:3 (597) used greatest stack depth: 6812 bytes left
[    0.598825] pci 0000:00:04.1: Registered Bluetooth device: hci_bcm
[    0.601986] Initialise system trusted keyrings
[    0.602575] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.618969] NFS: Registering the id_resolver key type
[    0.619307] Key type id_resolver registered
[    0.619527] Key type id_legacy registered
[    0.620419] SELinux:  Registering netfilter hooks
[    0.628266] Key type asymmetric registered
[    0.628486] Asymmetric key parser 'x509' registered
[    0.628811] bounce: pool size: 64 pages
[    0.629154] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.629529] io scheduler noop registered
[    0.629732] io scheduler deadline registered
[    0.630336] io scheduler cfq registered (default)
[    0.630583] io scheduler mq-deadline registered
[    0.630815] io scheduler kyber registered
[    0.642206] dw_dmac_pci 0000:00:15.0: DesignWare DMA Controller, 8 channels
[    0.644333] hsu_dma_pci 0000:00:05.0: Found HSU DMA, 12 channels
[    0.645458] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.649575] 8250_mid: probe of 0000:00:04.0 failed with error -16
[    0.650494] 0000:00:04.1: ttyS0 at MMIO 0xff010080 (irq = 28, base_baud = 1843200) is a TI16750
[    0.652119] 0000:00:04.2: ttyS1 at MMIO 0xff010100 (irq = 29, base_baud = 1843200) is a TI16750
[    0.653661] console [ttyS2] disabled
[    0.653890] 0000:00:04.3: ttyS2 at MMIO 0xff010180 (irq = 54, base_baud = 1843200) is a TI16750
[    2.815250] console [ttyS2] enabled
[    2.819803] Non-volatile memory driver v1.3
[    2.824682] Linux agpgart interface v0.103
[    2.840223] loop: module loaded
[    2.845810] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    2.852116] e100: Copyright(c) 1999-2006 Intel Corporation
[    2.857918] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    2.865192] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.871246] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.877261] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.883513] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    2.890681] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.896545] sky2: driver version 1.30
[    2.901199] usbcore: registered new interface driver r8152
[    2.906964] usbcore: registered new interface driver asix
[    2.912619] usbcore: registered new interface driver ax88179_178a
[    2.918973] usbcore: registered new interface driver cdc_ether
[    2.925087] usbcore: registered new interface driver net1080
[    2.930996] usbcore: registered new interface driver cdc_subset
[    2.937169] usbcore: registered new interface driver zaurus
[    2.942990] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    2.950697] usbcore: registered new interface driver cdc_ncm
[    2.957397] dwc3 dwc3.1.auto: Configuration mismatch. dr_mode forced to host
[    2.965996] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.972865] ehci-pci: EHCI PCI platform driver
[    2.977570] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.983958] ohci-pci: OHCI PCI platform driver
[    2.988640] uhci_hcd: USB Universal Host Controller Interface driver
[    2.995580] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.001545] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[    3.009674] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f06c hci version 0x100 quirks 0x02010010
[    3.018693] xhci-hcd xhci-hcd.2.auto: irq 34, io mem 0xf9100000
[    3.025227] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.032249] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.039690] usb usb1: Product: xHCI Host Controller
[    3.044727] usb usb1: Manufacturer: Linux 4.16.0-edison-no-acpi-standard xhci-hcd
[    3.052424] usb usb1: SerialNumber: xhci-hcd.2.auto
[    3.058203] hub 1-0:1.0: USB hub found
[    3.062148] hub 1-0:1.0: 1 port detected
[    3.066753] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.072681] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[    3.080690] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.089210] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    3.096228] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.103661] usb usb2: Product: xHCI Host Controller
[    3.108689] usb usb2: Manufacturer: Linux 4.16.0-edison-no-acpi-standard xhci-hcd
[    3.116380] usb usb2: SerialNumber: xhci-hcd.2.auto
[    3.122133] hub 2-0:1.0: USB hub found
[    3.126078] hub 2-0:1.0: 1 port detected
[    3.130841] usbcore: registered new interface driver usblp
[    3.136647] usbcore: registered new interface driver usb-storage
[    3.142991] usbcore: registered new interface driver pl2303
[    3.148804] usbserial: USB Serial support registered for pl2303
[    3.156308] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    3.162975] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    3.170670] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: [email protected]
[    3.179492] hidraw: raw HID events driver (C) Jiri Kosina
[    3.186303] usbcore: registered new interface driver usbhid
[    3.192065] usbhid: USB HID core driver
[    3.197414] intel_mid_wdt intel_mid_wdt: Intel MID watchdog device probed
[    3.205460] input: msic_power_btn as /devices/platform/msic_power_btn/input/input0
[    3.215989] Initializing XFRM netlink socket
[    3.221518] NET: Registered protocol family 10
[    3.227338] Segment Routing with IPv6
[    3.231632] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.238821] NET: Registered protocol family 17
[    3.243501] Key type dns_resolver registered
[    3.250202] microcode: sig=0x406a8, pf=0x1, revision=0x81f
[    3.256143] microcode: Microcode Update Driver: v2.2.
[    3.256163] Using IPI No-Shortcut mode
[    3.265481] sched_clock: Marking stable (3265233204, 0)->(3278631570, -13398366)
[    3.274247] registered taskstats version 1
[    3.278503] Loading compiled-in X.509 certificates
[    3.284700] bcm43xx-vmmc-regulator: at 2000 mV
[    3.289587] reg-fixed-voltage reg-fixed-voltage.0.auto: bcm43xx-vmmc-regulator supplying 2000000uV
[    3.298927]   Magic number: 4:418:404
[    3.302886] console [netcon0] enabled
[    3.306675] netconsole: network logging started
[    3.311896] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    3.319528] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.335542] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.342393] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.343089] bcm43xx-vmmc-regulator: disabling
[    3.351276] cfg80211: failed to load regulatory.db
[    3.355725] ALSA device list:
[    3.355737]   No soundcards found.
[    3.367606] md: Waiting for all devices to be available before autodetect
[    3.374592] md: If you don't use raid, use raid=noautodetect
[    3.381225] md: Autodetecting RAID arrays.
[    3.385472] md: autorun ...
[    3.388361] md: ... autorun DONE.
[    3.391957] VFS: Cannot open root device "mmcblk0p8" or unknown-block(0,0): error -6
[    3.399932] Please append a correct "root=" boot option; here are the available partitions:
[    3.408527] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.417000] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.16.0-edison-no-acpi-standard #1
[    3.425192] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48
[    3.434181] Call Trace:
[    3.436708]  dump_stack+0x47/0x66
[    3.440116]  panic+0x8a/0x1cb
[    3.443167]  mount_block_root+0x12b/0x1d0
[    3.447285]  mount_root+0xf6/0x10f
[    3.450778]  prepare_namespace+0x116/0x147
[    3.454977]  kernel_init_freeable+0x18e/0x1a0
[    3.459446]  ? rest_init+0x90/0x90
[    3.462937]  kernel_init+0x8/0xf0
[    3.466336]  ret_from_fork+0x2e/0x38
[    3.470042] Kernel Offset: 0x10c00000 from 0xc1000000 (relocation range: 0xc0000000-0xf7bfdfff)
[    3.478953] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

And get the error:

[    3.391957] VFS: Cannot open root device "mmcblk0p8" or unknown-block(0,0): error -6
[    3.399932] Please append a correct "root=" boot option; here are the available partitions:
[    3.408527] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

[Packages] Would need to have python virtualenv available

[apologies if this is not the right channel to ask, please tell me where we can best discuss those questions]

Hi Ferry,

I am using the rocko64-acpi branch to package an installation of Octoprint as per the official site instructions.
Those reference the virtualenv binary but I don't see it available in the list of
bitbake recipes that I have

It looks to be available in the meta-openstack layer (from the Yocto layer index). Is it a matter of just adding it in (I am a beginner w/ Yocto) when I configure my project? If not, would it be appropriate to include in the list of recipes available (you already provide a good dev setup btw, thanks!)

Another question: what is the difference between a package like 'python-setuptools' and 'nativesdk-python-setuptools'? Is it that the former really runs on the target (via the sysroot) whereas the latter is just picked up from the host?

Thanks much for your attention,
Vincent

missing /home after change partitions size

in file meta-intel-edison/meta-intel-edison-bsp/recipes-bsp/u-boot/files/edison.env
rootfs, size=1536MiB
update, size=768MiB

in file meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image-minimal.bb
IMAGE_ROOTFS_SIZE = "1048576"

after flash firmware, /home was missing.

Poky (Yocto Project Reference Distro) 2.7.2 edison ttyS2

edison login: root
Last login: Sat Feb 15 22:45:35 UTC 2020 on ttyS2
No directory, logging in with HOME=/
root@edison:/# ls
bin  boot  dev	etc  factory  home  lib  lost+found  media  mnt  opt  proc  run  sbin  sketch  sys  tmp  usr  var
root@edison:/# df -h
Filesystem      Size  Used Avail Use% Mounted on
none            474M  4.0K  474M   1% /dev
/dev/mmcblk0p8  928M  602M  260M  70% /
tmpfs           478M     0  478M   0% /dev/shm
tmpfs           478M  604K  478M   1% /run
tmpfs           478M     0  478M   0% /sys/fs/cgroup
tmpfs           478M   52K  478M   1% /tmp
tmpfs           478M     0  478M   0% /var/volatile
/dev/mmcblk1p1   30G   16G   13G  55% /media/sdcard
/dev/mmcblk0p5 1003K   19K  913K   3% /factory

why mmcblk0p8 is still size 928M instead of 1536M?
should IMAGE_ROOTFS_SIZE = (rootfs size in edison.env) * 1024 ?
to use OTA, should IMAGE_ROOTFS_SIZE <= (update size in edison.env) ?

Machine id service

This is the error message which I get with the edison-machine-id.service:

root@edison:~# systemctl status edison-machine-id.service
● edison-machine-id.service - Generate unique machine-id
   Loaded: loaded (/lib/systemd/system/edison-machine-id.service; enabled; vend>
   Active: failed (Result: exit-code) since Fri 2020-02-21 07:01:47 UTC; 3min 3>
  Process: 2292 ExecStartPre=/bin/umount /etc/machine-id (code=exited, status=3>

Feb 21 07:01:47 edison systemd[1]: Starting Generate unique machine-id...
Feb 21 07:01:47 edison umount[2292]: umount: /etc/machine-id: not mounted.
Feb 21 07:01:47 edison systemd[1]: edison-machine-id.service: Control process e>
Feb 21 07:01:47 edison systemd[1]: edison-machine-id.service: Failed with resul>
Feb 21 07:01:47 edison systemd[1]: Failed to start Generate unique machine-id.

On my Edison board /etc/machine-id is a plain file, no mountpoint.

ap-mode-toggle error message in dmesg

There's a suspicious message in the dmesg noticed by @htot. Needs to be investigated and probably fixed.

ap-mode-toggle[2438]: Usage: /usr/bin/ap-mode-toggle start|stop|toggle
ap-mode-toggle[2438]:   start  - Start AP mode
ap-mode-toggle[2438]:   stop   - AP mode is stopped and we return to station mode
ap-mode-toggle[2438]:   toggle - Start or stop AP mode depending on previous mode.
ap-mode-toggle[2438]: This script is only usable in Edison where the Broadcom
ap-mode-toggle[2438]: wifi driver firmware needs to be told which mode to operate.

/boot -> No such device

With the latest Yocto release (warrior) I get:

root@edison:/# cd /boot
-sh: cd: /boot: No such device

sketch_reset.service

We should disable the sketch_reset service if there is no GPIO access:

root@edison:/# systemctl status sketch-reset.service
Unit sketch-reset.service could not be found.
root@edison:/# systemctl status sketch_reset.service
● sketch_reset.service - Daemon to reset sketches
   Loaded: loaded (/lib/systemd/system/sketch_reset.service; enabled; vendor pr>
   Active: failed (Result: exit-code) since Fri 2020-02-21 06:56:08 UTC; 40min >
 Main PID: 552 (code=exited, status=1/FAILURE)

Feb 21 06:56:08 edison sketch_reset[552]: sh: line 0: echo: write error: Invali>
Feb 21 06:56:08 edison sketch_reset[552]: sh: /sys/class/gpio/gpio215/direction>
Feb 21 06:56:08 edison sketch_reset[552]: sh: /sys/class/gpio/gpio215/value: No>
Feb 21 06:56:08 edison sketch_reset[552]: sh: /sys/class/gpio/gpio215/value: No>
Feb 21 06:56:08 edison sketch_reset[552]: sh: line 0: echo: write error: Invali>
Feb 21 06:56:08 edison sketch_reset[552]: sh: /sys/class/gpio/gpio207/direction>
Feb 21 06:56:08 edison sketch_reset[552]: sh: /sys/class/gpio/gpio207/edge: No >
Feb 21 06:56:08 edison sketch_reset[552]: Failed to open:/sys/class/gpio/gpio20>
Feb 21 06:56:08 edison systemd[1]: sketch_reset.service: Main process exited, c>
Feb 21 06:56:08 edison systemd[1]: sketch_reset.service: Failed with result 'ex>

[pyro64-acpi|rocko64-acpi] flashall.sh successfully working on mini breakout board

Hi there,

Just a note to report that I have been successfully able to use flashall.sh on my mini-breakout board to flash the pyro64-acpi produced kernel and rootfs. I had previously updated u-boot as per the wiki but I am not sure this is necessary as flashall seems to be taking care of that too.
This is a great milestone! Thanks much for the hard work, I could not wait to share that:)
Now onto moving to rocko64 ..

Attached is my boot log, I can provide more information if you need me to.

Edit: this is not an issue of course, I would like to add a label and switch it to a question/observation but I don't know how I can do that.

boot environment not updated on ota

the flashall script does flash the u-boot-envs/*.bin files but the boot environment does not define such action (do_ota, etc...), so doing ota to a different version which might have a different boot environment might not work, as the old environment is preserved

also thud ota is not working, even from/to the same version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.