Jump to content
eriamjh

Can we please get the u-boot source code for pcDuino8?

Recommended Posts

Hello,

 

I would really like to run Debian (and maybe other linux OSs) on my pcDuino8 Uno! However it is quite difficult (and frustrating) to try to reuse the u-boot binary from the begining of one of the android or ubuntu images.

 

Can the source for this boards u-boot please be made available?

 

Thank you!

Share this post


Link to post
Share on other sites

Hi youkee,

 

I have gone back and checked. Unfortunately I am still stuck. I can not find a single configuration that I am looking for. I only see ones for pcDuino (origional), pcDuino3, and pcDuino3 Nano.

pi@raspberrypi ~/pcduino3 $ git clone https://github.com/linux-sunxi/u-boot-sunxi.git -b sunxi u-boot-sunxi--sunxi
Cloning into 'u-boot-sunxi--sunxi'...

pi@raspberrypi ~/pcduino3 $ git clone git://git.denx.de/u-boot.git -b master u-boot--master
Cloning into 'u-boot--master'...

pi@raspberrypi ~/pcduino3/u-boot--master $ grep "uino" -R configs
configs/Linksprite_pcDuino_defconfig:CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-pcduino"
configs/Linksprite_pcDuino3_Nano_defconfig:CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3-nano"
configs/Linksprite_pcDuino3_defconfig:CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"

pi@raspberrypi ~/pcduino3/u-boot-sunxi--sunxi $ grep "uino" boards.cfg
Active arm arm926ejs kirkwood LaCie net2big_v2 net2big_v2 lacie_kw:NET2BIG_V2 Simon Guinot <simon.guinot@sequanux.org>
Active arm arm926ejs kirkwood LaCie netspace_v2 inetspace_v2 lacie_kw:INETSPACE_V2 Simon Guinot <simon.guinot@sequanux.org>
Active arm arm926ejs kirkwood LaCie netspace_v2 netspace_max_v2 lacie_kw:NETSPACE_MAX_V2 Simon Guinot <simon.guinot@sequanux.org>
Active arm arm926ejs kirkwood LaCie netspace_v2 netspace_v2 lacie_kw:NETSPACE_V2 Simon Guinot <simon.guinot@sequanux.org>
Active arm armv7 sunxi - sunxi Iteaduino_Plus_A10 sun4i:ITEADA10,SPL,SUNXI_EMAC,STATUSLED=244,STATUSLED1=245 -
Active arm armv7 sunxi - sunxi Iteaduino_Plus_A20 sun7i:ITEADA20,SPL,SUNXI_EMAC,STATUSLED=244,STATUSLED1=245 -
Active arm armv7 sunxi - sunxi Linksprite_pcDuino3 sun7i:LINKSPRITE_PCDUINO3,SPL,SUNXI_GMAC,FAST_MBUS -
Active arm armv7 sunxi - sunxi pcDuino sun4i:PCDUINO,SPL,SUNXI_EMAC -

As you can see, I am only able to retrieve configurations for the pcDuino, pcDuino3, and pcDuino3 Nano presently. Could you point me to the configurations for the H3, H8, A80 boards?

 

What am I missing?

 

Thank again. :)

 

P.S. I have asked another, related question about the pcDuino3 Nano Lite's GMAC issues at the following link. Its similar to this issue. http://forum.linksprite.com/index.php?/topic/4397-what-changes-need-to-be-made-to-gmac-configuration-for-pcduino3-nano-lite/

Share this post


Link to post
Share on other sites

That is what I thought. I have not heard of any releases except the A83T Testboard sources.

 

http://linux-sunxi.org/Allwinner_A83TDevBoard

 

The Busybox testboard image does work on the pcDuino8 STB and Uno. It will require some effort to repartition it (MBR and Fastboot.)

 

https://drive.google.com/folderview?id=0B69nccFU18R0fmlIVzROZ1ludXRiN1ZGMVNpZEM0dERneU5tcEdnclduNWdhSDg4SkFDNDA&usp=sharing

 

Looking forward to what you come up with!

Share this post


Link to post
Share on other sites

As I know, allwinner hasn't released uboot codes for uno yet. Nether supported by sunxi open source community.

For H3 uboot you can check it here:

https://github.com/loboris/OrangePI-Kernel

 

I'm also trying to build my own rootfs on UNO, and I'll write a how-to after it's done.

 

nightseas,

 

May we get a progress update on where you are with the UNO you are working on?  Was your reference to a link for H3 Orange Pi kernel an indication you were using the one from loboris?

 

thanks,

-steph

Share this post


Link to post
Share on other sites

Hi,All Allwinner SoC use u-boot-sunxi as bootloader, please read the following website to get more information and source code:

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

 

 

That's pretty useless since Allwinner provides hardware vendors with another variant of a 'BSP' for H3 and A83T/H8/R58 (all being the same more or less but featuring different SoC IDs). The Linksprite people do have these sources but refrain from publishing it. Easy conclusion: Avoid any Linksprite product unless this is fixed.

 

It seems the way they use the BSP is that they didn't update u-boot therefore you end up with sys_config.fex being 'compiled' into u-boot and script.bin never read (same as with Banana Pi M3). That means if you want to change anything that is related to sys_config.fex you would've to rebuild the whole BSP and overwrite a few sectors on the image or SD card afterwards.

 

Apart from that: Choosing micro USB for DC-IN with such a powerful SoC is wrong. In case you do not use heatsink and fan you may not realise the problem (thermal throttling will prevent the CPU cores from clocking too high) but if you do so you will experience sudden power-offs under high load. Well known problem: http://linux-sunxi.org/Banana_Pi_M3#Sudden_shut_offs_.2F_maximum_consumption_.2F_cooling_vs._consumption

 

To get an idea what's going on it's convenient to install RPi-Monitor and use my template for A83T

Share this post


Link to post
Share on other sites
Guest Henry

Hi youkee:

 

It seems Pcduino uno to have no update image since 2016 Jan. Is this produce out of life cycle? Should I switch to use orange pi?

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×