Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for Nano PC T4 #1

Closed
BillGatesMS opened this issue Jun 23, 2018 · 10 comments
Closed

Build for Nano PC T4 #1

BillGatesMS opened this issue Jun 23, 2018 · 10 comments

Comments

@BillGatesMS
Copy link

BillGatesMS commented Jun 23, 2018

Hello......could you please explain in a few words where i have to copy which files exactly, because i just dont get it.......completely lost the overview.....

here are the folders i got on my hdd

### Overview

main

### build-folder

build

### rockchip-folder

rokchip

### firefly-rk3399-folder

firefly

### Every folder has different content........what i have to do?

Which files i have to add to which folder?

1494687541137415936

@hjc4869
Copy link
Owner

hjc4869 commented Jun 24, 2018

Clone this repository on an Ubuntu 16.04 machine, run ./compile.sh and follow the Armbian build guide, and the script will download everything needed.
Don't bother with debian-stretch-firefly-rk3399, it's not related to Armbian at all. It's some of my personal early experiments with the Firefly RK3399 board.

@BillGatesMS
Copy link
Author

BillGatesMS commented Jun 24, 2018

Thanks mate!
But if i use Rockchip, theres only a RK3328 conf not RK3399......
Could you please tell me where i can get thge RK3399 conf?
Or do i just have to edit this one to 3399?

@hjc4869
Copy link
Owner

hjc4869 commented Jun 26, 2018

Checkout the development branch, there will be "firefly.conf" kernel configuration.
There are two WIP boards added: firefly-rk3399 and nanopct4, you can either select them in the menu, or ./compile.sh BOARD=nanopct4

@diglos
Copy link

diglos commented Jun 26, 2018

Hi @hjc4869,

first of all, thank you for your work :-)

I'm running into some trouble building the NanoPC-t4 Image (tried with your last commit from 2 hours ago). Compiling stops at u-boot stage with the following error:

Text Base (SYS_TEXT_BASE) [] (NEW) 
Error in reading or end of file.

It seems to me that SYS_TEXT_BASE variable is not assigned. Firefly-rk3399 image builds fine on the other hand.

I'm on a Vagrant environment using Ubuntu Bionic (I tried on Xenial with the same result).

Thanks!

@hjc4869
Copy link
Owner

hjc4869 commented Jun 26, 2018

@diglos That's because the nanopi4_defconfig is for the old u-boot, and recently I've updated the u-boot to mainline, so it's currently broken.

I'll try to fix it anyway.

@diglos
Copy link

diglos commented Jun 26, 2018

Ok, thanks!

@hjc4869
Copy link
Owner

hjc4869 commented Jun 26, 2018

7d9ff26
This should fix the u-boot compilation.

@diglos
Copy link

diglos commented Jun 26, 2018

It works now. Thanks!!!

@hanshaze
Copy link

hanshaze commented Jun 26, 2018

yes, thanks for sharing your knowledge and work with us @hjc4869 :) Thumbs up!
Think i got it --->
bildschirmfoto vom 2018-06-27 00-35-19
At least i think i have to run again and choose full os to flash to get an image....to lazy to research right now......maybe tomorrow, then i also have one of these new Type CDP cables to use
Best regards

UPDATE
bildschirmfoto vom 2018-06-27 01-40-00

thumbnail_img_0689

🤟😎👍

@BillGatesMS
Copy link
Author

BillGatesMS commented Jun 27, 2018

Oh, by the way.....for those who arent able to compile i have uploaded my image.....
just click here

Sheesh

hjc4869 pushed a commit that referenced this issue Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants