mirror of
				https://github.com/brain-hackers/buildbrain
				synced 2025-11-04 14:28:34 +09:00 
			
		
		
		
	add nkbin_maker
This commit is contained in:
		
							
								
								
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@@ -4,3 +4,6 @@
 | 
			
		||||
[submodule "linux-brain"]
 | 
			
		||||
	path = linux-brain
 | 
			
		||||
	url = https://github.com/brain-hackers/linux-brain
 | 
			
		||||
[submodule "nkbin_maker"]
 | 
			
		||||
	path = nkbin_maker
 | 
			
		||||
	url = https://github.com/brain-hackers/nkbin_maker.git
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@@ -60,6 +60,11 @@ lbuild:
 | 
			
		||||
uuu:
 | 
			
		||||
	sudo uuu ./u-boot-brain/u-boot.sb
 | 
			
		||||
 | 
			
		||||
.PHONY:
 | 
			
		||||
nkbin:
 | 
			
		||||
	make -C ./nkbin_maker
 | 
			
		||||
	./nkbin_maker/bsd-ce ./u-boot-brain/u-boot.bin
 | 
			
		||||
 | 
			
		||||
debian:
 | 
			
		||||
	mkdir debian
 | 
			
		||||
	sudo debootstrap --arch=armel --foreign buster debian/
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							@@ -3,7 +3,7 @@ buildbrain
 | 
			
		||||
 | 
			
		||||
This repository includes:
 | 
			
		||||
 | 
			
		||||
 - linux-brain and u-boot-brain as submodules
 | 
			
		||||
 - linux-brain, u-boot-brain and nkbin_maker as submodules
 | 
			
		||||
 - Useful build targets in Makefile
 | 
			
		||||
 - r3build.toml to watch changes that occur in submodules
 | 
			
		||||
 | 
			
		||||
@@ -53,6 +53,18 @@ Build and inject U-Boot
 | 
			
		||||
3. To inject the executable into i.MX283 in recovery mode, run `make uuu`.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Build and make NK.bin
 | 
			
		||||
-----------------------
 | 
			
		||||
 | 
			
		||||
1. Run `make udefconfig` to generate `.config`.
 | 
			
		||||
 | 
			
		||||
2. Run `make ubuild` to build whole repository and generate `u-boot.bin`.
 | 
			
		||||
 | 
			
		||||
    - nkbin_maker packs `u-boot.bin` into `nk.bin`.
 | 
			
		||||
 | 
			
		||||
3. To make `nk.bin`, run `make nkbin`.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Build Linux
 | 
			
		||||
-----------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								nkbin_maker
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								nkbin_maker
									
									
									
									
									
										Submodule
									
								
							 Submodule nkbin_maker added at f73a53f54c
									
								
							
		Reference in New Issue
	
	Block a user