<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 10/03/19 22:33, Sami Olmari wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAENOc+zH-gbmgrqUv+tBSJdKa+m3wXbXb1SFy2BQjtAuox=T2w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Sun, Mar 10, 2019 at
              4:20 PM Alberto Bursi <<a
                href="mailto:bobafetthotmail@gmail.com"
                moz-do-not-send="true">bobafetthotmail@gmail.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><br>
              On 10/03/19 21:32, Sami Olmari via openwrt-devel wrote:<br>
              > Okay it wasn't <br>
              > <a
href="https://github.com/openwrt/openwrt/commit/576c69938bb38c7edfa23f220eb30cb5c1d0a726"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://github.com/openwrt/openwrt/commit/576c69938bb38c7edfa23f220eb30cb5c1d0a726</a>
              <br>
              > nor the immediately next one <br>
              > <a
href="https://github.com/openwrt/openwrt/commit/0fbd3d23aadee0d95beef4f077a866dae7f4841a"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://github.com/openwrt/openwrt/commit/0fbd3d23aadee0d95beef4f077a866dae7f4841a</a>
              <br>
              > so it's still unclear what commit really breaks
              this... but I'll try <br>
              > to keep looking.. :)<br>
              ><br>
              > -- <br>
              >  Sami Olmari<br>
              > _______________________________________________<br>
              > openwrt-devel mailing list<br>
              > <a href="mailto:openwrt-devel@lists.openwrt.org"
                target="_blank" moz-do-not-send="true">openwrt-devel@lists.openwrt.org</a><br>
              > <a
                href="https://lists.openwrt.org/mailman/listinfo/openwrt-devel"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.openwrt.org/mailman/listinfo/openwrt-devel</a><br>
              <br>
              <br>
              The issue isn't a specific commit.<br>
              <br>
              The issue is the kernel is too big.<br>
              <br>
              The bootloader of this device only reads 0x29F000 bytes in
              hex or<br>
              <br>
              2748416 bytes, around 2.6Mb in decimal.<br>
              <br>
              <br>
              In the Github PR (1) they see they can only work around
              this by<br>
              <br>
              making an u-boot bootloader that can be loaded instead of
              the kernel.<br>
              <br>
              Then this u-boot will load the kernel with no limitations.<br>
              <br>
              <br>
              -Alberto<br>
              <br>
              <br>
              [1] <a
                href="https://github.com/openwrt/openwrt/pull/1773"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://github.com/openwrt/openwrt/pull/1773</a><br>
               </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Shouldn't this alleviate that? <a
href="https://github.com/openwrt/openwrt/commit/576c69938bb38c7edfa23f220eb30cb5c1d0a726"
                moz-do-not-send="true">https://github.com/openwrt/openwrt/commit/576c69938bb38c7edfa23f220eb30cb5c1d0a726</a></div>
            <div><br>
            </div>
            <div>"<br>
              <pre>Currently, the image creation process for the TP-Link tl-wdr4900-v1
needs a fixed sized kernel and places the rootfs partition at a
fixed offset. With the upcoming move to 4.19 the kernel will no
longer fit into the existing allocated space for the kernel
partition.

This patch converts the device to utilize the established
tplink,firmware mtdsplitter, which can deal with a dynamic
kernel/rootfs size.

"

</pre>
              <pre>Not that I really know too good, I'm still just eager user more than developer... Anyway, All I can then hope a fix is introduced... I am more than willing to alpha/betatest :)

-- 
</pre>
              <pre> Sami Olmari
</pre>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>No it does not. That patch solves kernel size issue for OpenWrt,
      but not for bootloader.<br>
    </p>
    <p>The bootloader will still only read 2.6MB from flash, where the
      kernel partition was in stock firmware. <br>
    </p>
    <p>If the kernel is bigger than that, it will not be all read and
      will fail.</p>
    <p>This is why they want to make a second u-boot bootloader, <br>
    </p>
    <p>so the main bootloader will load and execute the second
      bootloader<br>
    </p>
    <p>that will then load and execute the kernel. Other devices in
      OpenWrt do this, it's not a new thing.<br>
    </p>
    <p>Follow the Github PR thread and see if they can fix this.</p>
    <p>-Alberto<br>
    </p>
  </body>
</html>