{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/13","id":67225624,"html_url":"https://github.com/longsleep/build-pine64-image/pull/13","diff_url":"https://github.com/longsleep/build-pine64-image/pull/13.diff","patch_url":"https://github.com/longsleep/build-pine64-image/pull/13.patch","issue_url":"https://api.github.com/repos/longsleep/build-pine64-image/issues/13","number":13,"state":"open","locked":false,"title":"Reading rootfs partition from kernel parameter 'root'","user":{"login":"j0zzy","id":18562349,"avatar_url":"https://avatars.githubusercontent.com/u/18562349?v=3","gravatar_id":"","url":"https://api.github.com/users/j0zzy","html_url":"https://github.com/j0zzy","followers_url":"https://api.github.com/users/j0zzy/followers","following_url":"https://api.github.com/users/j0zzy/following{/other_user}","gists_url":"https://api.github.com/users/j0zzy/gists{/gist_id}","starred_url":"https://api.github.com/users/j0zzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0zzy/subscriptions","organizations_url":"https://api.github.com/users/j0zzy/orgs","repos_url":"https://api.github.com/users/j0zzy/repos","events_url":"https://api.github.com/users/j0zzy/events{/privacy}","received_events_url":"https://api.github.com/users/j0zzy/received_events","type":"User","site_admin":false},"body":"Small improvements to init script. This will allow to set root partition in uEnv.txt. Script waits 20 second for the partition, if it doesn't show up it tries to boot from sd card (/dev/mmcblk0p2).\r\n\r\nSample uEnv.txt\r\n```\r\nconsole=tty0 console=ttyS0,115200n8 no_console_suspend\r\nkernel_filename=pine64/Image\r\ninitrd_filename=initrdwait.img \r\nroot=/dev/sdb2\r\nethaddr=##:##:##:##:##:##\r\n```\r\n\r\nUART output\r\n```\r\n[  172.346109] Freeing unused kernel memory: 492K (ffffffc00097a000 - ffffffc0009f5000)\r\nKernel params: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr=##:##:##:##:##:## root=/dev/sdb2 ro rootwait\r\nWaiting for root system /dev/sdb2, countdown : 20\r\n[  172.468887]\r\n[  172.468887]\r\n[.....]\r\n[  172.976050] scene_lock_init name=ohci_standby\r\n[  172.986656] host_chose finished 86!\r\nWaiting for root system /dev/sdb2, countdown : 19\r\nWaiting for root system /dev/sdb2, countdown : 18\r\nWaiting for root system /dev/sdb2, countdown : 17\r\nWaiting for root system /dev/sdb2, countdown : 16\r\nWaiting for root system /dev/sdb2, countdown : 15\r\n[  177.438461] scsi 1:0:0:0: Direct-Access     ATA      HGST HTS541010A9 A560 PQ: 0 ANSI: 6\r\n[  177.454878] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)\r\n[  177.470117] sd 1:0:0:0: [sdb] Write Protect is off\r\n[  177.482171] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA\r\n[  177.559890]  sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6\r\n[  177.576276] sd 1:0:0:0: [sdb] Attached SCSI disk\r\nWaiting for root system /dev/sdb2, countdown : 14\r\nRootfs: /dev/sdb2\r\nWelcome to Ubuntu 16.04 LTS!\r\n```\r\n","created_at":"2016-04-20T17:20:38Z","updated_at":"2016-04-20T17:20:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/13/commits","review_comments_url":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/13/comments","review_comment_url":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/longsleep/build-pine64-image/issues/13/comments","statuses_url":"https://api.github.com/repos/longsleep/build-pine64-image/statuses/4b2902db5b59929de739ee480baf6eb5e86e7970","head":{"label":"j0zzy:wip-rootfs-kernel-param","ref":"wip-rootfs-kernel-param","sha":"4b2902db5b59929de739ee480baf6eb5e86e7970","user":{"login":"j0zzy","id":18562349,"avatar_url":"https://avatars.githubusercontent.com/u/18562349?v=3","gravatar_id":"","url":"https://api.github.com/users/j0zzy","html_url":"https://github.com/j0zzy","followers_url":"https://api.github.com/users/j0zzy/followers","following_url":"https://api.github.com/users/j0zzy/following{/other_user}","gists_url":"https://api.github.com/users/j0zzy/gists{/gist_id}","starred_url":"https://api.github.com/users/j0zzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0zzy/subscriptions","organizations_url":"https://api.github.com/users/j0zzy/orgs","repos_url":"https://api.github.com/users/j0zzy/repos","events_url":"https://api.github.com/users/j0zzy/events{/privacy}","received_events_url":"https://api.github.com/users/j0zzy/received_events","type":"User","site_admin":false},"repo":{"id":56637378,"name":"build-pine64-image","full_name":"j0zzy/build-pine64-image","owner":{"login":"j0zzy","id":18562349,"avatar_url":"https://avatars.githubusercontent.com/u/18562349?v=3","gravatar_id":"","url":"https://api.github.com/users/j0zzy","html_url":"https://github.com/j0zzy","followers_url":"https://api.github.com/users/j0zzy/followers","following_url":"https://api.github.com/users/j0zzy/following{/other_user}","gists_url":"https://api.github.com/users/j0zzy/gists{/gist_id}","starred_url":"https://api.github.com/users/j0zzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0zzy/subscriptions","organizations_url":"https://api.github.com/users/j0zzy/orgs","repos_url":"https://api.github.com/users/j0zzy/repos","events_url":"https://api.github.com/users/j0zzy/events{/privacy}","received_events_url":"https://api.github.com/users/j0zzy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/j0zzy/build-pine64-image","description":"Pine64 Linux build scripts, tools and instructions","fork":true,"url":"https://api.github.com/repos/j0zzy/build-pine64-image","forks_url":"https://api.github.com/repos/j0zzy/build-pine64-image/forks","keys_url":"https://api.github.com/repos/j0zzy/build-pine64-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j0zzy/build-pine64-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j0zzy/build-pine64-image/teams","hooks_url":"https://api.github.com/repos/j0zzy/build-pine64-image/hooks","issue_events_url":"https://api.github.com/repos/j0zzy/build-pine64-image/issues/events{/number}","events_url":"https://api.github.com/repos/j0zzy/build-pine64-image/events","assignees_url":"https://api.github.com/repos/j0zzy/build-pine64-image/assignees{/user}","branches_url":"https://api.github.com/repos/j0zzy/build-pine64-image/branches{/branch}","tags_url":"https://api.github.com/repos/j0zzy/build-pine64-image/tags","blobs_url":"https://api.github.com/repos/j0zzy/build-pine64-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j0zzy/build-pine64-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j0zzy/build-pine64-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/j0zzy/build-pine64-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j0zzy/build-pine64-image/statuses/{sha}","languages_url":"https://api.github.com/repos/j0zzy/build-pine64-image/languages","stargazers_url":"https://api.github.com/repos/j0zzy/build-pine64-image/stargazers","contributors_url":"https://api.github.com/repos/j0zzy/build-pine64-image/contributors","subscribers_url":"https://api.github.com/repos/j0zzy/build-pine64-image/subscribers","subscription_url":"https://api.github.com/repos/j0zzy/build-pine64-image/subscription","commits_url":"https://api.github.com/repos/j0zzy/build-pine64-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/j0zzy/build-pine64-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/j0zzy/build-pine64-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/j0zzy/build-pine64-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/j0zzy/build-pine64-image/contents/{+path}","compare_url":"https://api.github.com/repos/j0zzy/build-pine64-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j0zzy/build-pine64-image/merges","archive_url":"https://api.github.com/repos/j0zzy/build-pine64-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j0zzy/build-pine64-image/downloads","issues_url":"https://api.github.com/repos/j0zzy/build-pine64-image/issues{/number}","pulls_url":"https://api.github.com/repos/j0zzy/build-pine64-image/pulls{/number}","milestones_url":"https://api.github.com/repos/j0zzy/build-pine64-image/milestones{/number}","notifications_url":"https://api.github.com/repos/j0zzy/build-pine64-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j0zzy/build-pine64-image/labels{/name}","releases_url":"https://api.github.com/repos/j0zzy/build-pine64-image/releases{/id}","deployments_url":"https://api.github.com/repos/j0zzy/build-pine64-image/deployments","created_at":"2016-04-19T22:42:26Z","updated_at":"2016-04-19T22:42:27Z","pushed_at":"2016-04-20T08:00:25Z","git_url":"git://github.com/j0zzy/build-pine64-image.git","ssh_url":"git@github.com:j0zzy/build-pine64-image.git","clone_url":"https://github.com/j0zzy/build-pine64-image.git","svn_url":"https://github.com/j0zzy/build-pine64-image","homepage":"","size":229,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"longsleep:master","ref":"master","sha":"95810084f203e8b91e5f98fd74afac13150bdb6b","user":{"login":"longsleep","id":1667797,"avatar_url":"https://avatars.githubusercontent.com/u/1667797?v=3","gravatar_id":"","url":"https://api.github.com/users/longsleep","html_url":"https://github.com/longsleep","followers_url":"https://api.github.com/users/longsleep/followers","following_url":"https://api.github.com/users/longsleep/following{/other_user}","gists_url":"https://api.github.com/users/longsleep/gists{/gist_id}","starred_url":"https://api.github.com/users/longsleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longsleep/subscriptions","organizations_url":"https://api.github.com/users/longsleep/orgs","repos_url":"https://api.github.com/users/longsleep/repos","events_url":"https://api.github.com/users/longsleep/events{/privacy}","received_events_url":"https://api.github.com/users/longsleep/received_events","type":"User","site_admin":false},"repo":{"id":50799266,"name":"build-pine64-image","full_name":"longsleep/build-pine64-image","owner":{"login":"longsleep","id":1667797,"avatar_url":"https://avatars.githubusercontent.com/u/1667797?v=3","gravatar_id":"","url":"https://api.github.com/users/longsleep","html_url":"https://github.com/longsleep","followers_url":"https://api.github.com/users/longsleep/followers","following_url":"https://api.github.com/users/longsleep/following{/other_user}","gists_url":"https://api.github.com/users/longsleep/gists{/gist_id}","starred_url":"https://api.github.com/users/longsleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longsleep/subscriptions","organizations_url":"https://api.github.com/users/longsleep/orgs","repos_url":"https://api.github.com/users/longsleep/repos","events_url":"https://api.github.com/users/longsleep/events{/privacy}","received_events_url":"https://api.github.com/users/longsleep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/longsleep/build-pine64-image","description":"Pine64 Linux build scripts, tools and instructions","fork":false,"url":"https://api.github.com/repos/longsleep/build-pine64-image","forks_url":"https://api.github.com/repos/longsleep/build-pine64-image/forks","keys_url":"https://api.github.com/repos/longsleep/build-pine64-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/longsleep/build-pine64-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/longsleep/build-pine64-image/teams","hooks_url":"https://api.github.com/repos/longsleep/build-pine64-image/hooks","issue_events_url":"https://api.github.com/repos/longsleep/build-pine64-image/issues/events{/number}","events_url":"https://api.github.com/repos/longsleep/build-pine64-image/events","assignees_url":"https://api.github.com/repos/longsleep/build-pine64-image/assignees{/user}","branches_url":"https://api.github.com/repos/longsleep/build-pine64-image/branches{/branch}","tags_url":"https://api.github.com/repos/longsleep/build-pine64-image/tags","blobs_url":"https://api.github.com/repos/longsleep/build-pine64-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/longsleep/build-pine64-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/longsleep/build-pine64-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/longsleep/build-pine64-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/longsleep/build-pine64-image/statuses/{sha}","languages_url":"https://api.github.com/repos/longsleep/build-pine64-image/languages","stargazers_url":"https://api.github.com/repos/longsleep/build-pine64-image/stargazers","contributors_url":"https://api.github.com/repos/longsleep/build-pine64-image/contributors","subscribers_url":"https://api.github.com/repos/longsleep/build-pine64-image/subscribers","subscription_url":"https://api.github.com/repos/longsleep/build-pine64-image/subscription","commits_url":"https://api.github.com/repos/longsleep/build-pine64-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/longsleep/build-pine64-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/longsleep/build-pine64-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/longsleep/build-pine64-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/longsleep/build-pine64-image/contents/{+path}","compare_url":"https://api.github.com/repos/longsleep/build-pine64-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/longsleep/build-pine64-image/merges","archive_url":"https://api.github.com/repos/longsleep/build-pine64-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/longsleep/build-pine64-image/downloads","issues_url":"https://api.github.com/repos/longsleep/build-pine64-image/issues{/number}","pulls_url":"https://api.github.com/repos/longsleep/build-pine64-image/pulls{/number}","milestones_url":"https://api.github.com/repos/longsleep/build-pine64-image/milestones{/number}","notifications_url":"https://api.github.com/repos/longsleep/build-pine64-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/longsleep/build-pine64-image/labels{/name}","releases_url":"https://api.github.com/repos/longsleep/build-pine64-image/releases{/id}","deployments_url":"https://api.github.com/repos/longsleep/build-pine64-image/deployments","created_at":"2016-01-31T22:37:40Z","updated_at":"2016-04-19T05:22:18Z","pushed_at":"2016-04-20T17:20:38Z","git_url":"git://github.com/longsleep/build-pine64-image.git","ssh_url":"git@github.com:longsleep/build-pine64-image.git","clone_url":"https://github.com/longsleep/build-pine64-image.git","svn_url":"https://github.com/longsleep/build-pine64-image","homepage":"","size":225,"stargazers_count":23,"watchers_count":23,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/13"},"html":{"href":"https://github.com/longsleep/build-pine64-image/pull/13"},"issue":{"href":"https://api.github.com/repos/longsleep/build-pine64-image/issues/13"},"comments":{"href":"https://api.github.com/repos/longsleep/build-pine64-image/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/longsleep/build-pine64-image/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/longsleep/build-pine64-image/statuses/4b2902db5b59929de739ee480baf6eb5e86e7970"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":53,"deletions":23,"changed_files":1}}