Possible to make customized "flasher" image?

Is it possible to make your own customized “flasher” image?



After setting up system (using provided Debian image for ReSpeaker Core v2 as a base), I’d like capture that image and flash it to the eMMC of another ReSpeaker Core v2. Possible?

Hi, Yes, I will consult with software engineer about the instructions tomorrow and he takes leave today. I will update it into wiki. thanks.



Seeed techsupport team

Bill

That is good news. Thanks for the update.

Hi ,please run the image builder on RAM>2G ARM debian system.



Here are the detail instructions.


  1. git clone https://github.com/respeaker/image_builder


  2. modify the upload path @ /publish/respeaker.io_stable.sh


  3. sudo ./publish/respeaker.io_stable.sh



    thanks.



    Seeed techsupport team

    Bill

Thanks!

Any tips on getting an arm system with >2gb of ram?



Any qemu configs that work?



chris.

Hi Chris,



It does not support the qemu. thanks.

Hello.



I have a question, just to be sure…

Do i have to execute the imagebuilder on the respeaker directly?

Because the upload path is just where the final image gets saved, correct?

And how long does it take, because it tried now to execute it on my respeaker core v2 and i get a endless list of the following log output:



log: [Running: ./publish/respeaker.io_stable.sh]



so how do i know if it is running correct?

thanks in advance for your help!

Can you please help me an provide a little guide, so that i know what i have to do to get my current image that is on the emmc of the respeaker core v2 exported as a flasher image…

So i can flash other respeaker with that image.



Thanks in advance for your help :slight_smile:

Hi there,


  1. please prepare the 16G SD card and burn the SD card with respeaker sd card image
  2. plug sd card into respeaker and boot up from sd card
  3. git clone https://github.com/respeaker/image_builder.git
  4. modify the /publish/respeaker.io_stable.sh file, disable line 6, 12, 27 to 44



    <LINK_TEXT text=“https://github.com/respeaker/image_buil … able.sh#L6”>https://github.com/respeaker/image_builder/blob/master/publish/respeaker.io_stable.sh#L6</LINK_TEXT>

    <LINK_TEXT text=“https://github.com/respeaker/image_buil … ble.sh#L12”>https://github.com/respeaker/image_builder/blob/master/publish/respeaker.io_stable.sh#L12</LINK_TEXT>

    <LINK_TEXT text=“https://github.com/respeaker/image_buil … sh#L37-L44”>https://github.com/respeaker/image_builder/blob/master/publish/respeaker.io_stable.sh#L37-L44</LINK_TEXT>


  5. sudo ./publish/respeaker.io_stable.sh
  6. It will take long time and the emmc image will save @ SD card.



    thanks.

I tried this solution.

I disable line 6, 12 and from 37 to 44.

The script work , but reports “invalid password debian.debian”

and many strings “log: [Running: ./publish/respeaker.io_stable.sh]”



How this resolve ?