actually i didnt add any firmware.i just downloaded the latest firmware package from qualcomm developer network and replaced older package with new one. except that i haven’t made any change and got that error.
again when i replace with older firmware package i didnt get that error.
can you be a little more detailed what exactly you downloaded and how you added “it” ? (i fear i dont understand what you mean by “firmware”, the only firmware we ship is the wlan stuff in the kernel snap)
i downloaded linux-bootloader-and-firmware-v1030.4-psci from qcom developer site. That package has
proprietary-linux folder with below binaries
a300_pfp.fw modem.b00 modem.b07 modem.b20 modem.b25 venus.b00 venus.b03 venus.mdt wcnss.b02 wcnss.b09 wcnss.mdt
a300_pm4.fw modem.b01 modem.b17 modem.b23 modem.b27 venus.b01 venus.b04 wcnss.b00 wcnss.b04 wcnss.b10 wlan
mba.mbn modem.b02 modem.b19 modem.b24 modem.mdt venus.b02 venus.mbn wcnss.b01 wcnss.b06 wcnss.b11
i compressed all these files and kept in kernel source directory as firmware.tar
below is the part of snapcraft.yaml
firmware:
plugin: tar-content
source: firmware.tar
destination: firmware
What was the commandline you used ? did you specify the kernel snap with the --extra-snaps option ?
(and yes, what i meant was that you need to create an SD image, and run through the complete MMC flash process from the u-boot prompt like you initially did (dont forget to remove the SD card before rebooting to the MMC image for the first time), so the GPT sizes match again)
Is that on HDMI or serial (smells like the console= options are wrong (though that would be weird unless you changed uboot.env.in when building the gadget)). You should at least get an error message (or a timeout after 120sec)…
and did you also install freshly to the MMC ?
Quoting from the readme
- Connect the serial console
- During the first boot, interupt auto boot at u-boot stage by hitting any key
run:
dragonboard410c => run reflash_ubuntu
- Make sure there is no error during flashing.
- Remove SD card and reboot device
(note that the last step is essential, the device needs to boot from MMC once to resize “writable” to the full disk size. It is also essential that the SD is removed when you do this first boot, else the code might attempt to resize “writable” on the SD instead)
This is not how it works … there are two bootloaders in the gadget, one is for SD the other is for MMC … both need to be in the right places when you run the flash script from the u-boot prompt … the script does all the setup for configuration defaults of the bootloaders etc, it does not only flash things …
This is all working out of the box if you follow the instructions step by step without doing any modifications (has been tested plenty of times before it got released)
aha … by default ubuntu-image indeed creates the bootloader partition images for SD, since we only support the bootloader install to MMC via the u-boot flash script … so if you tinker with fastboot, do it with a grain of salt and try to avoid touching anything but writable and system-boot (part 7 and 8 images)