{"id":38991769,"url":"https://github.com/3mdeb/meta-ppc64","last_synced_at":"2026-01-17T17:04:14.088Z","repository":{"id":77148885,"uuid":"306398097","full_name":"3mdeb/meta-ppc64","owner":"3mdeb","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-19T06:28:13.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-09-21T15:12:34.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"NASL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3mdeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-10-22T16:34:05.000Z","updated_at":"2023-09-28T00:46:46.006Z","dependencies_parsed_at":null,"dependency_job_id":"b2cf5599-5e57-4e19-8aec-7720cd8d3d7c","html_url":"https://github.com/3mdeb/meta-ppc64","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"16feb25edcb85e9479b3dc22f11850c5ea75cf8e"},"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/3mdeb/meta-ppc64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fmeta-ppc64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fmeta-ppc64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fmeta-ppc64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fmeta-ppc64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3mdeb","download_url":"https://codeload.github.com/3mdeb/meta-ppc64/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fmeta-ppc64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T17:04:13.960Z","updated_at":"2026-01-17T17:04:14.066Z","avatar_url":"https://github.com/3mdeb.png","language":"NASL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meta-ppc64\n\nThe goal is to provide `ppc64` QEMU targets for modern `ppc64` systems.\n\nCurrently available targets:\n- `qemuppc64` - targets\n  [IBM POWER9 architecture](https://en.wikipedia.org/wiki/POWER9) (Big Endian)\n\n  ```\n  SHELL=/bin/bash kas-docker -shell meta-ppc64/kas-be.yml\n  ```\n\n- `qemuppc64le` - targets\n  [IBM POWER9 architecture](https://en.wikipedia.org/wiki/POWER9) (Little Endian)\n\n  ```\n  SHELL=/bin/bash kas-docker -shell meta-ppc64/kas-be.yml\n  ```\n\n## Notes\n\n* Cannot get the login prompt (both on LE or BE builds):\n\n- can just stuck:\n\n```\n[    3.076659] udevd (79) used greatest stack depth: 10024 bytes left\n[    3.092691] udevd[80]: starting eudev-3.2.9\n[    5.186145] EXT4-fs (vda): re-mounted. Opts: (null)\n[    5.186906] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff)\n[    7.370678] urandom_read: 4 callbacks suppressed\n[    7.370816] random: dd: uninitialized urandom read (512 bytes read)\n```\n\n- or could even crash (depending on the serial QEMU params):\n\n```\n[    1.374644] Driver 'hvc_console' was unable to register with bus_type 'vio' because the bus was not initialized.\n[    1.376651] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)\n[    1.377099] hvc0: No interrupts property, using OPAL event\n[    1.380151] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled\n[    1.387642] printk: console [ttyS0] disabled\n[    1.389410] BUG: Unable to handle kernel data access on read at 0xc00a0000000003e9\n[    1.389927] Faulting instruction address: 0xc0000000008d79f4\n[    1.390532] Oops: Kernel access of bad area, sig: 11 [#1]\n[    1.390812] LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA PowerNV\n[    1.391331] Modules linked in:\n[    1.391790] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.8.13-yocto-standard #1\n[    1.392237] NIP:  c0000000008d79f4 LR: c0000000008d9cf8 CTR: c0000000008d7960\n[    1.392696] REGS: c0000000723c2f70 TRAP: 0300   Not tainted  (5.8.13-yocto-standard)\n[    1.393104] MSR:  9000000002009033 \u003cSF,HV,VEC,EE,ME,IR,DR,RI,LE\u003e  CR: 24000220  XER: 20040000\n[    1.393714] CFAR: c0000000008d799c DAR: c00a0000000003e9 DSISR: 40000000 IRQMASK: 1\n[    1.393714] GPR00: c0000000008d9cf8 c0000000723c3200 c000000001921f00 c00a0000000003e9\n[    1.393714] GPR04: c00a000000000000 00000000000003ef c0000000017ac378 0000000000000000\n[    1.393714] GPR08: 0000000000000000 c0000000019cab10 0000000031000040 00000000fffffffe\n[    1.393714] GPR12: 0000000000000000 c00000007ffff280 c000000000012190 0000000000000000\n[    1.393714] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000\n[    1.393714] GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000\n[    1.393714] GPR24: 0000000000000000 c00000000125ad38 c000000001857140 0000000000000000\n[    1.393714] GPR28: ffffffffffffffea c000000072d87908 0000000000000001 c000000001adab40\n[    1.397765] NIP [c0000000008d79f4] io_serial_in+0x94/0x100\n[    1.398104] LR [c0000000008d9cf8] serial8250_config_port+0x3b8/0x1240\n[    1.398619] Call Trace:\n[    1.398977] [c0000000723c3200] [0000000000000005] 0x5 (unreliable)\n[    1.399428] [c0000000723c3230] [c0000000008d9970] serial8250_config_port+0x30/0x1240\n[    1.399874] [c0000000723c32d0] [c0000000008d3570] uart_add_one_port+0x250/0x690\n[    1.400311] [c0000000723c33e0] [c0000000008d5138] serial8250_register_8250_port+0x368/0x5a0\n[    1.400767] [c0000000723c3470] [c0000000008d56fc] serial8250_probe+0x14c/0x1e0\n[    1.401194] [c0000000723c37e0] [c000000000995d50] platform_drv_probe+0x60/0xf0\n[    1.401603] [c0000000723c3860] [c00000000099208c] really_probe+0x12c/0x580\n[    1.401976] [c0000000723c3910] [c000000000992808] driver_probe_device+0x88/0x120\n[    1.402373] [c0000000723c3940] [c000000000992d2c] device_driver_attach+0x11c/0x130\n[    1.402805] [c0000000723c3980] [c000000000992dec] __driver_attach+0xac/0x190\n[    1.403185] [c0000000723c39d0] [c00000000098e868] bus_for_each_dev+0xa8/0x130\n[    1.403564] [c0000000723c3a30] [c0000000009914b4] driver_attach+0x34/0x50\n[    1.403935] [c0000000723c3a50] [c000000000990bd0] bus_add_driver+0x170/0x2b0\n[    1.404329] [c0000000723c3ae0] [c000000000993fd4] driver_register+0xb4/0x1c0\n[    1.404690] [c0000000723c3b50] [c000000000995c5c] __platform_driver_register+0x5c/0x70\n[    1.405092] [c0000000723c3b70] [c0000000012cbed4] serial8250_init+0x16c/0x1d8\n[    1.405454] [c0000000723c3c00] [c000000000011b30] do_one_initcall+0x60/0x2b0\n[    1.405828] [c0000000723c3cd0] [c000000001284408] kernel_init_freeable+0x2e0/0x3a4\n[    1.406199] [c0000000723c3db0] [c0000000000121b4] kernel_init+0x2c/0x158\n[    1.406616] [c0000000723c3e20] [c00000000000d1a8] ret_from_kernel_thread+0x5c/0x74\n[    1.407061] Instruction dump:\n[    1.407492] 38210030 7fe3fb78 ebe1fff8 4e800020 60000000 60000000 60420000 3d22000b\n[    1.407930] 39298c10 e8890000 7c632214 7c0004ac \u003c8be30000\u003e 0c1f0000 4c00012c 57ff063e\n[    1.408889] ---[ end trace 57df7bc12c90327a ]---\n[    1.409238]\n[    2.410095] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b\n[   12.174535161,3] Could not set special wakeup on 0:0: timeout waiting for SPECIAL_WKUP_DONE.\n[    2.517929] Rebooting in 10 seconds..\n```\n\n* Big endian `zImage.epapr` build fails at:\n\n```\nWARNING: linux-yocto-5.8.13+gitAUTOINC+34775c20bc_5981001bf0-r0 do_package_qa: QA Issue: kernel-image-zimage.epapr: ELF binary /boot/zImage.epapr-5.8.13-yocto-standard has relocations in .text [textrel]\nERROR: linux-yocto-5.8.13+gitAUTOINC+34775c20bc_5981001bf0-r0 do_package_qa: QA Issue: Architecture did not match (PowerPC, expected Unknown (21)) in /boot/zImage.epapr-5.8.13-yocto-standard [arch]\nWARNING: linux-yocto-5.8.13+gitAUTOINC+34775c20bc_5981001bf0-r0 do_package_qa: QA Issue: kernel-vmlinux: ELF binary /boot/vmlinux-5.8.13-yocto-standard has relocations in .text [textrel]\nERROR: linux-yocto-5.8.13+gitAUTOINC+34775c20bc_5981001bf0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.\nERROR: Logfile of failure stored in: /work/build/tmp/work/qemuppc64-poky-linux/linux-yocto/5.8.13+gitAUTOINC+34775c20bc_5981001bf0-r0/temp/log.do_package_qa.13057\nERROR: Task (/work/poky/meta/recipes-kernel/linux/linux-yocto_5.8.bb:do_package_qa) failed with exit code '1'\nNOTE: Tasks Summary: Attempted 4072 tasks of which 3977 didn't need to be rerun and 1 failed.\n```\n  - skipped for now\n\n\n* Why readelf reports the Big Endian image to be 32bit? It is likely the reason\n  of Yocto QA check trigger?\n\n```\nreadelf -h zImage.epapr_be\n\nELF Header:\n  Magic:   7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00\n  Class:                             ELF32\n  Data:                              2's complement, big endian\n  Version:                           1 (current)\n  OS/ABI:                            UNIX - System V\n  ABI Version:                       0\n  Type:                              EXEC (Executable file)\n  Machine:                           PowerPC\n  Version:                           0x1\n  Entry point address:               0x20000000\n  Start of program headers:          52 (bytes into file)\n  Start of section headers:          7237480 (bytes into file)\n  Flags:                             0x8000, relocatable-lib\n  Size of this header:               52 (bytes)\n  Size of program headers:           32 (bytes)\n  Number of program headers:         3\n  Size of section headers:           40 (bytes)\n  Number of section headers:         19\n  Section header string table index: 18\n\nreadelf -h zImage.epapr_le\n\nELF Header:\n  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00\n  Class:                             ELF64\n  Data:                              2's complement, little endian\n  Version:                           1 (current)\n  OS/ABI:                            UNIX - System V\n  ABI Version:                       0\n  Type:                              EXEC (Executable file)\n  Machine:                           PowerPC64\n  Version:                           0x1\n  Entry point address:               0x20000000\n  Start of program headers:          64 (bytes into file)\n  Start of section headers:          7309688 (bytes into file)\n  Flags:                             0x2, abiv2\n  Size of this header:               64 (bytes)\n  Size of program headers:           56 (bytes)\n  Number of program headers:         3\n  Size of section headers:           64 (bytes)\n  Number of section headers:         18\n  Section header string table index: 17\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Fmeta-ppc64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3mdeb%2Fmeta-ppc64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Fmeta-ppc64/lists"}