Page 1 of 1
NanoPI NEO script.bin missing ?
Posted: Mon Mar 13, 2017 12:57 pm
by rozpruwacz
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 ?
Re: NanoPI NEO script.bin missing ?
Posted: Thu Mar 16, 2017 3:35 pm
by rozpruwacz
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_licheecommit: 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.
Re: NanoPI NEO script.bin missing ?
Posted: Thu Mar 23, 2017 5:09 pm
by thiagoralves
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!
Re: NanoPI NEO script.bin missing ?
Posted: Fri Jun 02, 2017 8:08 am
by rozpruwacz
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