[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#871792: flash-kernel: please add support for Golden Delicious GTA04 phone



On 2017-08-11, Josua Mayer wrote:
> Please add support for above mentioned phone.
> Since debian armmp kernel 4.9.13-1 the board is reasonably well supported, 
> though charging isn't working, which is why I use a custom kernel here.
>
> It comes with a downstream u-boot variant based on 2016.11.
> For the sake of simplicity, it is reasonable to expect that there is a 
> vendor-provided u-boot binary already installed in nand flash. 
> It looks for a boot.scr on any MBR partition on the microSD card
> (there is a boot menu available), and executes it if found.
> I am pretty sure the current vendor boot-script does not set the expected 
> distro_bootpart, and related variables but we can add the necessary pieces 
> as they come up!

Can you include the output from the u-boot prompt of "printenv" ? This
would be necessary to figure out what might need to go into a boot
script.


> More details:
> There are several iterations of the GTA04, and of its early prototypes.
> U-Boot auto-detects at least all those that were shipped to customers, 
> and sets fdtfile variable as appropriate. This is the list of DTBs included 
> with linux-image-4.9.0-3-armmp:
> /usr/lib/linux-image-4.9.0-3-armmp/omap3-gta04a3.dtb
> /usr/lib/linux-image-4.9.0-3-armmp/omap3-gta04a4.dtb
> /usr/lib/linux-image-4.9.0-3-armmp/omap3-gta04a5.dtb

It looks like the models for those are:

arch/arm/boot/dts/omap3-gta04a3.dts:    model = "Goldelico GTA04A3";
arch/arm/boot/dts/omap3-gta04a4.dts:    model = "Goldelico GTA04A4";
arch/arm/boot/dts/omap3-gta04a5.dts:    model = "Goldelico GTA04A5";

So an entry like:

Machine: Goldelico GTA04A3
DTB-Id: omap3-gta04a3.dtb

Would get the dtb files copied where they go.

More information would be needed to write a boot script for this.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: