starfive-tech / JH7100_secondBoot

Other
14 stars 9 forks source link

File bigger than 3MB not supported #4

Closed pdp7 closed 3 years ago

pdp7 commented 3 years ago

From Daniel Schafer: With picocom I see this error. My file is 8MB but picocom fails because the limit is 3M? image-3

JohnAZoidberg commented 3 years ago

With minicom I see this:

image

Flashing seems to work but when I quit the bootloader it boots into U-Boot again.

JohnAZoidberg commented 3 years ago

Context: I'm trying to flash a build of EDK2, which generates an 8MB image. After flashing I would expect U-Boot to be gone.

MichaelZhuxx commented 3 years ago

I have expanded the limit to 10MB, you can update it. https://github.com/starfive-tech/beagle_ddrlnit/commit/623888127a0e6b38d4c1839297286662b570dfa6

pdp7 commented 3 years ago

@tekkamanninja @JohnAZoidberg please try this fix

pdp7 commented 3 years ago

@MichaelZhuxx is there a reason to not have the limit by 32MB which is size of the flash chip?

JohnAZoidberg commented 3 years ago

I need to build this myself? Could you please provide a binary that I can directly flash? :)

MichaelZhuxx commented 3 years ago

Daniel,

Please update the attached ddrinit binary and let me know the results. Thanks.

发件人: Daniel Schaefer @.> 答复: starfive-tech/beagle_secondBoot @.> 日期: 2021年5月7日 星期五 下午2:10 收件人: starfive-tech/beagle_secondBoot @.> 抄送: Michael Zhu @.>, Mention @.***> 主题: Re: [starfive-tech/beagle_secondBoot] File bigger than 3MB not supported (#4)

I need to build this myself? Could you please provide a binary that I can directly flash? :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/starfive-tech/beagle_secondBoot/issues/4#issuecomment-834095446, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASTGFREBHPHPUJ2GPNAYIKLTMN73RANCNFSM44GA7ZTQ.

pdp7 commented 3 years ago

@MichaelZhuxx was there supposed to be a file attached? It seems it did not make it

JohnAZoidberg commented 3 years ago

image Flashing worked, thanks!

No output after secondboot anymore but that's probably my code's issue.

pdp7 commented 3 years ago

@JohnAZoidberg please re-open if further problems