[linux-sunxi] Request for additions to documents

2016-05-21 Thread markdamerell via linux-sunxi

The "documents" are the manual build howto & other howtos 
that this refers to.

1. Git. I believe that Git will work best if new users are
willing to adopt good habits from the beginning. They can 
only do this if they are told what the correct practices 
are. So I ask that the howto should point new users at
an introduction to Git.

2. Installing on SD card. This howto assumes that you have 
connected the card to Linux on another machine. But I cannot 
see anything to show how you are to make this connection.

3. Backups. If things go wrong, you may well find that you
cannot boot Linux (for reasons unknown) or Android (because
you have over-written it). The Howtos should explain how to 
make a backup and how to recover. 

4. If you install Linux and it works, you then need a 
different set of instructions for recovery. Before you began,
the card probably contained a mixture of Android apps (now
useless) and user data (useful). You need to know how to
separate these and recover only the data.

Thank you, Mark

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Problem compiling u-boot for Ippo-q8h

2016-05-14 Thread markdamerell via linux-sunxi
On Saturday, May 14, 2016 at 3:56:55 PM UTC+1, Hans de Goede wrote:
> Hi,
> 
> On 14-05-16 16:36, markdamer...@googlemail.com wrote:
> > On Saturday, May 14, 2016 at 1:39:47 PM UTC+1, Hans de Goede wrote:
> >> Hi,
> >>
> >> On 14-05-16 12:23, markdamer...@googlemail.com wrote:
> >>> On Saturday, May 14, 2016 at 10:09:49 AM UTC+1, Hans de Goede wrote:
> >>>> Hi,
> >>>>
> >>>> On 14-05-16 00:01, markdamerell via linux-sunxi wrote:
> >>>>>
> >>>>> I am trying to install sunxi on my tablet, using the
> >>>>> procedure in:
> >>>>>
> >>>>> http://linux-sunxi.org/U-Boot#Compile_U-Boot
> >>>>>
> >>>>> On my PC running L-Ubuntu 14.04:
> >>>>>
> >>>>> make CROSS_COMPILE=arm-linux-gnueabihf- Ippo_q8h_config
> >>>>> make CROSS_COMPILE=arm-linux-gnueabihf-
> >>>>>
> >>>>> No error was reported. This produces u-boot.img
> >>>>> but *not*  spl/sunxi-spl.bin
> >>>>>
> >>>>> The only file in the spl subdirectory is   Makefile
> >>>>>
> >>>>> I re-tried with a different build   bananapi
> >>>>> (chosen at random) and this time it built several
> >>>>> things in the  ..spl  subdirectory .
> >>>>>
> >>>>> then   make clean   does  **not** delete these.
> >>>>> cd  spl ; make clean produces some errors and
> >>>>> I dont think it deletes anything.
> >>>>>
> >>>>> Please any advice? Thank you.
> >>>>
> >>>> The Ippo_q8h config has been replaced by generic q8h
> >>>> configs, use either:
> >>>>
> >>>> q8_a13_tablet
> >>>> q8_a23_tablet_800x480
> >>>> q8_a33_tablet_800x480
> >>>> q8_a33_tablet_1024x600
> >>>>
> >>>> Appended with _defconfig, depending on which describes your tablet best.
> >>>>
> >>>> Regards,
> >>>>
> >>>> Hans
> >>>
> >>> But none of the  q8h  configs that you mentioned is in the list
> >>> of available build targets. If I try one:
> >>>
> >>> make CROSS_COMPILE=arm-linux-gnueabihf- q8_a23_tablet_800x480_config
> >>> make: *** No rule to make target `q8_a23_tablet_800x480_config'.  Stop.
> >>>
> >>> BTW I think I cloned the GIT repository on May 11.
> >>
> >> You need to use _defconfig, e.g.:
> >>
> >> make CROSS_COMPILE=arm-linux-gnueabihf- q8_a23_tablet_800x480_defconfig
> >>
> >> Regards,
> >>
> >> Hans
> >
> > I copied that line out of the message into a terminal and got the same 
> > error:
> >
> > $ make CROSS_COMPILE=arm-linux-gnueabihf- q8_a23_tablet_800x480_defconfig
> > make: *** No rule to make target `q8_a23_tablet_800x480_defconfig'. Stop.
> 
> Works for me:
> 
> [hans@shalem u-boot]$ make CROSS_COMPILE=arm-linux-gnueabihf- 
> q8_a23_tablet_800x480_defconfig
>HOSTCC  scripts/basic/fixdep
>HOSTCC  scripts/kconfig/conf.o
>HOSTCC  scripts/kconfig/zconf.tab.o
>HOSTLD  scripts/kconfig/conf
> #
> # configuration written to .config
> #
> [hans@shalem u-boot]$
> 
> Which u-boot git repo are you using, note that the linux-sunxi one is
> hopelessly out of date. sunxi support has been in upstream u-boot for
> quite a while now, so you should use the official git.denx.de u-boot
> repo.
> 
> Regards,
> 
> Hans

Thank you, you have solved my problem. I looked at the list of devices 
supported by mainline/upstream sunxi & couldnt see anything that looked
like my tablet, so I cloned the legacy repo. I have now restarted with 
the  git.denx.de   repo * .  It compiled and produced the   .bin  file.

Thank you, Mark

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Problem compiling u-boot for Ippo-q8h

