RTEMS | powerpc/beatnik: Convert MOTLoad GEV variables into env variables (!1276)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Jun 17 01:09:40 UTC 2026




Gedare Bloom started a new discussion on bsps/powerpc/shared/start/motload-gev-net-env.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152551

 > +      }
 > +      *(nfs_export - 1) = ':';
 > +      setenv("RTEMS_NFS_MOUNT_PATH", nfs_server, 1);
 > +    } else {
 > +      printf("error: GEV epics-script: no server delimiter found\n");
 > +    }
 > +  }
 > +}
 > +
 > +void motload_gev_set_net_envs(uintptr_t nvram_base, const size_t unit,
 > +                              const char* label) {
 > +  /*
 > +   * The boot script is parsed for `tftpGet` settings -s -g and -m
 > +   * and the values are used if there are no explictic names set.
 > +   */
 > +  char var[256];

nit: this seems overprovisioned? You probably only need about 40 bytes.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152551
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260617/3de0cfc4/attachment.htm>


More information about the bugs mailing list