0
rafaelSorel

Strange behaviour after installing linux on emmc.

Recommended Posts

10 hours ago, balbes150 said:

4. If your new u-boot will normally be run from SD card, you can try to burn it to eMMC.

What is the recommended way to flash the emmc uboot ? is it like so:

dd if=u-boot.bin of=/dev/bootloader 

Thanks,

Share this post


Link to post
Share on other sites
12 hours ago, rafaelSorel said:

What is the recommended way to flash the emmc uboot ? is it like so:

The installation of u-boot that depends on how it's done in u-boot (source code). For example, for models Khadas VIM u-boot has a special team (sdc_update bootloader u-boot.bin), which I will install u-boot in eMMC\SPI. I don't know which team has your u-boot.

Share this post


Link to post
Share on other sites
33 minutes ago, rafaelSorel said:

Is there a way to check the team of the u-boot installed ?

To study the output of the command "help" and explore the options of the received command with the "-help". Either contact the manufacturer requesting information.

Share this post


Link to post
Share on other sites

@balbes150: I have checked the u-boot help command line and I could see the sdc_update command. So basically it is possible to update the bootloader from u-boot command line.

My question is :

What is the best way to flash a new u-boot on emmc  (sdc_update from u-boot console or running dd if=u-boot.bin of=/dev/bootloader from running linux on SD card) ?

 

The second thing is since I want to update the boot screen logo, I managed to extract the bootup.bmp from logo.img partition using this script https://github.com/steeve/aml-imgpack

then I have repacked a new logo.img with the changed bootup.img file using the same script. 

so is it possible to update the logo.img using this command: "dd if=logo.img of=/dev/logo bs=32M" ?

 

Thanks,

Share this post


Link to post
Share on other sites
5 hours ago, rafaelSorel said:

 

The second thing is since I want to update the boot screen logo, I managed to extract the bootup.bmp from logo.img partition using this script https://github.com/steeve/aml-imgpack

then I have repacked a new logo.img with the changed bootup.img file using the same script. 

so is it possible to update the logo.img using this command: "dd if=logo.img of=/dev/logo bs=32M" ?

[Update] I manage to change the bootup logo successfully, basically we need to unpack the logo.img and change the bootup.bmp with the wanted one, the format needs to be (16bit RGB565 BMP)

Share this post


Link to post
Share on other sites
16 hours ago, rafaelSorel said:

What is the best way to flash a new u-boot on emmc  (sdc_update from u-boot console or running dd if=u-boot.bin of=/dev/bootloader from running linux on SD card) ?

It is better to use staff team sdc_update. It is better to know the features of the installation of the new u-boot (data entry, calculation of checksums, etc.).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0