[Gta04-owner] Upgrade to GTA04
Dr. H. Nikolaus Schaller
hns at goldelico.com
Fri Dec 5 07:06:17 CET 2014
Hi,
Am 04.12.2014 um 23:15 schrieb Karsten Düsterloh <kd-gta04 at duesterloh.eu>:
> Karsten Düsterloh wrote:
>> If I understand the UBoot mechnism correctly, partition #1 isn't
>> actually needed for booting QTMoko on #2, hence I could put SHR onto a
>> repartioned #1?
>
> So I repartioned my SD card to
> partition #1: ext4: SHR
> partition #2: ext4: QTMoko
> partition #3: ext3: Replicant
> partition #1: FAT: empty
> But the UBoot menu won't boot SHR and QTMoko, just Replicant.
> (Should booting from ext4 actually work with the kernel preinstalled in
> NAND?)
Yes it should work but the kernel must be compatible with the rootfs (e.f. modules, command line).
AFAIK the standard images of SHR and Qtmoko are not „single partition“ images and need their own partitioning scheme.
I had tried to recompile Qtmoko some time ago to make it compatible, but failed with compilation.
>
> Hence I tried to update the NAND environment as stated in the "Boot the
> GTA04 with the new SD card" section on
> <http://projects.goldelico.com/p/gta04-rootfs/> (ignoring the SD card
> partitioning mentioned there).
>
> But the old ./useful script failed with
>> Err http://qtmoko.sourceforge.net Packages
>> 404 Not Found
>> Hit http://qtmoko.sourceforge.net Packages
>> Fetched 491 B in 2s (218 B/s)
>> W: GPG error: http://qtmoko.sourceforge.net Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 91B27C1E1DC56A1F
>> W: Failed to fetch http://qtmoko.sourceforge.net/debian/gta04/Packages.gz 404 Not Found
Looks like some path issue. The Packages.gz file should be at
http://qtmoko.sourceforge.net/debian/Packages.gz
What I can’t tell immediately is where it is referenced from and how it did come into the /etc/apt/sources.list
>
> Where do I get this key?
AFAIK, Qtmoko does not provide public keys (but I may be wrong).
> Does this way of updating via the preinstalled old script work still at all?
>
> (apt-get upgrade then does fail, too, due to non-authentication of
> certain packages.)
I think there is an option of apt-get to ignore authentication errors.
And you could edit the /etc/apt/sources.list to have the right path.
And yes, the instructions appear to be outdated. Mainly, there is no
ts_calibrate any more. But the ./useful should still work. [Volunteers
to edit and update these pages are welcome!].
The recommended way to reinstall the boot system is to unpack
the right .dd image onto a fresh SD card:
http://download.goldelico.com/gta04/production/
To get the kernel / rootfs into NAND you should then boot and
run ./flash-nand
BR,
Nikolaus
More information about the Gta04-owner
mailing list