{"action":"created","issue":{"url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/96","repository_url":"https://api.github.com/repos/pepe2k/u-boot_mod","labels_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/96/comments","events_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/96/events","html_url":"https://github.com/pepe2k/u-boot_mod/issues/96","id":143496987,"number":96,"title":"TL-WR841n v9 will not autoboot","user":{"login":"ovctvct","id":16150648,"avatar_url":"https://avatars.githubusercontent.com/u/16150648?v=3","gravatar_id":"","url":"https://api.github.com/users/ovctvct","html_url":"https://github.com/ovctvct","followers_url":"https://api.github.com/users/ovctvct/followers","following_url":"https://api.github.com/users/ovctvct/following{/other_user}","gists_url":"https://api.github.com/users/ovctvct/gists{/gist_id}","starred_url":"https://api.github.com/users/ovctvct/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovctvct/subscriptions","organizations_url":"https://api.github.com/users/ovctvct/orgs","repos_url":"https://api.github.com/users/ovctvct/repos","events_url":"https://api.github.com/users/ovctvct/events{/privacy}","received_events_url":"https://api.github.com/users/ovctvct/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pepe2k/u-boot_mod/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-25T13:21:46Z","updated_at":"2016-03-31T09:53:57Z","closed_at":"2016-03-31T09:53:57Z","body":"I just compiled and installed this mod with my tl-wr841n, but it will just freeze while autobooting, but running boot from netconsole it boots fine. Here's a netconsole log for referrence:\r\n```\r\nuboot> printenv\r\nbootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art)\r\nbootcmd=bootm 0x9F020000\r\nbootdelay=1\r\nbaudrate=115200\r\nipaddr=192.168.1.1\r\nserverip=192.168.1.2\r\nbootfile=\"firmware.bin\"\r\nloadaddr=0x80800000\r\nncport=6666\r\nuboot_addr=0x9F000000\r\nuboot_name=uboot.bin\r\nuboot_size=0x1EC00\r\nuboot_backup_size=0x20000\r\nuboot_upg=if ping $serverip; then mw.b $loadaddr 0xFF $uboot_backup_size && cp.b $uboot_addr $loadaddr $uboot_backup_size && tftp $loadaddr $uboot_name && if itest.l $filesize <= $uboot_size; then erase $uboot_addr +$uboot_backup_size && cp.b $loadaddr $uboot_addr $uboot_backup_size && echo OK!; else echo ERROR! Wrong file size!; fi; else echo ERROR! Server not reachable!; fi\r\nstdin=nc\r\nstdout=nc\r\nstderr=nc\r\nethact=eth1\r\n\r\nEnvironment size: 814/4092 bytes\r\n\r\nuboot> boot\r\nBooting image at: 0x9F020000\r\n\r\n   Image name:   OpenWrt r46767\r\n   Image type:   MIPS Linux Kernel Image (lzma compressed)\r\n   Data size:    1098588 Bytes = 1 MB\r\n   Load address: 0x80060000\r\n   Entry point:  0x80060000\r\n```\r\n\r\nOriginal UBoot however works fine, so it's not a HW problem."},"comment":{"url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/comments/203857919","html_url":"https://github.com/pepe2k/u-boot_mod/issues/96#issuecomment-203857919","issue_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/96","id":203857919,"user":{"login":"pepe2k","id":2934612,"avatar_url":"https://avatars.githubusercontent.com/u/2934612?v=3","gravatar_id":"","url":"https://api.github.com/users/pepe2k","html_url":"https://github.com/pepe2k","followers_url":"https://api.github.com/users/pepe2k/followers","following_url":"https://api.github.com/users/pepe2k/following{/other_user}","gists_url":"https://api.github.com/users/pepe2k/gists{/gist_id}","starred_url":"https://api.github.com/users/pepe2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepe2k/subscriptions","organizations_url":"https://api.github.com/users/pepe2k/orgs","repos_url":"https://api.github.com/users/pepe2k/repos","events_url":"https://api.github.com/users/pepe2k/events{/privacy}","received_events_url":"https://api.github.com/users/pepe2k/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T09:53:57Z","updated_at":"2016-03-31T09:53:57Z","body":"Problem should be fixed in https://github.com/pepe2k/u-boot_mod/commit/247b1d69137d991af406d854d14ae039585ae096.\r\n\r\nFor now it's more like a workaround, because the real source of the problem still needs investigation. It seems that the SoC just after configuring LS UART and printing first character on TX line reads NULL character on RX line when it's not pulled up. It looks like a break interrupt, but the BI bit in line status register (LSR) is not set."}}