{"id":19552915,"url":"https://github.com/potato-industries/pcengine-mini","last_synced_at":"2026-03-19T10:26:24.234Z","repository":{"id":177275647,"uuid":"459336791","full_name":"Potato-Industries/pcengine-mini","owner":"Potato-Industries","description":"some rough notes on getting root on the pcengine mini","archived":false,"fork":false,"pushed_at":"2022-02-14T22:13:37.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T07:20:24.666Z","etag":null,"topics":["fel","pcengine","pcenginemini","root"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Potato-Industries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-14T21:50:43.000Z","updated_at":"2023-01-07T05:45:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"b11b1e83-d742-4cdf-a11b-9d33ef39831a","html_url":"https://github.com/Potato-Industries/pcengine-mini","commit_stats":null,"previous_names":["potato-industries/pcengine-mini"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Potato-Industries/pcengine-mini","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Fpcengine-mini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Fpcengine-mini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Fpcengine-mini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Fpcengine-mini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Potato-Industries","download_url":"https://codeload.github.com/Potato-Industries/pcengine-mini/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Potato-Industries%2Fpcengine-mini/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30081080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T12:28:08.313Z","status":"ssl_error","status_checked_at":"2026-03-04T12:27:28.210Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["fel","pcengine","pcenginemini","root"],"created_at":"2024-11-11T04:20:08.429Z","updated_at":"2026-03-04T13:02:40.302Z","avatar_url":"https://github.com/Potato-Industries.png","language":null,"readme":"# pcengine-mini\n\nSome rough notes on getting root and FEL mode on the PCEngine Mini (i couldn't easily find anything online).\n\nRef:\n\nhttps://honeylab.hatenablog.jp/entry/2020/03/21/224924 (great work, must read)\n\n\n# root\n\nHook up UART pins as documented in the blog above.\n\n```\nscreen /dev/ttyUSB0 115200\n```\n\nPower on device spam 's' key on screen console.\n\nGetting root shell via uboot console.\n\n```\nsunxi#setenv init /bin/sh\nsunxi#boot\n## Booting kernel from Legacy Image at 43800000 ...\n   Image Name:   Linux-3.4.113\n   Image Type:   ARM Linux Kernel Image (uncompressed)\n   Data Size:    3485072 Bytes = 3.3 MiB\n   Load Address: 40008000\n   Entry Point:  40008000\n   Verifying Checksum ... OK\n   Loading Kernel Image ... OK\nOK\npara err in disp_ioctl, cmd = 0xa,screen id = 1\n[     18.397][mmc]: mmc exit start\n[     18.402][mmc]: mmc_config_clock: clk 50000000\n[     18.406][mmc]: mmc_config_clock: clk 400000\n[     18.421][mmc]: mmc 2 cmd 8 err 100\n[     18.427][mmc]: mmc send if cond failed\n[     18.432][mmc]: mmc 2 cmd 55 err 100\n[     18.438][mmc]: send app cmd failed\n[     18.452][mmc]: get sdc_phy_wipe fail.\n[     18.456][mmc]: get sdc0 sdc_erase fail.\n[     18.460][mmc]: get sdc_2xmode ok, val = 1\n[     18.464][mmc]: get sdc_ddrmode ok, val = 1\n[     18.468][mmc]: get sdc_f_max fail,use default  50000000Hz\n[     18.474][mmc]: get card_line ok, card_line = 8\n[     18.478][mmc]: get sdc_ex_dly_used fail,use default\n[     18.483][mmc]: mmc 2 exit ok\n[     18.486]\nStarting kernel ...\n\nUncompressing Linux... done, booting the kernel.\n\u003c6/bin/sh: can't access tty; job control turned off\n/ # id\nuid=0(root) gid=0(root)\n/ # passwd\nChanging password for root\nNew password: \nBad password: too short\nRetype password: \nPassword for root changed by root\n```\n\nPower cycle the device, you are good to go, passwd changes are persisted. \n\n```\n/ # �[      0.203]\n\nU-Boot 2011.09-rc1-00000-g481c142-dirty (Sep 26 2019 - 00:36:30) Allwinner Technology \n\n[      0.213]version: 1.1.0\n[      0.215]uboot commit : 481c1423f323257356c9db28e780864137596a70\n \nready\nnormal dc exist, limit to dc\nno key input\ndram_para_set start\ndram_para_set end\nIn:    Out:   Err:   Net:   Warning: failed to set MAC address\n\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\nIRQ: EP0\n\n   Verifying Checksum ... OK\nOK\nOK\nUncompressing Linux... done, booting the kernel.\n/dev/by-name/UDISK: UUID=\"beca5410-23bf-4c4a-8702-8d8319d61e01\" TYPE=\"ext4\"\n/dev/by-name/UDISK already format by ext4\n/dev/by-name/rootfs_data: UUID=\"0de2d00c-f534-419e-b090-368fdb0ae7da\" TYPE=\"ext4\"\n/dev/by-name/rootfs_data already format by ext4\n/dev/by-name/app: UUID=\"e5969eed-c0e7-40cd-a7fa-972b2ab43660\" TYPE=\"ext4\"\n/dev/by-name/app already format by ext4\n/dev/by-name/misc: UUID=\"e789e63c-e47f-4f36-8332-b6ef5143cc7d\" TYPE=\"ext4\"\n/dev/by-name/misc already format by ext4\nrelease-indiana-da99667:INDIANA-mass\nStarting logging: OK\nPopulating /dev using udev: done\nread-only file system detected...done\nmali: starting driver\nmode: 0\nautomatic mode: display don't support 720p and 480p. 720p mode selected\nOK\nUser Mode:[gpio-keys] Does not verify vid and pid\n[joypad-1] device: /dev/input/by-path/platform-sunxi-ehci.1-usb-0:1.2:1.0-event-joystick does not exists.\nstart game.\nstart game.\nvalue is: 0\n\n170\n\nWelcome to VividOS\nVIVID login: root\nPassword: \n# id\nuid=0(root) gid=0(root) groups=0(root),10(wheel)\n\n```\n\n\n# FEL Mode\n\nSpam '2' key while powering up the device via usb. \n\n```\nwopr-re# sunxi-fel -l\nUSB device 002:034   Allwinner A33     0461872a:89046009:aa96c787:6c118000\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotato-industries%2Fpcengine-mini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpotato-industries%2Fpcengine-mini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotato-industries%2Fpcengine-mini/lists"}