Power & Source of Big Ideas

NanoPI NEO script.bin missing ?

Moderators: chensy, FATechsupport

HI all,

I'm using my NanoPI NEO board with this OS image: nanopi-neo-core-qte-sd4g.img. I want o to change some configurations in script.bin but there is no such file on the boot partition. Moreover there is no uImage file on the boot partition, only boot.img exist. I tried to put my modified script.bin file on the boot partition but it is not affecting any configurations. Is NanoPI NEO somehow different than other allwinner H3 boards in regards to script.bin ? How do I change it ?
So it appears that lately there was a commit to git hub repo that removed loading of script.bin by u-boot and changed loading uImage to boot.img:
repo: https://github.com/friendlyarm/h3_lichee
commit: 51b1389613c79cae401a16130b78dd9a2f35f28a

what does that mean ? Does the stuff configured by script.bin are now configured in different way ? what is boot.img ?

I added loading of script.bin to u-boot and it seems to work ok.
How did you added your script.bin to uboot? I'm trying to change the bootargs parameters but I'm not being able to because all I can see is the boot.img file and I don't know what to do with it. Could you post here your instructions on how you modified uboot please?

Thanks!
this is my printenv output:
baudrate=115200
boot_fastboot=fastboot
boot_mmc=0
boot_normal=fatload mmc 0:1 43000000 script.bin;fatload mmc 0:1 40007800 boot.img;boota 40007800
boot_recovery=sunxi_flash read 40007800 recovery;boota 40007800
bootcmd=run setargs_mmc boot_normal
bootdelay=1
console=ttyS0,115200
fbconsole=tty0
filesize=177038
fsck.repair=yes
init=/sbin/init
loglevel=8
mmc_root=/dev/mmcblk0p2
nand_root=/dev/nandd
selinux=0
setargs_mmc=setenv bootargs console=${console} console=${fbconsole} root=${mmc_root} rootwait storage_type=${storage_type} init=${init} loglevel=${loglevel} partitions=${partitions} selinux=${selinux} fsck.repair=${fsck.repair}
stderr=serial
stdin=serial
stdout=serial
storage_type=1

Who is online

In total there are 28 users online :: 0 registered, 0 hidden and 28 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 28 guests