2016-05-14 Thread markdamerell via linux-sunxi
On Saturday, May 14, 2016 at 1:39:47 PM UTC+1, Hans de Goede wrote:
> Hi,
> 
> On 14-05-16 12:23, markdamer...@googlemail.com wrote:
> > On Saturday, May 14, 2016 at 10:09:49 AM UTC+1, Hans de Goede wrote:
> >> Hi,
> >>
> >> On 14-05-16 00:01, markdamerell via linux-sunxi wrote:
> >>>
> >>> I am trying to install sunxi on my tablet, using the
> >>> procedure in:
> >>>
> >>> http://linux-sunxi.org/U-Boot#Compile_U-Boot
> >>>
> >>> On my PC running L-Ubuntu 14.04:
> >>>
> >>> make CROSS_COMPILE=arm-linux-gnueabihf- Ippo_q8h_config
> >>> make CROSS_COMPILE=arm-linux-gnueabihf-
> >>>
> >>> No error was reported. This produces u-boot.img
> >>> but *not*  spl/sunxi-spl.bin
> >>>
> >>> The only file in the spl subdirectory is   Makefile
> >>>
> >>> I re-tried with a different build   bananapi
> >>> (chosen at random) and this time it built several
> >>> things in the  ..spl  subdirectory .
> >>>
> >>> then   make clean   does  **not** delete these.
> >>> cd  spl ; make clean produces some errors and
> >>> I dont think it deletes anything.
> >>>
> >>> Please any advice? Thank you.
> >>
> >> The Ippo_q8h config has been replaced by generic q8h
> >> configs, use either:
> >>
> >> q8_a13_tablet
> >> q8_a23_tablet_800x480
> >> q8_a33_tablet_800x480
> >> q8_a33_tablet_1024x600
> >>
> >> Appended with _defconfig, depending on which describes your tablet best.
> >>
> >> Regards,
> >>
> >> Hans
> >
> > But none of the  q8h  configs that you mentioned is in the list
> > of available build targets. If I try one:
> >
> > make CROSS_COMPILE=arm-linux-gnueabihf- q8_a23_tablet_800x480_config
> > make: *** No rule to make target `q8_a23_tablet_800x480_config'.  Stop.
> >
> > BTW I think I cloned the GIT repository on May 11.
> 
> You need to use _defconfig, e.g.:
> 
> make CROSS_COMPILE=arm-linux-gnueabihf- q8_a23_tablet_800x480_defconfig
> 
> Regards,
> 
> Hans

I copied that line out of the message into a terminal and got the same error:

$ make CROSS_COMPILE=arm-linux-gnueabihf- q8_a23_tablet_800x480_defconfig
make: *** No rule to make target `q8_a23_tablet_800x480_defconfig'. Stop.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Problem compiling u-boot for Ippo-q8h

2016-05-14 Thread markdamerell via linux-sunxi
On Saturday, May 14, 2016 at 10:09:49 AM UTC+1, Hans de Goede wrote:
> Hi,
> 
> On 14-05-16 00:01, markdamerell via linux-sunxi wrote:
> >
> > I am trying to install sunxi on my tablet, using the
> > procedure in:
> >
> > http://linux-sunxi.org/U-Boot#Compile_U-Boot
> >
> > On my PC running L-Ubuntu 14.04:
> >
> > make CROSS_COMPILE=arm-linux-gnueabihf- Ippo_q8h_config
> > make CROSS_COMPILE=arm-linux-gnueabihf-
> >
> > No error was reported. This produces u-boot.img
> > but *not*  spl/sunxi-spl.bin
> >
> > The only file in the spl subdirectory is   Makefile
> >
> > I re-tried with a different build   bananapi
> > (chosen at random) and this time it built several
> > things in the  ..spl  subdirectory .
> >
> > then   make clean   does  **not** delete these.
> > cd  spl ; make clean produces some errors and
> > I dont think it deletes anything.
> >
> > Please any advice? Thank you.
> 
> The Ippo_q8h config has been replaced by generic q8h
> configs, use either:
> 
> q8_a13_tablet
> q8_a23_tablet_800x480
> q8_a33_tablet_800x480
> q8_a33_tablet_1024x600
> 
> Appended with _defconfig, depending on which describes your tablet best.
> 
> Regards,
> 
> Hans

But none of the  q8h  configs that you mentioned is in the list 
of available build targets. If I try one:

make CROSS_COMPILE=arm-linux-gnueabihf- q8_a23_tablet_800x480_config
make: *** No rule to make target `q8_a23_tablet_800x480_config'.  Stop.

BTW I think I cloned the GIT repository on May 11.

Mark

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Problem compiling u-boot for Ippo-q8h

2016-05-14 Thread markdamerell via linux-sunxi

I am trying to install sunxi on my tablet, using the
procedure in:

http://linux-sunxi.org/U-Boot#Compile_U-Boot

On my PC running L-Ubuntu 14.04:

make CROSS_COMPILE=arm-linux-gnueabihf- Ippo_q8h_config 
make CROSS_COMPILE=arm-linux-gnueabihf-

No error was reported. This produces u-boot.img 
but *not*  spl/sunxi-spl.bin

The only file in the spl subdirectory is   Makefile

I re-tried with a different build   bananapi  
(chosen at random) and this time it built several 
things in the  ..spl  subdirectory .

then   make clean   does  **not** delete these.
cd  spl ; make clean produces some errors and 
I dont think it deletes anything.

Please any advice? Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.