Jump to content

hanni76

Members
  • Posts

    133
  • Joined

  • Last visited

Everything posted by hanni76

  1. I have finally ended up with the following patch: diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 9b514ff..a09a3da 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -518,6 +518,7 @@ extern int soft_i2c_gpio_scl; #endif #define CONFIG_EXTRA_ENV_SETTINGS \ + "silent=1\0" \ CONSOLE_ENV_SETTINGS \ MEM_LAYOUT_ENV_SETTINGS \ DFU_ALT_INFO_RAM \ @@ -532,4 +533,8 @@ extern int soft_i2c_gpio_scl; #define CONFIG_EXTRA_ENV_SETTINGS #endif +#define CONFIG_SILENT_CONSOLE +#define CONFIG_SYS_DEVICE_NULLDEV +#define CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC + #endif /* _SUNXI_COMMON_CONFIG_H */
  2. OK, seems like /etc/init.d/firstrun is the file I need to look at. Thanks anyway for your answer!
  3. Well.. but there is nothing about removing start-up questions. Did you read my topic to the end ?
  4. Hello guys I need instructions on how to skip mandatory steps during first load when Armbian requires to login as root and use password 1234. What I need is to have pi account created automatically during sd-image build (with a custom password) and assigned a predefined set of groups. I want Armbian start and auto-login with pi account and run my linuxfb-based full-screen application. It seems like customize-image.sh is the right place to create a new account on target image. But how can I disable that startup poll to create a new user, change password, etc? Thanks
  5. I tried to compile QT5 from customize-image.sh using target gcc but it is way too slow than normal cross-compile using linaro toolchain... And so I am going to stick with linaro cross-compile. Can you give me an advice about the following scenario. I want to cross-compile QT5 from customize-image-host.sh script, i.e. git clone and make (with linaro toolchain) in userpatches directory, then copy binaries to userpatches/overlay and install to target fs from customize-image.sh script. So far so good but I in order to build QT5 I need a device SYSROOT (/usr/lib, /usr/include, etc) which is not prepared yet when customize-image-host.sh is executed. SYSROOT is prepared with customize-image.sh and it does not contain all required libs & headers when customize-image-host.sh is executed.
  6. I want to build QT5 in chroot and then install it to /usr/local. Ok, so I can create a folder like /tmp/build, git clone there, build and install, right ? All this can be done from customize-image.sh ?
  7. Hello guys, There is an issue in build framework that makes impossible building my custom kernel for sun6i without changing your code. In the file sunxi_common.inc the variable LINUXFAMILY is forced to "sunxi" (unless it is sun8i) and my custom file userpatches/sources/sun6i.conf is not included. Of course I can hack sunxi_common.inc but much better if you make sort of correction for this issue. Thanks
  8. Hello again, I tried like you said but it didn't work. My custom directory that I created in userpatches is not visible in /tmp during build, there are only customize-image and overlay folder visible. I can use customize-image-host.sh to mount my own dir without readonly bu there is no way to unmount it without changing compilation.sh. Not sure if is critical to unmount it. Any suggestions ? Thanks
  9. Hello guys, is it possible to build custom source code in customize-image.sh ? Seems like /tmp/overlay is read-only, can I use another location to git clone my source code, make and install in target file system ? My idea is to build & deploy sources using native gcc compiler. Thanks
  10. Hello, guys, please help setup HDMI output to 480x320 in mainline kernel for BananaPi M2. I am using 3.5inch HDMI display, it is working fine but my current resolution is too high. All attempts to change disp_mode in armbianEnv.txt didn't help. Thanks
  11. If I replace boot.cmd in customize-image.sh will *.scr file be built too ?
  12. Thanks for the answer.. But it seems like I can't go that way. I need to disable console and I thought I would be able to do that by setting console=null but after analyzing boot.cmd I see that it is not possible. So now the question is: how can I disable console so that boot messages are not displayed and login prompt is not visible ? I should be able to only login by ssh. I need to run a linuxfb application and so I don't need the console.
  13. Hello guys is there a way to customize boot.cmd without changing any git-controlled files ? For example, I would like to setenv console to null. I found the file lib/config/bootenv/sunxi-default.txt but I have no idea how to override it in my userpaches folder. Thanks
  14. Hello guys can you teach please how to update Armbian's kernel on my device without replacing whole SD image ? thank you
  15. I still think there should be a more flexible way to enable sun5i, sun6i, etc specific builds without changing sunxi_common.inc file... When I change default script files I always get annoying warnings.
  16. ok, I see... Can you explain, please, how build framework decide which board dts file should be used as default for resulting image ?
  17. Yes, I am talking about mainline... Looks like "linuxfamily" is forcibly set to "sunxi" instead of "sun6i".. Do you think it is correct ? How will you handle device tree dts compilation for bananapi then ? I think sunxi_common.inc has to be changed ... Otherwise we can't handle sun5i, sun6, sun7i etc
  18. Where should I override it ? in lib/config/sources/ files? I also noticed that sun6i.conf is not applied for banana pi m2 while it should..
  19. Hi guys setting variables like MAINLINE_KERNEL_SOURCE in userpatches/lib.config does not change anything in the build. Is this fine ? What is the correct place to update this variable ? Thanks
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines