bootloader - Could OpenWrt run on barebox? -



bootloader - Could OpenWrt run on barebox? -

could openwrt run on barebox is there portable application framework on top of uboot/barebox? source code indepent low-level hardware.

absolutely possible. i've been using barebox main bootloader imx25 soc. there no barebox in public packages though(i've never met it), can build own "bootloader-barebox" package. follow these links: https://vivekian2.wordpress.com/2007/03/28/building-your-own-package-for-openwrt/ http://prplfoundation.org/wiki/creating_an_openwrt_package_for_a_web_page

i'm not sure framework, know can create application. http://www.denx.de/wiki/view/dulg/ubootstandalone

here illustration of makefile barebox:

# # copyright (c) 2013 openwrt.org # # free software, licensed under gnu general public license v2. # see /license more information. # include $(topdir)/rules.mk include $(include_dir)/kernel.mk pkg_name:=barebox pkg_version:=0.1 pkg_release:=0 pkg_build_dir:=$(kernel_build_dir)/$(pkg_name)-$(build_variant)/$(pkg_name) pkg_source:=$(pkg_name).tar.bz2 pkg_source_proto:=git pkg_source_url:=git-url pkg_source_version:=93aeafd04365cdd5dcb958cc6982c672163154ee pkg_source_subdir:=$(pkg_name) pkg_md5sum:= pkg_targets:=bin include $(include_dir)/package.mk define barebox/default title:= config:= image:= endef define package/barebox/template define package/barebox-$(1) section:=boot category:=boot loaders title:=$(2) depends:=@target_$(1) url:=http://localhost/ default:=y if (target_$(1)_default) variant:=$(1) endef endef define buildbareboxpackage $(eval $(barebox/default)) $(eval $(barebox/$(1))) $(call package/barebox/template,$(1),$(title)) endef define barebox/imx title:=barebox imx. endef bareboxs:=imx ifdef build_variant $(eval $(call barebox/$(build_variant))) barebox_config:=$(if $(config),$(config),$(build_variant)) barebox_image:=$(if $(image),$(image),openwrt-$(board)-$(build_variant)-barebox.bin) endif define build/prepare $(call build/prepare/default) endef define build/configure $(cp) ./barebox-config $(pkg_build_dir)/.config endef define build/compile $(make) -c $(pkg_build_dir) \ cross_compile=$(target_cross) arch=arm endef define package/barebox/install/template define package/barebox-$(1)/install $(cp) $(pkg_build_dir)/barebox.bin $(bin_dir)/$(2) endef endef $(foreach u,$(bareboxs), \ $(eval $(call package/barebox/install/template,$(u),openwrt-$(board)-$(u)-barebox.bin)) \ ) $(foreach u,$(bareboxs), \ $(eval $(call buildbareboxpackage,$(u))) \ $(eval $(call buildpackage,barebox-$(u))) \ )

bootloader openwrt

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -